/* ==========================================================================
   FKSS Grad 2027 — Custom Styles
   Tailwind CSS (CDN) handles the bulk of styling; this file covers
   custom animations, scroll behaviour, and utility overrides.
   ========================================================================== */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* Account for fixed navbar height */
}

/* ---- Custom Animations ------------------------------------------------- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
  }
}

@keyframes countTick {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse-gold {
  animation: pulse-gold 2s infinite;
}

.countdown-number {
  animation: countTick 1s ease-in-out infinite;
}

/* Stagger animation delays for elements appearing in sequence */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* ---- Accessibility ------------------------------------------------------ */

*:focus-visible {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Interactive Element Transitions ------------------------------------ */

a, button, .card {
  transition: all 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
}

/* ---- Mobile Menu Transition --------------------------------------------- */

#mobile-menu {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* ---- Custom Scrollbar (subtle) ----------------------------------------- */

::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: #0F172A;
}

/* ---- Component-Specific Utilities --------------------------------------- */

.land-acknowledgement {
  border-left: 4px solid #D97706;
  font-style: italic;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #D97706, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
}
