/* Estilo geral */
body {
  margin: 0;
  font-family: 'Pathway Gothic One', sans-serif;
  background-color: #f4eed8;
  color: #333;
  text-transform: uppercase;
}

/* Cabeçalho */
header {
  background-color: #94552f;
  padding: 25px 0;
  text-align: center;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav ul li {
  display: inline;
  margin: 0 25px;
}

header nav ul li a {
  letter-spacing: 3px;
  color: #f4eed8;
  text-decoration: none;
  font-size: 20px;
}

header nav ul li a:hover {
  text-decoration: underline;
}

/* Ajuste de tamanho do menu para telas pequenas */
@media (max-width: 480px) {
  header nav ul li a {
    font-size: 16px; /* tamanho menor para celular */
    margin: 0 12px;  /* espaçamento proporcional */
    letter-spacing: 2px;
  }
}

/* Hero */
.hero {
  position: relative;
  text-align: right;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sobre */
.sobre {
  padding: 50px 10%;
}

.sobre-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.sobre-container img {
  width: 300px;
  height: auto;
  border-radius: 0;
}

.sobre-texto {
  max-width: 600px;
}

.sobre-texto h3 {
  font-size: 28px;
  color: #767349;
  margin-bottom: 15px;
}

.sobre-texto p {
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Projetos */
.projetos {
  background-color: #767349;
  padding: 100px 10%;
  text-align: center;
  overflow: hidden;
}

.projetos h3 {
  font-size: 32px;
  color: #f4eed8;
  margin-bottom: 50px;
  letter-spacing: 3px;
}

/* Galeria com rolagem automática */
.projetos-galeria {
  display: flex;
  gap: 25px;
  animation: deslizar 50s linear forwards;
}

.projetos-galeria img {
  width: 320px;
  height: auto;
  border-radius: 0;
  flex-shrink: 0;
}

@keyframes deslizar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-4510px);
  }
}

.portfolio-link {
  display: block;
  margin-top: 40px;
  color: #f4eed8;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 2px;
}

.portfolio-link:hover {
  text-decoration: underline;
}

/* Descritivo (Tipologias) */
.descritivo {
  background-color: #f4eed8;
  color: #767349;
  padding: 70px 10%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.descritivo h3 {
  font-size: 32px;
  margin-bottom: 25px;
  letter-spacing: 3px;
}

.tipologia {
  width: 100%;
  margin: 5px 0;
  padding: 8px 0;
  text-align: left;
}

.tipologia h4 {
  font-size: 21px;
  margin-bottom: 4px;
}

.tipologia p {
  font-size: 15px;
  line-height: 1.3;
}

/* Alternar esquerda e direita */
.tipologia.left {
  align-self: flex-start;
}

.tipologia.right {
  align-self: flex-end;
}

@media (min-width: 768px) {
  .descritivo {
    flex-direction: column;
  }

  .tipologia {
    width: 45%;
  }
}

/* Contato */
.contato {
  background-color: #94552f;
  color: #f4eed8;
  padding: 50px 10%;
  text-align: center;
}

.contato h3 {
  font-size: 28px;
  color: #f4eed8;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

button[type="submit"] {
  background-color: #94552f;
  color: #f4eed8;
  border: none;
  padding: 12px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 2px;
}

button[type="submit"]:hover {
  background-color: #7a4125;
}

/* Botões lado a lado */
.botoes-contato {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.whatsapp-btn,
.orcamento-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 2px;
  font-family: 'Pathway Gothic One', sans-serif;
  text-transform: uppercase;
}

/* WhatsApp */
.whatsapp-btn {
  background-color: #25D366;
  color: #ffffff;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

/* Orçamento */
.orcamento-btn {
  background-color: #f4eed8;
  color: #94552f;
}

.orcamento-btn:hover {
  background-color: #e6dfc8;
}

/* Rodapé */
footer {
  background-color: #767349;
  color: #f4eed8;
  text-align: center;
  padding: 20px 10%;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: none;
  font-family: 'Pathway Gothic One', sans-serif;
}
