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

:root {
  --gold:       #c9a84c;
  --gold2:      #e8c96a;
  --dark:       #0d0d0d;
  --dark2:      #141414;
  --dark3:      #1c1c1c;
  --white:      #f5f0e8;
  --muted:      rgba(245,240,232,0.55);
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: background var(--transition);
}
header.scrolled { background: rgba(13,13,13,0.98); }

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--white);
}
.logo span { color: var(--gold); }

nav { display: flex; gap: 32px; align-items: center; }
nav a {
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
nav a:hover { color: var(--gold); }

.btn-book {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-book:hover { background: var(--gold); color: var(--dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* ══════════════════════════════
   MOBILE NAV
══════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 24px; right: 5%;
  font-size: 2rem;
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
  line-height: 1;
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  padding: 16px 36px;
  border: 1px solid rgba(245,240,232,0.4);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-video-wrap .hero-fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.45) 55%, rgba(13,13,13,1) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 8px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ══════════════════════════════
   SECTION SHARED
══════════════════════════════ */
section { padding: 100px 5%; }

.section-tag {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 520px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}

/* ══════════════════════════════
   STATS
══════════════════════════════ */
.stats {
  padding: 60px 5%;
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════
   TOURS
══════════════════════════════ */
.tours { background: var(--dark); }
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.tour-card { position: relative; border-radius: 4px; overflow: hidden; cursor: pointer; }
.tour-card img {
  width: 100%; height: 380px; object-fit: cover; display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.75);
}
.tour-card:hover img { transform: scale(1.06); filter: brightness(0.5); }

.tour-card .card-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 0.5s;
  filter: brightness(0.55);
}
.tour-card:hover .card-video { opacity: 1; }

.tour-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
}
.tour-badge {
  display: inline-block;
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
  padding: 3px 10px; margin-bottom: 10px;
}
.tour-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; margin-bottom: 6px; }
.tour-card p  { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.tour-meta    { display: flex; gap: 20px; font-size: 0.75rem; color: var(--muted); margin-bottom: 16px; }
.tour-price   { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--gold); }
.tour-price small { font-size: 0.7rem; font-family: 'Inter', sans-serif; color: var(--muted); }

.tour-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.tour-card:hover .tour-overlay { opacity: 1; }
.tour-overlay a {
  padding: 12px 28px; background: var(--gold); color: var(--dark);
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; text-decoration: none; transition: background var(--transition);
}
.tour-overlay a:hover { background: var(--gold2); }

/* ══════════════════════════════
   FEATURED
══════════════════════════════ */
.featured { background: var(--dark2); }
.featured-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(201,168,76,0.15); overflow: hidden;
}
.featured-media { position: relative; overflow: hidden; }
.featured-media img, .featured-media video {
  width: 100%; height: 100%; min-height: 500px;
  object-fit: cover; display: block;
  filter: brightness(0.85); transition: transform 0.6s;
}
.featured-inner:hover .featured-media img,
.featured-inner:hover .featured-media video { transform: scale(1.04); }
.featured-text { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.featured-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; line-height: 1.2; margin-bottom: 20px;
}
.featured-text p { color: var(--muted); font-size: 0.92rem; line-height: 1.8; margin-bottom: 32px; }
.feature-list { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.feature-list li::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ══════════════════════════════
   EXPERIENCES
══════════════════════════════ */
.experiences { background: var(--dark); }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.exp-item { position: relative; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; }
.exp-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.6); transition: transform 0.5s, filter 0.5s;
}
.exp-item:hover img { transform: scale(1.08); filter: brightness(0.4); }
.exp-item-label { position: absolute; bottom: 24px; left: 24px; right: 24px; pointer-events: none; }
.exp-item-label span { display: block; font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.exp-item-label h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials { background: var(--dark2); text-align: center; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testi-card { background: var(--dark3); border: 1px solid rgba(201,168,76,0.1); padding: 36px 32px; text-align: left; }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card blockquote {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 300;
  line-height: 1.7; color: var(--white); margin-bottom: 24px; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8b6914);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  color: var(--dark); font-weight: 600; flex-shrink: 0;
}
.testi-author-info strong { display: block; font-size: 0.85rem; }
.testi-author-info span   { font-size: 0.75rem; color: var(--muted); }

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-banner { position: relative; padding: 120px 5%; text-align: center; overflow: hidden; }
.cta-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-banner-content { position: relative; max-width: 700px; margin: 0 auto; }
.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; margin-bottom: 20px;
}
.cta-banner p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-bottom: 40px; }
.cta-actions  { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer { background: #080808; padding: 80px 5% 40px; border-top: 1px solid rgba(201,168,76,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand .logo { display: block; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.8; max-width: 280px; }
.footer-col h5 { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(245,240,232,0.3); }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════
   SCROLL REVEAL
══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-group > * { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-group.visible > *:nth-child(1) { transition-delay: 0.05s; opacity:1; transform:none; }
.reveal-group.visible > *:nth-child(2) { transition-delay: 0.15s; opacity:1; transform:none; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 0.25s; opacity:1; transform:none; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 0.35s; opacity:1; transform:none; }
.reveal-group.visible > *:nth-child(5) { transition-delay: 0.45s; opacity:1; transform:none; }
.reveal-group.visible > *:nth-child(6) { transition-delay: 0.55s; opacity:1; transform:none; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .tours-grid  { grid-template-columns: repeat(2,1fr); }
  .exp-grid    { grid-template-columns: repeat(2,1fr); }
  .testi-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  nav                { display: none; }
  .hamburger         { display: flex; }
  .tours-grid        { grid-template-columns: 1fr; }
  .exp-grid          { grid-template-columns: 1fr 1fr; }
  .testi-grid        { grid-template-columns: 1fr; }
  .featured-inner    { grid-template-columns: 1fr; }
  .featured-text     { padding: 40px 28px; }
  .footer-grid       { grid-template-columns: 1fr; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  section            { padding: 70px 5%; }
  .featured-media img, .featured-media video { min-height: 300px; }
}

/* ══════════════════════════════
   LANGUAGE TOGGLE BUTTON
══════════════════════════════ */
.lang-toggle {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 2px;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.lang-toggle--mobile {
  font-size: 1rem;
  padding: 12px 28px;
  letter-spacing: 3px;
  margin-top: 8px;
}

/* ══════════════════════════════
   RTL / ARABIC OVERRIDES
══════════════════════════════ */
html.lang-ar {
  font-family: 'Tajawal', sans-serif;
}

/* Body & base */
html.lang-ar body {
  font-family: 'Tajawal', sans-serif;
}

/* Headings & display text — keep Cormorant for decorative feel, but swap to Tajawal */
html.lang-ar h1,
html.lang-ar h2,
html.lang-ar h3,
html.lang-ar h4,
html.lang-ar h5,
html.lang-ar .section-title,
html.lang-ar .stat-num,
html.lang-ar .logo,
html.lang-ar .mobile-nav a,
html.lang-ar blockquote {
  font-family: 'Tajawal', sans-serif;
  letter-spacing: 0; /* Arabic doesn't use Latin letter-spacing */
}

/* Nav links */
html.lang-ar nav a,
html.lang-ar .btn-book,
html.lang-ar .btn-primary,
html.lang-ar .btn-outline,
html.lang-ar .lang-toggle,
html.lang-ar .section-tag,
html.lang-ar .tour-badge,
html.lang-ar .hero-tag,
html.lang-ar .stat-label,
html.lang-ar .footer-col h5 {
  letter-spacing: 0;
  font-family: 'Tajawal', sans-serif;
}

/* Header layout flips */
html[dir="rtl"] header { flex-direction: row-reverse; }
html[dir="rtl"] nav    { flex-direction: row-reverse; }

/* Scroll-hint stays centered — no flip needed */

/* Feature list bullet direction */
html[dir="rtl"] .feature-list li {
  flex-direction: row-reverse;
}
html[dir="rtl"] .feature-list li::before {
  margin-left: 0;
  margin-right: 0;
}

/* Tour card body text */
html[dir="rtl"] .tour-card-body  { text-align: right; }
html[dir="rtl"] .tour-meta       { flex-direction: row-reverse; }

/* Testimonials */
html[dir="rtl"] .testi-card      { text-align: right; }
html[dir="rtl"] .testi-author    { flex-direction: row-reverse; }

/* Footer */
html[dir="rtl"] .footer-grid     { direction: rtl; }
html[dir="rtl"] .footer-bottom   { flex-direction: row-reverse; }
html[dir="rtl"] .footer-col ul   { text-align: right; }
html[dir="rtl"] .footer-brand p  { text-align: right; }

/* Section head */
html[dir="rtl"] .section-head    { flex-direction: row-reverse; }

/* Mobile nav */
html[dir="rtl"] .mobile-close {
  left: 5%;
  right: auto;
}

/* Experience item labels */
html[dir="rtl"] .exp-item-label  { text-align: right; }

/* CTA actions */
html[dir="rtl"] .cta-actions     { flex-direction: row-reverse; }
html[dir="rtl"] .hero-actions    { flex-direction: row-reverse; }

/* ══════════════════════════════════════════════════════════
   THEMES
   Applied as a class on <html>: html.theme-gold-dark (default)
                                  html.theme-ocean-blue
                                  html.theme-desert-rose
   Each theme overrides only the CSS custom properties.
   All other rules inherit automatically.
══════════════════════════════════════════════════════════ */

/* ── Theme 1: Gold & Dark (default — mirrors :root) ──────── */
html.theme-gold-dark {
  --gold:       #c9a84c;
  --gold2:      #e8c96a;
  --dark:       #0d0d0d;
  --dark2:      #141414;
  --dark3:      #1c1c1c;
  --white:      #f5f0e8;
  --muted:      rgba(245,240,232,0.55);
}

/* ── Theme 2: Ocean Blue ─────────────────────────────────── */
/*   Deep navy base, electric teal accent, cool white text    */
html.theme-ocean-blue {
  --gold:       #38b2c8;   /* teal accent replaces gold       */
  --gold2:      #63d0e4;   /* lighter teal hover              */
  --dark:       #050e1a;   /* deep navy background            */
  --dark2:      #0a1628;   /* slightly lighter navy           */
  --dark3:      #112236;   /* card/panel background           */
  --white:      #e8f4f8;   /* cool off-white text             */
  --muted:      rgba(232,244,248,0.50);
}

/* ── Theme 3: Desert Rose ────────────────────────────────── */
/*   Warm sand base, rose-gold accent, warm cream text        */
html.theme-desert-rose {
  --gold:       #c07a6d;   /* dusty rose accent               */
  --gold2:      #d89a8f;   /* lighter rose hover              */
  --dark:       #1a0f0c;   /* deep warm-brown background      */
  --dark2:      #251510;   /* panel background                */
  --dark3:      #2e1c16;   /* card background                 */
  --white:      #f5ede8;   /* warm cream text                 */
  --muted:      rgba(245,237,232,0.52);
}
