@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Cormorant:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --black:      #0A0A0A;
  --amber:      #BF7820;        /* pendant-light warm orange */
  --gold:       #C8902A;        /* marble veining warm gold  */
  --gold-hi:    #D9A840;        /* highlight gold            */
  --gold-dim:   rgba(200,144,42,0.11);
  --cream:      #EDE7D9;        /* warm off-white            */
  --cream-dim:  rgba(237,231,217,0.58);
  --muted:      rgba(237,231,217,0.30);
  --border:     rgba(191,120,32,0.20);
  --border-hi:  rgba(191,120,32,0.38);
  --card:       rgba(11,9,6,0.97);
  --input-bg:   rgba(18,14,10,0.99);
  --error:      #D65A45;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Marble texture base ────────────────────────────────── */
/* Marble at 17% opacity over pure black = subtle dark texture,
   veining visible but text fully readable without section overlays */
body {
  background-color: var(--black);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.75;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url('/images/jabal-marble-bg.jpg') center/cover no-repeat;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.15;
}
.eyebrow {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-weight: 300;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: .9rem;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--cream);
  margin-bottom: .5rem;
}

/* ── Nav ────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 2.25rem;
  background: rgba(8, 6, 4, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .06em;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-tagline {
  font-family: 'Inter', sans-serif;
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: .18rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: .42rem 1.1rem;
  border-radius: 1px;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.45rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: .85rem 2.4rem;
  border: none;
  border-radius: 1px;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .86; }
.btn-ghost {
  display: inline-block;
  background: rgba(0,0,0,.35);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .85rem 2.4rem;
  border-radius: 1px;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--gold); color: var(--black); }

/* ── Sections ────────────────────────────────────────────── */
.page-section { padding: 6rem 1.5rem; }
.inner { max-width: 1100px; margin: 0 auto; }
.inner-narrow { max-width: 700px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ── Card ────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1px;
  padding: 1.5rem;
}

/* ── Form elements ───────────────────────────────────────── */
.field-label {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .45rem;
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: .7rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 1px;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  appearance: none;
  -webkit-appearance: none;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus { outline: none; border-color: var(--gold); }
.field-textarea { resize: vertical; min-height: 80px; }
.field-select option { background: #1a1410; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
}
.footer-copy { color: var(--muted); font-size: .76rem; }
.footer-admin {
  color: rgba(191,120,32,.18);
  font-size: .7rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-admin:hover { color: var(--gold); }

/* ── Divider ─────────────────────────────────────────────── */
.gold-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 1.4rem auto;
}

/* ── Halal badge ─────────────────────────────────────────── */
.halal-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(191,120,32,.38);
  border-radius: 1px;
  padding: .24rem .65rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .8rem;
}

/* ── Responsive nav ──────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { padding: .75rem 1.2rem; }
  .nav-cta { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(8,6,4,.97);
    padding: 1.5rem 2rem;
    gap: 1.3rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { font-size: .9rem; }
  .page-section { padding: 4rem 1.2rem; }
}
