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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background: rgba(22, 194, 122, 0.3);
  color: #f0fdf4;
}

/* ===== NAVBAR ===== */
.nav-link {
  position: relative;
}

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

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

#navbar.scrolled {
  background: rgba(7, 15, 28, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(152, 245, 225, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .font-serif {
  color: #f0fdf4;
}

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

/* ===== HERO STAT CARDS ===== */
.stat-card {
  animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(1) {
  animation-delay: 0s;
}

.stat-card:nth-child(2) {
  animation-delay: -1.5s;
}

.stat-card:nth-child(3) {
  animation-delay: -3s;
}

.stat-card:nth-child(4) {
  animation-delay: -4.5s;
}

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

/* ===== SCROLL REVEAL ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
  }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ===== MENU CARDS ===== */
.menu-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(152, 245, 225, 0.06);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== FORM INPUTS ===== */
input:focus,
textarea:focus {
  outline: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #070f1c;
}

::-webkit-scrollbar-thumb {
  background: rgba(152, 245, 225, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(152, 245, 225, 0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .stat-card {
    display: none;
  }

  #hero {
    min-height: 100vh;
  }
}
