@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --gold: #C9A84C;
  --gold-dim: #8A6D2F;
  --gold-bright: #E8C96A;
  --ember: #C94A1A;
  --ink: #080604;
  --ink-2: #110D08;
  --ink-3: #1A1410;
  --ink-4: #241D16;
  --parchment: #F0E6C8;
  --parchment-dim: #C8B88A;
  --text-main: #E8DFC8;
  --text-dim: #9A8B74;
  --text-faint: #4A3F30;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text-main);
  font-family: 'Crimson Pro', Georgia, serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── Cursor ── */
.cursor {
  width: 12px; height: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}
.cursor.hover { width: 28px; height: 28px; background: rgba(201,168,76,0.15); }

/* ── Background textures ── */
.geo-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 79px,rgba(201,168,76,0.03) 80px),
    repeating-linear-gradient(90deg,transparent,transparent 79px,rgba(201,168,76,0.03) 80px);
}
.star-overlay {
  position: fixed; inset: 0; opacity: 0.04; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C'%3E%3Cpolygon points='60,5 67,40 100,40 74,61 84,95 60,75 36,95 46,61 20,40 53,40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  border-bottom: 0.5px solid rgba(201,168,76,0.12);
  background: rgba(8,6,4,0.88);
  backdrop-filter: blur(14px);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.8rem 4rem; }

.nav-logo {
  font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700;
  color: var(--gold); letter-spacing: 0.15em; text-decoration: none;
  display: flex; align-items: baseline; gap: 8px;
}
.nav-logo span { font-family: 'Noto Naskh Arabic', serif; font-size: 16px; color: var(--gold-dim); font-weight: 400; }

.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.16em;
  color: var(--text-dim); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-wishlist {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.12em;
  color: var(--gold); border: 1px solid var(--gold-dim); padding: 8px 20px;
  text-decoration: none; transition: all 0.25s;
}
.nav-wishlist:hover { background: var(--gold); color: var(--ink); }

/* ── Page hero (inner pages) ── */
.page-hero {
  position: relative; z-index: 1;
  padding: 12rem 4rem 6rem;
  text-align: center;
  border-bottom: 0.5px solid rgba(201,168,76,0.1);
}
.page-hero-eyebrow {
  font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 0.4em;
  color: var(--gold-dim); margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.page-hero-title {
  font-family: 'Cinzel', serif; font-size: clamp(40px,7vw,80px); font-weight: 900;
  color: var(--parchment); line-height: 1; letter-spacing: 0.08em; margin-bottom: 0.4rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.page-hero-ar {
  font-family: 'Noto Naskh Arabic', serif; font-size: clamp(18px,3vw,28px);
  color: var(--gold); direction: rtl; margin-bottom: 1.2rem; font-weight: 600;
  opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}
.page-hero-desc {
  font-size: clamp(15px,1.5vw,18px); color: var(--text-dim); font-style: italic;
  max-width: 600px; margin: 0 auto; line-height: 1.7;
  opacity: 0; animation: fadeUp 0.8s ease 0.8s forwards;
}

/* ── Section base ── */
section { position: relative; z-index: 1; padding: 6rem 4rem; }
.inner { max-width: 1100px; margin: 0 auto; }

/* ── Typography helpers ── */
.eyebrow {
  font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 0.35em;
  color: var(--gold-dim); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Cinzel', serif; font-size: clamp(26px,4vw,44px);
  font-weight: 700; color: var(--parchment); line-height: 1.15; margin-bottom: 0.4rem;
}
.section-title-ar {
  font-family: 'Noto Naskh Arabic', serif; font-size: clamp(18px,2.5vw,28px);
  color: var(--gold-dim); direction: rtl; margin-bottom: 1.5rem; font-weight: 500;
}
p { color: var(--text-dim); font-size: 15px; line-height: 1.75; margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }
p em { color: var(--gold-dim); font-style: italic; }

/* ── Buttons ── */
.btn-primary {
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.2em;
  padding: 14px 36px; background: var(--gold); color: var(--ink);
  border: none; text-decoration: none; cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }

.btn-outline {
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.18em;
  padding: 14px 36px; background: transparent; color: var(--parchment);
  border: 1px solid rgba(201,168,76,0.3); text-decoration: none; cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── Divider ── */
.divider {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 4rem; z-index: 1; position: relative;
}
.divider-line { flex: 1; height: 0.5px; background: rgba(201,168,76,0.15); }
.divider-star { font-family: 'Noto Naskh Arabic', serif; color: var(--gold-dim); font-size: 20px; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Footer ── */
footer {
  background: var(--ink); border-top: 0.5px solid rgba(201,168,76,0.1);
  padding: 4rem; position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
}
.footer-brand { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.3rem; }
.footer-brand-ar { font-family: 'Noto Naskh Arabic', serif; font-size: 16px; color: var(--gold-dim); direction: rtl; margin-bottom: 1rem; }
.footer-tagline { font-size: 14px; color: var(--text-faint); font-style: italic; line-height: 1.6; max-width: 280px; }
.footer-col-title { font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 0.25em; color: var(--gold-dim); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 14px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 0.5px solid rgba(201,168,76,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-faint); font-family: 'Cinzel', serif; letter-spacing: 0.08em;
}

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulseRing { 0%,100%{opacity:.04;transform:translate(-50%,-50%) scale(1)} 50%{opacity:.1;transform:translate(-50%,-50%) scale(1.02)} }
@keyframes rotateSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes floatEmber { 0%{transform:translateY(100vh) translateX(0) scale(1);opacity:0} 10%{opacity:1} 90%{opacity:.6} 100%{transform:translateY(-10vh) translateX(var(--dx)) scale(0.3);opacity:0} }
@keyframes scrollPulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ── Responsive ── */
@media (max-width:900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .page-hero { padding: 9rem 1.5rem 4rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  footer { padding: 3rem 1.5rem; }
  .divider { padding: 0 1.5rem; }
}
