/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

::selection { background: rgba(212, 168, 75, 0.3); color: #fff; }

/* ===== NAV ===== */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #a8e6cf;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

#nav.scrolled {
  background: rgba(6, 15, 31, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Mobile menu */
.menu-line { transition: all 0.3s ease; }
#menuBtn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; }
#menuBtn.active .menu-line:nth-child(3) { width: 5px; margin-left: 0; }

.mobile-link { transition: all 0.3s ease; }

/* ===== HERO ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Stat cards */
.stat-card {
  background: rgba(11, 29, 58, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  border-color: rgba(212, 168, 75, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== GALLERY HOVER ===== */
.rounded-2xl img, .rounded-3xl img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== FORM ===== */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.1);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #060f1f; }
::-webkit-scrollbar-thumb { background: rgba(212, 168, 75, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 168, 75, 0.5); }

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