/* Estilos gerais */
/* Reset e estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
} 

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 0;
}

.container {
    max-width: 2200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #265778;
}

/* Hero Section */
.hero {
    margin-top: -200px;
    background: url('/assets/images/hero-sobre.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
}

/* História da Empresa */
.historia {
    padding: 60px 0;
}

.historia-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.historia-texto {
    flex: 2;
}

.historia-imagem {
    flex: 1;
}

.historia-imagem img {
    width: 100%;
    border-radius: 10px;
}

/* Equipa */
.equipa {
    background: #f9f9f9;
    padding: 60px 0;
}

.equipa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.membro {
    text-align: center;
}

.membro img {
    width: 100%;
    width: 200px;
    border-radius: 50%;
    margin-bottom: -50px; /* Espaço ainda menor */
}

.membro h3 {
    font-size: 1.5rem;
    margin-bottom: -20px;
}

.membro p {
    color: #777;
}

/* Valores */
.valores {
    padding: 60px 0;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.valor {
    text-align: center;
}

.valor img {
    width: 100px;
    margin-bottom: 15px;
}

.valor h3 {
    margin-bottom: -20px;
    font-size: 1.5rem;
}

.valor p {
    color: #555;
}

/* Call to Action */
.cta {
    background: #265778;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.cta h2 {
    color: #f9f9f9;
    font-size: 2rem;
    margin-bottom: 20px;
}


/* Estilo para o separador */
.anos-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 */
.anos-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 */
.anos-separator h2 {
    font-size: 24px;
    font-weight: bold;
    color: #666; /* Cor do texto */
    padding: 0 20px;
    background-color: #fff;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;  /* Espaçamento entre o título e a data */
}

/* Estilo da data */
.anos-separator h3 {
    font-size: 18px;
    font-weight: normal;
    color: #666;  /* Cor da data */
    background-color: #fff;
    padding: 0 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}


.cta .btn {
    background: #fff;
    color: #265778;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta .btn:hover {
    background: #f1f1f1;
}

/* Estilos da Seção de Reviews */
.reviews-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #265778;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.review-stars {
    color: #ffd700; /* Cor das estrelas */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.review-author {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.btn {
    background-color: #265778;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1c4059;
}

/* Responsividade */
@media (max-width: 768px) {

    .hero-content {
        margin-top: -200px;
        flex-direction: column;
        text-align: center;
    }

    .historia-content {
        margin-top: 10px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .equipa-grid, .valores-grid {
        grid-template-columns: 1fr;
    }
}


/* 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;
  }
}




