/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ─── NAV ─── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C9A84C;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #C9A84C !important; }

#site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ─── MOBILE MENU ─── */
.mobile-link { transition: opacity 0.3s ease; }
.mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }

/* ─── HERO ─── */
.hero-img {
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
.hero-title {
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero-subtitle {
  animation: fadeUp 1s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero-ctas {
  animation: fadeUp 1s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.scroll-line {
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 0.7; height: 56px; }
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ─── CUSTOM SELECT ─── */
select option { background: #111F38; color: #fff; }

/* ─── BACK TO TOP ─── */
#back-to-top.visible {
  opacity: 1 !important;
  pointer-events: all !important;
}
#back-to-top:hover {
  transform: translateY(-2px);
}

/* ─── FORM FOCUS ─── */
input:focus, textarea:focus, select:focus {
  border-color: rgba(201, 168, 76, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1) !important;
}

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A1628; }
::-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: 640px) {
  .font-serif { line-height: 1.1; }
}
