/* Estilos adicionais para melhorar a experiência de visualização */

/* Imagens de fundo para seções */
.hero {
  background: linear-gradient(rgba(10, 10, 20, 0.8), rgba(10, 10, 20, 0.9)), url('../images/bienal-bg.jpg');
  background-size: cover;
  background-position: center;
}

.final-cta {
  background: linear-gradient(rgba(10, 10, 20, 0.9), rgba(10, 10, 20, 0.9)), url('../images/books-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Melhorias no carrossel de autores */
.authors-carousel {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: calc(250px * 14); /* Ajuste baseado no número de imagens */
}

.carousel-track:hover {
  animation-play-state: paused;
}

/* Efeitos de hover nos botões */
.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(245, 166, 35, 0.3);
}

/* Melhorias na responsividade */
@media (max-width: 768px) {
  .carousel-track {
    width: calc(200px * 14);
  }
  
  .author-item {
    flex: 0 0 200px;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .carousel-track {
    width: calc(150px * 14);
  }
  
  .author-item {
    flex: 0 0 150px;
    height: 150px;
  }
}

/* Badges de segurança */
.security-badge {
  height: 40px;
  margin: 0 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.security-badge:hover {
  opacity: 1;
}

/* Animações adicionais */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito de destaque nos números */
.stat-number {
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(245, 166, 35, 0.3);
  z-index: -1;
  border-radius: 4px;
}

/* Melhorias no contador regressivo */
.countdown-number {
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.countdown-number::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Melhorias na barra de progresso */
.progress-fill {
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0) 100%);
  animation: shine 2s infinite linear;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
