/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Montserrat', sans-serif; }

/* ── Typography ───────────────────────────────────────────────────── */
.font-playfair { font-family: 'Playfair Display', serif; }
.font-montserrat { font-family: 'Montserrat', sans-serif; }

/* ── Navigation ───────────────────────────────────────────────────── */
#site-header {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#site-header.scrolled {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4a843;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ──────────────────────────────────────────────────── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-link { position: relative; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero-title {
  animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero-label {
  animation: heroIn 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Reveal Animations (below-the-fold only) ─────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: no-preference) {
  .reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* ── Service Cards ────────────────────────────────────────────────── */
.service-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ── Gallery ──────────────────────────────────────────────────────── */
.gallery-item {
  cursor: pointer;
}

/* ── Testimonial Cards ────────────────────────────────────────────── */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ── Gold accent line ─────────────────────────────────────────────── */
.gold-line {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, #d4a843, transparent);
  border-radius: 2px;
}

/* ── Custom scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* ── Selection ────────────────────────────────────────────────────── */
::selection { background: rgba(20, 184, 166, 0.3); color: #f1f5f9; }
