/* ── Base ── */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #091224; }
::-webkit-scrollbar-thumb { background: #1A2E52; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D4A843; }

/* ── Selection ── */
::selection { background: #D4A843; color: #091224; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }

/* ── Hero floating badge ── */
.hero-badge {
  animation: float 3s ease-in-out infinite;
}

/* ── Nav scroll state ── */
#site-header.scrolled {
  background: rgba(9, 18, 36, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Menu item hover ── */
#menu ul li {
  transition: transform 0.2s ease;
}
#menu ul li:hover {
  transform: translateX(4px);
}

/* ── Image hover zoom ── */
.gallery-img {
  transition: transform 0.5s ease;
}
.gallery-img:hover {
  transform: scale(1.05);
}

/* ── Button ripple effect ── */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-gold:hover::after {
  opacity: 1;
}

/* ── Mobile menu ── */
#mobile-menu {
  animation: fadeInUp 0.3s ease;
}

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