body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f5f0;
  color: #2d1e0f;
}

header {
  background-color: #3e2614;
  padding: 20px;
  position: relative;
  text-align: center;
  color: white;
  min-height: 150px;
  overflow: hidden; 
}

header .logo {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 150px; 
}

header h1 {
  margin: 50;
  font-size: 38px;
  color: white;
}

header p {
  margin: 0;
  font-size: 26px;
  color: white;
}

nav {
  background: #a25f2a;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  background: #8c4e1d;
}

main {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 40px;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.galeria img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.botao {
  display: inline-block;
  background: #a25f2a;
  color: white;
  padding: 12px 24px;
  margin: 10px 10px 0 0;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.botao:hover {
  background: #8c4e1d;
}

footer {
  background: #3e2614;
  color: white;
  text-align: center;
  padding: 15px;
}

@media (max-width: 600px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 120px;
  }

  header .logo {
    position: static;
    margin-bottom: 10px;
    height: 120px;
  }

  header h1 {
    font-size: 26px;
  }

  header p {
    font-size: 16px;
  }
}
