/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    
    font-family: 'Sweet Sans Pro', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    
}

/* Galeria */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 500px;
    /* Ajuste a altura conforme necessário */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
}

/* Botões de navegação */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.4s;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Indicadores */
.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f6ebcf;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}

.dot.active,
.dot:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Barra de navegação */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 19, 19, 0.959);
    z-index: 10;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    padding: 10px 20px;
}

#header .logo img {
    height: 100px;
    
}

#navbar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

#navbar ul li {
    margin: 0 15px;
}

#navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

#navbar ul li a:hover {
    color: #f6ebcf;
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.s ease-out;
}




.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Overlay escuro */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    animation: fadeInOverlay 2s ease-in-out forwards;
}

/* Conteúdo */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    opacity: 0;
    animation: fadeInText 2s ease-in-out forwards 1s;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
}

/* Botões de navegação */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    border-radius: 50%;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.4s;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}



/* Indicadores */
.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f6ebcf;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}

.dot.active,
.dot:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Seções */
.section {
    scroll-margin-top: 145px;
    padding: 50px 20px;
    text-align: center;
    font-size: 15px;
    background-color: #f3e9d0;
    color: #29333f;
    box-shadow: #676c749d 0px 0px 50px 0px;
}


.section:nth-child(even) {
    background-color: #d4b8ab;

}


  

/* Galeria */
.gallery {
    scroll-margin-top: 100px;
    padding: 50px 20px;
    text-align: center;
    background-color: #f3e9d0;
    color: #29333f;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    justify-items: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 8px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Modal de Imagem */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: #f6ebcf;
}


.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

/* Ícones */
.social-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: gray;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulsar 2s infinite;
    cursor: pointer;
}

.social-icon a {
    color: white;
    font-size: 30px;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section .map-container {
    scroll-padding: 20px;
    padding: 20px 0px; 
      
}

/* Gradiente individual para cada rede */
#whatsapp {
    background: linear-gradient(45deg, #75f84d, #2be26e, #0a4e46);
}

#instagram {
    background: linear-gradient(45deg, #ff7c10, #C13584, #b651fa);
}

#tiktok {
    background: linear-gradient(45deg, #000000, #333333, #69C9D0);
    /* gradiente discreto e elegante */
}


/* Estilo do texto */
.text {
    position: absolute;
    right: 70px;
    background: #333;
    padding: 8px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    animation: aparecer 6s forwards;
    pointer-events: none;
}

/* Cascata: atraso diferente para cada rede */
#whatsapp .text {
    animation-delay: 0s;
}

#instagram .text {
    animation-delay: 2s;
}

#tiktok .text {
    animation-delay: 4s;
}




/* Quando passar o mouse no ícone: remove animação automática e coloca nova sem delay */
.social-icon:hover .text {
    animation: none;
    /* Remove a animação atual */
    opacity: 1;
    transform: translateX(0);
    animation: aparecer-hover 2s forwards;
    /* Aplica nova animação sem delay */
}

/* Animação do hover */
@keyframes aparecer-hover {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    20% {
        opacity: 1;
        transform: translateX(0);
    }

    80% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}


/* Animações */
@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInText {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }

}

footer {
  background-color: #29333f; /* cinza escuro */
  color: #f6ebcf; /* bege */
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  
    width: 120px;
  height: auto;
  margin-bottom: 10px;
  text-align: left;
}

.footer-socials a {
  color: #f6ebcf;
  margin: 0 10px;
  font-size: 26px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #b57035; /* marrom no hover */
}

/* Responsivo para telas menores que 768px (celulares) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo img {
    width: auto;
    height: auto;
    margin-bottom: 10px;
  }

  #navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-content img {
    width: 90%;
    max-width: 300px;
  }

  .nav-button {
    font-size: 24px;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  iframe {
    width: 100% !important;
    height: 200px !important;
  }

  .social-icons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .section, .gallery, #localizacao {
    padding: 20px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-socials a {
    margin: 0 8px;
  }
}

/* Extra pequeno - telas menores que 480px */
@media (max-width: 480px) {
  .hero-content img {
    max-width: 250px;
  }

  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin: 10px;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    #navbar ul {
      display: none;
      flex-direction: column;
      gap: 10px;
      background-color: #29333f;
      padding: 10px;
      width: 100%;
    }
  
    #navbar ul.active {
      display: flex;
    }
  }
    
  
}








