:root {
  --bg: #faf7f0;
  --bg-soft: #f1ebdf;
  --card: #fffdf8;
  --ink: #232a3b;
  --muted: #6d7482;
  --gold: #b3853c;
  --gold-deep: #8f6828;
  --gold-soft: rgba(179, 133, 60, 0.14);
  --line: rgba(35, 42, 59, 0.1);
  --font-sans: 'Tajawal', sans-serif;
  --font-serif: 'Amiri', serif;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; }
.preloader__logo {
  font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 6rem);
  color: var(--gold); display: block;
}
.preloader__tag { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.15em; }
.preloader__bar {
  width: 180px; height: 1px; background: var(--line);
  margin: 2rem auto 0; overflow: hidden;
}
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--gold); }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99; border-radius: 50%; }
.cursor {
  width: 36px; height: 36px; border: 1px solid rgba(179,133,60,0.7);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}
.cursor--active { width: 64px; height: 64px; background: var(--gold-soft); }
.cursor-dot { width: 5px; height: 5px; background: var(--gold); transform: translate(-50%, -50%); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3.5rem);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav--scrolled {
  background: rgba(250,247,240,0.85); backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(35,42,59,0.06);
}
.nav__logo {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 700; white-space: nowrap; color: var(--gold-deep);
  letter-spacing: 0.01em;
}
.nav__logo span { color: var(--gold-deep); font-weight: 700; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.95rem; color: var(--muted);
  position: relative; transition: color 0.3s;
}
.nav__links a::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: right; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.9rem 1.9rem; border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
  will-change: transform;
}
.btn--solid {
  background: var(--gold); color: #fffdf8; font-weight: 700;
  box-shadow: 0 8px 24px rgba(179,133,60,0.35);
}
.btn--solid:hover { background: var(--gold-deep); box-shadow: 0 10px 28px rgba(179,133,60,0.45); }
.btn--line { border: 1px solid rgba(35,42,59,0.25); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--ghost { border: 1px solid rgba(179,133,60,0.55); color: var(--gold-deep); font-size: 0.85rem; padding: 0.65rem 1.4rem; }
.btn--ghost:hover { background: var(--gold-soft); }
.btn--xl { padding: 1.3rem 3rem; font-size: 1.15rem; }

/* ---------- Section title ---------- */
.section-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800; margin-bottom: 1rem;
}
.section-title span {
  font-family: var(--font-serif); font-weight: 400;
  color: var(--gold); font-size: 0.5em; vertical-align: super; margin-inline-end: 0.6em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 55% at 75% 20%, rgba(179,133,60,0.12), transparent 65%),
    radial-gradient(50% 45% at 15% 80%, rgba(120,150,210,0.1), transparent 60%),
    var(--bg);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; will-change: transform;
}
.hero__bg-img {
  position: absolute; inset: -6%;
  background-image: url('https://unsplash.com/photos/8Kg-2kK97Xc/download?force=true&w=1920');
  background-size: cover; background-position: center center;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1) translateY(0); }
  100% { transform: scale(1.12) translateY(-1.5%); }
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(250,247,240,0.12) 0%,
    rgba(250,247,240,0.35) 60%,
    var(--bg) 100%);
}
.hero__title, .hero__sub, .hero__eyebrow {
  text-shadow: 0 1px 30px rgba(250,247,240,0.9), 0 1px 8px rgba(250,247,240,0.7);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__content { z-index: 2; }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 0 1.5rem; max-width: 1000px; }
.hero__eyebrow {
  color: var(--gold-deep); font-size: 0.9rem; letter-spacing: 0.05em; margin-bottom: 1.6rem; font-weight: 500;
}
.hero__title {
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  line-height: 1.15; font-weight: 800;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line--serif, .cta__title .line--serif {
  font-family: var(--font-serif); font-weight: 400; color: var(--gold);
}
.hero__sub {
  color: var(--ink); max-width: 640px; margin: 1.8rem auto 2.4rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem); font-weight: 500; line-height: 1.8;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 0.8rem; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.hero__scroll span {
  width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.marquee__track { display: flex; white-space: nowrap; will-change: transform; }
.marquee__track span {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2rem); color: rgba(35,42,59,0.35);
}

/* ---------- Intro ---------- */
.intro { padding: clamp(6rem, 14vw, 12rem) clamp(1.5rem, 8vw, 10rem); }
.intro__text {
  font-size: clamp(1.5rem, 3.6vw, 2.7rem); line-height: 1.7; font-weight: 300;
}
.intro__text .w { opacity: 0.15; transition: opacity 0.3s; }

/* ---------- Destinations ---------- */
.destinations { position: relative; background: var(--bg-soft); }
.destinations__pin { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3.5rem) 3rem 0; overflow: hidden; }
.destinations__head { max-width: 620px; margin-bottom: 3rem; }
.destinations__head p { color: var(--muted); }
.destinations__track { display: flex; gap: 1.6rem; width: max-content; padding-inline-start: 4rem; }
.dest-card {
  width: clamp(260px, 32vw, 420px); flex-shrink: 0;
  border-radius: 18px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 6px 26px rgba(35,42,59,0.07);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.dest-card:hover {
  transform: translateY(-10px); border-color: rgba(179,133,60,0.5);
  box-shadow: 0 16px 40px rgba(35,42,59,0.12);
}
.dest-card__img {
  height: clamp(280px, 34vw, 430px);
  background-color: var(--bg-soft);
  background-image: radial-gradient(80% 80% at 50% 20%, rgba(179,133,60,0.25), transparent);
  background-size: cover; background-position: center;
  transition: transform 0.8s var(--ease); transform-origin: center;
}
.dest-card:hover .dest-card__img { transform: scale(1.07); }
.dest-card__body { padding: 1.4rem 1.5rem 1.7rem; position: relative; }
.dest-card__body h3 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; }
.dest-card__body p { color: var(--muted); font-size: 0.95rem; margin-top: 0.3rem; }
.dest-card__tag {
  position: absolute; top: -2.6rem; inset-inline-end: 1.2rem;
  background: rgba(255,253,248,0.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(179,133,60,0.45); color: var(--gold-deep);
  font-size: 0.75rem; padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 500;
}

/* ---------- Services ---------- */
.services { padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 4vw, 3.5rem); }
.services__grid {
  margin-top: 3rem; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.service {
  position: relative; padding: 2.2rem 2rem 2.6rem;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--card);
  box-shadow: 0 4px 18px rgba(35,42,59,0.05);
  overflow: hidden; cursor: pointer;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.service::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(179,133,60,0.12), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.service:hover::before { opacity: 1; }
.service:hover {
  border-color: rgba(179,133,60,0.45);
  box-shadow: 0 12px 32px rgba(35,42,59,0.1);
  transform: translateY(-4px);
}
.service__num { font-family: var(--font-serif); color: var(--gold); font-size: 1rem; }
.service h3 { font-size: 1.4rem; margin: 0.8rem 0 0.6rem; }
.service p { color: var(--muted); font-size: 0.98rem; }
.service__arrow {
  position: absolute; inset-inline-end: 1.6rem; bottom: 1.4rem;
  color: var(--gold); font-size: 1.3rem;
  transform: translateX(8px); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.service:hover .service__arrow { transform: translateX(0); opacity: 1; }

/* ---------- Why us ---------- */
.experience {
  position: relative; padding: clamp(6rem, 13vw, 11rem) clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
}
.experience__bg {
  position: absolute; inset: -20% 0;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(179,133,60,0.14), transparent 60%),
    radial-gradient(50% 45% at 85% 70%, rgba(120,150,210,0.12), transparent 60%),
    var(--bg-soft);
  z-index: -1;
}
.why-grid {
  margin-top: 3.5rem; display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.why-item { border-inline-start: 2px solid rgba(179,133,60,0.6); padding-inline-start: 1.4rem; }
.why-item h3 { color: var(--gold-deep); font-size: 1.25rem; margin-bottom: 0.5rem; }
.why-item p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Process steps ---------- */
.process { padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 4vw, 3.5rem); }
.steps { margin-top: 3rem; display: grid; gap: 1.5rem; }
.step {
  display: flex; align-items: flex-start; gap: 1.8rem;
  padding: 2rem 2.2rem; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(35,42,59,0.05);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.step:hover {
  transform: translateY(-6px); border-color: rgba(179,133,60,0.45);
  box-shadow: 0 12px 32px rgba(35,42,59,0.1);
}
.step__num {
  font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold); line-height: 1; flex-shrink: 0;
}
.step__body h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.step__body p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(7rem, 15vw, 13rem) 1.5rem;
  text-align: center;
  background:
    radial-gradient(70% 80% at 50% 110%, rgba(179,133,60,0.18), transparent 65%),
    var(--bg-soft);
}
.cta__title { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 800; line-height: 1.2; margin-bottom: 2.8rem; }
.cta__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.cta__meta { margin-top: 2.6rem; display: flex; gap: 2.2rem; justify-content: center; flex-wrap: wrap; }
.cta__meta a { color: var(--muted); font-size: 0.95rem; transition: color 0.3s; }
.cta__meta a:hover { color: var(--gold-deep); }
.cta__address { margin-top: 1.8rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem;
  background: var(--bg-soft);
}

/* ---------- Reveal helpers ---------- */
.reveal-line { opacity: 0; transform: translateY(28px); }
.no-anim .reveal-line { opacity: 1; transform: none; }
.no-anim .intro__text .w { opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-line { opacity: 1; transform: none; }
}
