/* ============================================
   Go-Go Kids Learning Academy — Custom Styles
   Charcoal + Coral | Playfair Display + Inter
   ============================================ */

:root {
  --coral-50: #fff5f3;
  --coral-100: #ffe8e3;
  --coral-200: #ffd0c5;
  --coral-300: #ffb09a;
  --coral-400: #ff8268;
  --coral-500: #e8634c;
  --coral-600: #d14a35;
  --coral-700: #ad3726;
  --coral-800: #8a2c20;
  --coral-900: #6e241b;

  --charcoal-50: #fafaf9;
  --charcoal-100: #f5f5f4;
  --charcoal-200: #e7e5e4;
  --charcoal-300: #d6d3d1;
  --charcoal-400: #a8a29e;
  --charcoal-500: #78716c;
  --charcoal-600: #57534e;
  --charcoal-700: #44403c;
  --charcoal-800: #292524;
  --charcoal-900: #1c1917;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll Reveal — Progressive Enhancement */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

/* Navbar */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E8634C;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #fff !important;
}

/* Mobile Menu */
.mobile-nav-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
}

/* Hero floating animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-20px) rotate(12deg); }
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-16px) rotate(-12deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 7s ease-in-out infinite;
  animation-delay: 1s;
}

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

::-webkit-scrollbar-track {
  background: #fafaf9;
}

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

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

/* Selection */
::selection {
  background: rgba(232, 99, 76, 0.2);
  color: #1c1917;
}
</style>
