/* ========== CUSTOM STYLES ========== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #052e16;
}
::-webkit-scrollbar-thumb {
  background: #166534;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #15803d;
}

/* ========== NAVIGATION ========== */
.nav {
  background: rgba(254, 253, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 101, 52, 0.08);
}

.nav.scrolled {
  background: rgba(254, 253, 248, 0.95);
  box-shadow: 0 4px 30px rgba(5, 46, 22, 0.08);
}

.nav-link {
  position: relative;
}

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

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

.nav.scrolled .nav-logo-text {
  color: #052e16;
}

/* ========== MOBILE MENU ========== */
.mobile-nav-link {
  position: relative;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* ========== HERO ========== */
.hero-section {
  min-height: 100vh;
}

/* ========== SECTION ANIMATIONS ========== */
/* Scroll reveal — only for below-fold content, progressive enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: none;
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ========== CARD HOVER EFFECTS ========== */
.group:hover .group-hover\:-translate-y-1 {
  transform: translateY(-4px);
}

/* ========== FORM STYLES ========== */
select option {
  background: #14532d;
  color: #fefdf8;
}

/* ========== SELECTION ========== */
::selection {
  background: #166534;
  color: #fefdf8;
}

/* ========== PRINT ========== */
@media print {
  .nav, #mobile-menu, .reveal {
    display: none !important;
  }
}
