/* Custom styles for Atascocita Children Academy */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-headline {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-sub {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-cta {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-badges {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1s;
}

.hero-scroll {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.2s;
}

/* Scroll reveal animations */
.reveal-section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Custom selection color */
::selection {
  background: rgba(249, 117, 131, 0.3);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
  background: #3D3D3D;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #F97583;
}

/* Mobile menu transitions */
#mobileMenu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-eyebrow,
  .hero-headline,
  .hero-sub,
  .hero-cta,
  .hero-badges,
  .hero-scroll {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal-section {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .group:hover img {
    transform: none;
  }
}

/* Project gallery hover */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}
