/* ─── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

/* ─── Animations ─────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollDot {
  0%   { top: 0; opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease forwards; }

/* ─── Scroll reveal ──────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Navbar ─────────────────────────────────────── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(6, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08);
  padding: 0;
}
#navbar.scrolled .nav-link { color: rgba(255,255,255,0.7) !important; }

/* ─── Mobile menu ────────────────────────────────── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu .mobile-link { opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease; }
#mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }
#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Hamburger animation */
#menu-btn.active #bar1 { transform: rotate(45deg) translate(4px, 4px); }
#menu-btn.active #bar2 { opacity: 0; }
#menu-btn.active #bar3 { transform: rotate(-45deg) translate(4px, -4px); width: 24px; margin-left: 0; }

/* ─── Gold shimmer on hover for CTA buttons ──────── */
button:hover, a:hover { transition: all 0.3s ease; }

/* ─── Selection color ────────────────────────────── */
::selection { background: rgba(201, 168, 76, 0.3); color: #fff; }

/* ─── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #060e1a; }
::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 76, 0.5); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .font-display { line-height: 1.15; }
}
