/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0d1321; }
::-webkit-scrollbar-thumb { background: #1a2a3e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d4a843; }

/* ── Selection ── */
::selection { background: rgba(212, 168, 67, 0.3); color: #f1f5f9; }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Menu Animations ── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu.open .mobile-link {
  animation: slideIn 0.4s ease forwards;
  opacity: 0;
}
#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hamburger to X ── */
#menu-btn.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}
#menu-btn.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Gold shimmer on CTA ── */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .animate-bounce { animation: none; }
  img { transition: none; }
}

/* ── Gallery hover ── */
.rounded-2xl.overflow-hidden img {
  display: block;
}

/* ── Smooth focus outlines ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid #d4a843;
  outline-offset: 2px;
  border-radius: 4px;
}
