/* ===== ARAB FIRST – shared.css ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&family=Cormorant+Garamond:wght@300;400;600;700&display=swap');

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bg: #111310;
  --surface: rgba(255,255,255,0.055);
  --border: rgba(255,255,255,0.09);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.48);
  --gold: #c8a96e;
  --gold2: #e8d09a;
  --gold-dark: #7a621e;
  --nav-h: 72px;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

[data-lang="en"] body,
html[data-lang="en"] body {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ── PARALLAX BG LAYER ── */
.site-bg {
  position: fixed; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}
.site-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,10,8,0.52);
}

/* ── NAV ── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  transition: background 0.45s, box-shadow 0.45s;
}
nav#main-nav.nav-solid {
  background: rgba(12,11,9,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--text);
}
.logo-box {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: var(--gold);
  letter-spacing: -0.5px; flex-shrink: 0;
}
.logo-txt { line-height: 1.2; }
.logo-txt span { display: block; }
.logo-main { font-size: 0.95rem; font-weight: 700; }
.logo-sub-t { font-size: 0.58rem; color: var(--muted); letter-spacing: 2.5px; }

.nav-links {
  display: flex; gap: 2.2rem; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.86rem; font-weight: 500;
  transition: color 0.25s; letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--muted);
  border-radius: 4px;
  padding: 0.38rem 0.9rem;
  font-family: inherit;
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer; letter-spacing: 1px;
  transition: all 0.25s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }

.nav-cta {
  padding: 0.48rem 1.4rem;
  background: var(--gold);
  color: #0d0c0a;
  border: none; border-radius: 4px;
  font-family: inherit; font-size: 0.84rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: opacity 0.25s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── PAGE WRAPPER ── */
.page {
  position: relative; z-index: 1;
  min-height: 100vh;
}

/* ── GLASS PANEL ── */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* ── SECTION HEADER ── */
.sec-eyebrow {
  font-size: 0.68rem; letter-spacing: 4px;
  color: var(--gold); font-weight: 600;
  display: block; margin-bottom: 0.8rem;
}
.sec-h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: #fff; line-height: 1.15;
  margin-bottom: 0.8rem;
}
.sec-rule {
  width: 36px; height: 2px;
  background: var(--gold); border-radius: 2px;
  margin-bottom: 1.2rem;
}
.sec-p {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.85; font-weight: 300;
  max-width: 500px;
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: rgba(8,8,6,0.88);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3.5rem 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}
.footer-brand p {
  font-size: 0.83rem; color: var(--muted);
  line-height: 1.9; margin-top: 1rem; max-width: 260px; font-weight: 300;
}
.footer-col h4 {
  font-size: 0.68rem; letter-spacing: 3px;
  color: var(--gold); font-weight: 600; margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  color: var(--muted); text-decoration: none;
  font-size: 0.84rem; transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: var(--muted);
}

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed; bottom: 2rem;
  z-index: 300;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  cursor: pointer; text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fabPop 0.6s cubic-bezier(.34,1.56,.64,1) 1s both;
}
[dir="rtl"] .wa-fab { left: 2rem; }
[dir="ltr"] .wa-fab { right: 2rem; }
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-fab svg { width: 26px; height: 26px; fill: #fff; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }
.reveal.d6 { transition-delay: 0.6s; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(40px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
@keyframes fabPop {
  from { opacity:0; transform:scale(0); }
  to   { opacity:1; transform:scale(1); }
}
@keyframes scrollBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes lineDrop {
  0%,100% { height:36px; opacity:1; }
  50%      { height:20px; opacity:0.4; }
}

/* ── UTILS ── */
.btn-gold {
  display: inline-block; padding: 0.9rem 2.2rem;
  background: var(--gold); color: #0d0c0a;
  border: none; border-radius: 5px;
  font-family: inherit; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: opacity 0.25s, transform 0.2s;
}
.btn-gold:hover { opacity:0.88; transform: translateY(-2px); }

.btn-outline {
  display: inline-block; padding: 0.9rem 2.2rem;
  background: transparent;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 5px;
  font-family: inherit; font-size: 0.95rem; font-weight: 400;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav#main-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
