/* ── Custom Properties ── */
:root {
  --plum-deep: #0f0814;
  --plum-dark: #1a0f24;
  --plum-mid: #2a1a3a;
  --plum-light: #3d2a52;
  --plum-lighter: #5a3d6e;
  --cream: #f5f0e8;
  --cream-soft: #e8e0d0;
  --amber-400: #f59e0b;
  --amber-500: #fbbf24;
  --amber-600: #d97706;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--plum-deep);
  color: var(--cream);
  overflow-x: hidden;
}

.font-playfair { font-family: 'Playfair Display', Georgia, serif; }
.font-inter { font-family: 'Inter', system-ui, sans-serif; }

/* ── Hero Gradient ── */
.hero-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(120, 40, 160, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(180, 100, 20, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(100, 20, 120, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, #1a0a2e 0%, #0f0814 50%, #0a0510 100%);
}

/* ── Nav ── */
#navbar {
  background: rgba(15, 8, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(90, 61, 110, 0.2);
}
#navbar.scrolled {
  background: rgba(15, 8, 20, 0.92);
  border-bottom-color: rgba(245, 158, 11, 0.15);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

/* ── Mobile Menu ── */
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }

/* ── Service Cards ── */
.service-card {
  background: linear-gradient(135deg, rgba(26, 15, 36, 0.8) 0%, rgba(42, 26, 58, 0.4) 100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(245, 158, 11, 0.06);
}

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.24s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.32s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── Gold accent line ── */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent);
}

/* ── Input autofill ── */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #1a0f24 inset !important;
  -webkit-text-fill-color: #f5f0e8 !important;
}

/* ── Selection ── */
::selection { background: rgba(245, 158, 11, 0.3); color: #f5f0e8; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0814; }
::-webkit-scrollbar-thumb { background: #3d2a52; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5a3d6e; }
