/* Reset e estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    overflow-x: hidden;
    padding-top: 0px; /* Espaço para o cabeçalho fixo */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #ffffff;
}

/* Seção do vídeo em tela cheia */
.fullscreen-video {
    position: relative;
    width: 100%;
    height: calc(100vh - 0px); /* Ajusta altura considerando o cabeçalho */
    overflow: hidden;
}

.fullscreen-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover; /* ou 'contain' conforme necessidade */
    z-index: 1;
}

/* Estilo para o separador */
.campanhas-separator {
    display: flex;
    flex-direction: column;  /* Alinha os itens verticalmente */
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    text-align: center;
}

/* Linha acima do texto */
.campanhas-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
    left: 0;
    right: 0;
    border-top: 2px solid #666;  /* Cor da linha */
    z-index: -1;
}

/* Estilo do título */
.campanhas-separator h2 {
    font-size: 24px;
    font-weight: bold;
    color: #666; /* Cor do texto */
    padding: 0 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;  /* Espaçamento entre o título e a data */
}

/* Estilo da data */
.campanhas-separator h3 {
    font-size: 18px;
    font-weight: normal;
    color: #666;  /* Cor da data */
    padding: 0 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}



#slidercampanhas {
    overflow-x: hidden;              /* permite scroll horizontal */
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px; /* Espaço entre as imagens */
    width: 100%;
    animation: scrollSlider 35s linear infinite ;
    padding: 20px; /* opcional, dá um respiro extra */
}

#slidercampanhas img {
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px; /* Cantos arredondados */
    flex-shrink: 0;
    pointer-events: none; /* impede clique acidental nas imagens */
}

/* Animação infinita */
@keyframes scrollSlider {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-3000px); /* 4 imagens de 1080px */
    }
}

/* Pausar a animação quando o rato estiver por cima */
#slidercampanhas:hover .slider-track {
    animation-play-state: paused;
}

#slidercampanhas::-webkit-scrollbar {
    height: 8px;
}
#slidercampanhas::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}


/* Opcional: ajustar para vídeos verticais em telas horizontais */
@media (orientation: landscape) {
    .fullscreen-video video {
        width: 100%;
        min-height: 100%;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Mensagem de manutenção - substitui o estilo inline */
.mensagem-manutencao {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 5; /* Entre o cabeçalho (1000) e o vídeo (1) */
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

/* Correções para o cabeçalho fixo */
.cabecalho_container {
    z-index: 1000; /* Garante que fique acima de outros elementos */
}

/* Media queries para responsividade */
@media (max-width: 768px) {
    body {
        padding-top: 0px; /* Ajuste para mobile */
    }
    
    .fullscreen-video {
        margin-top: -45px;
        height: calc(100vh - 80px);
    }
    
    .mensagem-manutencao {
        top: 45%; /* Posição mais alta em mobile */
    }
}

/* Estilos da Seção de Aniversário */
.anniversary-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #e74c3c;
}

/* Estilos do Vídeo */
.event-video {
  margin: 0 auto 50px;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  overflow: hidden;
}

.event-video video {
  width: 100%;
  max-height: 80vh;
}

.event-video {
  position: relative;
  overflow: hidden;
}

.event-video iframe {
  width: 100%;
  height: 450px;
  display: block;
}

/* Estilos da Galeria */
.photo-gallery {
  margin-top: 50px;
}

.gallery-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 30px;
}

.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
}

.main-photo {
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  overflow: hidden;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-photo img:hover {
  transform: scale(1.02);
}

.thumbnail-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none; /* Para Firefox */
  -ms-overflow-style: none; /* Para IE e Edge */
}

.thumbnails::-webkit-scrollbar {
  display: none; /* Para Chrome, Safari e Opera */
}

.thumbnail {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail.active {
  opacity: 1;
  border: 3px solid #e74c3c;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
  transition: background-color 0.3s;
}

.scroll-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.scroll-btn.left {
  left: -50px;
}

.scroll-btn.right {
  right: -50px;
}

/* Responsividade */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .event-video iframe {
    height: 300px;
  }
  
  .main-photo {
    height: 350px;
  }
  
  .thumbnail {
    width: 80px;
    height: 60px;
  }
  
  .scroll-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .scroll-btn.left {
    left: -20px;
  }
  
  .scroll-btn.right {
    right: -20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .event-video iframe {
    height: 200px;
  }
  
  .main-photo {
    height: 250px;
  }
  
  .thumbnail {
    width: 60px;
    height: 45px;
  }
}




