/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: #065f46;
  color: #fef3c7;
}

/* ========== NAVBAR ========== */
#navbar {
  box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
}

#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(6, 95, 70, 0.12);
}

.nav-link {
  position: relative;
}

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

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

/* ========== MOBILE MENU ========== */
.bar {
  transition: all 0.3s ease;
}

#menu-toggle.active .bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

#menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
  width: 50%;
}

#mobile-menu.open {
  max-h: 400px;
}

.mobile-link {
  display: block;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: #059669;
  color: #fefdf8;
  border: 2px solid #059669;
  border-radius: 9999px;
  padding: 0.625rem 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
  color: #fefdf8;
}

.btn-outline {
  background: transparent;
  color: #fef3c7;
  border: 2px solid rgba(254, 243, 199, 0.4);
  border-radius: 9999px;
  padding: 0.625rem 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn-outline:hover {
  border-color: rgba(254, 243, 199, 0.8);
  background: rgba(254, 243, 199, 0.1);
  transform: translateY(-2px);
  color: #fef3c7;
}

/* ========== HERO ========== */
.hero-eyebrow {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
}

.hero-title {
  animation: fadeSlideUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.hero-stats {
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

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

/* ========== MENU CARDS ========== */
.menu-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ========== FORM ========== */
.input-field {
  background: rgba(2, 44, 34, 0.5);
  border: 1px solid rgba(6, 120, 87, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #d1fae5;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}

.input-field::placeholder {
  color: rgba(110, 231, 183, 0.4);
}

.input-field:focus {
  border-color: #10b981;
  background: rgba(2, 44, 34, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.input-field option {
  background: #064e3b;
  color: #d1fae5;
}

/* ========== REVEAL ANIMATIONS (below fold only) ========== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-state="hidden"] {
  opacity: 0;
  transform: translateY(30px);
}

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

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stats > div {
    border: none !important;
  }

  .hero-stats > div:nth-child(2) {
    border-top: 1px solid rgba(254, 243, 199, 0.15) !important;
    border-bottom: 1px solid rgba(254, 243, 199, 0.15) !important;
    padding: 1rem 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

/* ========== FOCUS VISIBLE ========== */
*:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  border-radius: 4px;
}
