/* Geral */
body {
  margin: 0;
  background-color: #f4ede3;
  font-family: Arial, sans-serif;
  color: #3a2f2f;
}

/* Seção Capa */
.hero {
  position: relative;
  height: 100vh;
  background: url('capa.jpg') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  padding: 0 10px;
  box-sizing: border-box;
}

.titulo-nome {
  font-size: 3.5rem;
  margin: 0;
}

.pena-decorativa {
  width: 60px;
  margin: 20px 0;
}

.subtitulo {
  font-size: 2rem;
  margin: 0 0 30px;
}

/* Menu inferior - botões */
.menu-inferior {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* permite quebrar linha no mobile */
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-inferior a {
  border: 1px solid white;
  border-radius: 20px;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
  display: inline-block;
}

.menu-inferior a:hover {
  background-color: white;
  color: #3a2f2f;
}

/* Ajustes para telas pequenas */
@media (max-width: 480px) {
  .menu-inferior a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .titulo-nome {
    font-size: 2.5rem;
  }

  .subtitulo {
    font-size: 1.5rem;
  }
}

/* Seção Sobre Mim */
.sobre-mim,
.custom-about-me {
  padding: 60px 10%;
}

.container-sobre,
.custom-about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.foto-sobre img,
.custom-photo-about img {
  width: 100%;
  max-width: 320px;
  border-radius: 10px 40px 40px 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(58, 47, 47, 0.3);
}

.texto-sobre,
.custom-text-about {
  max-width: 700px;
  line-height: 1.6;
  font-size: 1rem;
  color: #3a2f2f;
}

.texto-sobre .meet-your,
.custom-text-about .custom-meet-your {
  font-weight: 700;
  font-size: 0.9rem;
  color: #6b4b39;
  margin-bottom: 5px;
  letter-spacing: 1.2px;
}

.texto-sobre h2,
.custom-text-about h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 3.2rem;
  font-weight: 400;
  margin: 0 0 20px 0;
  color: #6b4b39;
}

.texto-sobre p,
.custom-text-about p {
  white-space: pre-line;
}

/* Seção Serviços */
.servicos-imagem,
.custom-services-image {
  padding: 40px 0;
  text-align: center;
}

.imagem-centralizada,
.custom-centered-image {
  max-width: 90%;
  height: auto;
}

.outra-servico img,
.custom-other-service img {
  width: 100%;
  height: auto;
  display: block;
}

/* Seção Contato */
.contato,
.custom-contact {
  padding: 60px 10%;
}

.container-contato,
.custom-contact-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Links do contato */
.texto-sobre a,
.custom-text-about a {
  color: #6b4b39;
  text-decoration: underline;
}

/* Ajustes adicionais para mobile */
@media (max-width: 768px) {
  .container-sobre,
  .custom-about-container,
  .container-contato,
  .custom-contact-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container-contato, 
  .custom-contact-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 5%;
  }

  .foto-contato img,
  .custom-photo-contact img {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(58, 47, 47, 0.3);
  }

  .texto-sobre, 
  .custom-text-about {
    max-width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .texto-sobre h2,
  .custom-text-about h2 {
    font-size: 2.5rem;
  }
}

/* Botão para topo */

.btn-voltar {
  display: inline-block;
  background-color: #6b4b39;
  color: white;
  border: 2px solid #6b4b39;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s, color 0.3s;
  margin-top: 20px;
}

.btn-voltar:hover {
  background-color: white;
  color: #6b4b39;
  border-color: #6b4b39;
}

