:root {
  --sand-50: #faf6ef;
  --sand-100: #f3ead9;
  --sand-200: #e7d7ba;
  --stone-700: #5b4a36;
  --ink: #241d15;
  --ink-soft: #4a4034;
  --clay: #b4551f;
  --clay-dark: #8f3f14;
  --sky: #2b6a86;
  --line: rgba(60, 46, 28, 0.14);
  --shadow: 0 18px 45px -20px rgba(40, 28, 12, 0.5);
  --radius: 16px;
  --maxw: 1140px;
  --font-display: "Fraunces", Georgia, serif;
  --font-brand: "Cinzel", "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; }

a { color: inherit; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 1px;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 3px 10px -3px rgba(180, 85, 31, 0.55);
}
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--clay); }

.lang-toggle {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--stone-700);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: var(--clay); color: #fff; border-color: var(--clay); }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) 0;
  color: #fff;
  background: url("../images/hero-sunrise.jpg") center 40% / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,12,5,0.55) 0%, rgba(20,12,5,0.25) 40%, rgba(20,12,5,0.75) 100%);
}
.hero-content { position: relative; max-width: 720px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--sand-200);
}
.hero h1 { font-family: var(--font-brand); font-size: clamp(2.8rem, 9vw, 6rem); font-weight: 700; letter-spacing: 2px; }
.subtitle { font-family: var(--font-display); font-size: clamp(1.1rem, 3vw, 1.5rem); margin: 0.3rem 0 1.2rem; opacity: 0.92; }
.lede { font-size: 1.05rem; max-width: 540px; color: rgba(255,255,255,0.92); }
.lede strong { color: #fff; }

.hero-cta { display: flex; gap: 0.8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -10px rgba(180,85,31,0.9); }
.btn-primary:hover { background: var(--clay-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-wa { background: #25d366; color: #08331b; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 10px 24px -10px rgba(37,211,102,0.8); }
.btn-wa:hover { background: #1fbe5b; transform: translateY(-2px); }
.wa-icon { width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--wa-mask) center / contain no-repeat; mask: var(--wa-mask) center / contain no-repeat; }
:root { --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38c1.45.79 3.08 1.21 4.79 1.21 5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2zm5.8 14.03c-.24.68-1.42 1.31-1.95 1.36-.5.05-1.13.24-3.66-.77-3.08-1.24-5.05-4.4-5.2-4.6-.15-.2-1.24-1.65-1.24-3.15 0-1.5.79-2.24 1.07-2.54.28-.3.61-.38.81-.38.2 0 .41 0 .59.01.19.01.44-.07.69.53.24.6.83 2.07.9 2.22.07.15.12.32.02.52-.1.2-.15.32-.3.5-.15.18-.31.4-.44.53-.15.15-.3.31-.13.6.17.29.76 1.25 1.63 2.03 1.12 1 2.06 1.31 2.35 1.46.29.15.46.12.63-.07.17-.2.72-.84.91-1.13.19-.29.39-.24.65-.15.26.1 1.65.78 1.94.92.29.15.48.22.55.34.07.12.07.7-.17 1.38z'/%3E%3C/svg%3E"); }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: auto;
  background: rgba(255,255,255,0.16);
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stats > div {
  background: rgba(20,12,5,0.35);
  backdrop-filter: blur(4px);
  padding: 1.1rem 1rem;
  text-align: center;
}
.hero-stats .num { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 700; }
.hero-stats .lbl { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.8; margin-top: 0.25rem; }

/* SECTIONS */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 5vw, 2rem); }
.section-alt { max-width: none; background: var(--sand-100); }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.kicker { text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.75rem; font-weight: 700; color: var(--clay); margin: 0 0 0.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
.section-intro { margin-top: 0.9rem; color: var(--ink-soft); }
code { background: var(--sand-200); padding: 0.1em 0.4em; border-radius: 5px; font-size: 0.88em; }

/* OVERVIEW */
.overview-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.prose p { margin: 0 0 1rem; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.facts li { padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.facts li span { display: inline-block; min-width: 150px; font-weight: 600; color: var(--stone-700); }
.facts li em { font-style: normal; }
.overview-figure { margin: 0; }
.overview-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.6rem; font-style: italic; }

/* MAP */
.mapview {
  height: 460px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  z-index: 1;
}
.map-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.8rem; text-align: center; }

/* TRAILS */
.trail-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.trail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.trail-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--clay); }
.trail-card.steps::before { background: var(--sky); }
.trail-card h3 { font-size: 1.5rem; }
.trail-card .arabic { color: var(--ink-soft); font-size: 0.9rem; margin: 0.15rem 0 1rem; }
.trail-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.badge { font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--sand-100); color: var(--stone-700); }
.trail-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem 1rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.trail-metrics li { display: flex; flex-direction: column; }
.trail-metrics .m-val { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.trail-metrics .m-lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); }
.trail-card p.desc { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 0.8rem; }
.trail-best { font-size: 0.85rem; color: var(--stone-700); }
.trail-best strong { color: var(--ink); }

/* TIMELINE */
.timeline { list-style: none; padding: 0; margin: 0 0 3rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 8px; bottom: 8px; width: 2px; background: var(--sand-200); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding: 0.8rem 0; position: relative; }
.t-mark { text-align: right; font-family: var(--font-display); font-weight: 700; color: var(--clay); font-size: 0.95rem; padding-top: 0.1rem; }
.t-body { position: relative; padding-left: 1.5rem; }
.t-body::before { content: ""; position: absolute; left: -6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--clay); }
.t-summit .t-body::before { background: var(--clay); }
.t-body h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.t-body p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.wide-figure { margin: 0; }
.wide-figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* MONASTERY */
.monastery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.monastery-grid figure { margin: 0; }
.monastery-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* TIPS */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.tip h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--stone-700); }
.tip p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* PRICES & BOOKING */
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.price-card.featured { border: 2px solid #25d366; }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #25d366; color: #08331b; font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.9rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px;
}
.price-card h3 { font-size: 1.4rem; }
.price { margin: 0.8rem 0 0; font-family: var(--font-display); }
.price .amount { font-size: 2.8rem; font-weight: 700; color: var(--clay); }
.price .cur { font-size: 1.1rem; font-weight: 600; color: var(--stone-700); }
.price-per { margin: 0.1rem 0 1.2rem; font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; }
.price-feat { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: start; }
.price-feat li { padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.price-feat li::before { content: "✓"; color: #25d366; font-weight: 700; margin-inline-end: 0.5rem; }
.price-card .btn-wa { width: 100%; justify-content: center; }

.book-contact { text-align: center; margin-top: 2.5rem; }
.contact-label { text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 700; color: var(--clay); margin: 0 0 0.3rem; }
.contact-phone { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-phone:hover { color: #1fbe5b; }
.price-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* FOOTER */
.footer { background: var(--ink); color: var(--sand-100); padding: 3rem clamp(1rem, 5vw, 2rem); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.foot-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-brand); letter-spacing: 0.5px; font-weight: 700; font-size: 1.15rem; margin: 0 0 0.5rem; }
.foot-logo { width: 34px; height: 34px; border-radius: 50%; }
.foot-note { font-size: 0.85rem; opacity: 0.7; margin: 0; max-width: 380px; }
.credits-title { font-weight: 600; font-size: 0.85rem; margin: 0 0 0.5rem; }
.credits ul { list-style: none; padding: 0; margin: 0; font-size: 0.78rem; opacity: 0.75; }
.credits li { padding: 0.15rem 0; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .overview-grid, .monastery-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .trail-cards { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .timeline::before { left: 70px; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 1rem; }
}

/* ARABIC / RTL */
[dir="rtl"] body,
[dir="rtl"] .lede,
[dir="rtl"] .prose p,
[dir="rtl"] .tip p,
[dir="rtl"] .t-body p,
[dir="rtl"] .trail-card p.desc,
[dir="rtl"] .facts li,
[dir="rtl"] .section-intro,
[dir="rtl"] .foot-note {
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .brand,
[dir="rtl"] .hero-stats .num,
[dir="rtl"] .t-mark,
[dir="rtl"] .trail-metrics .m-val,
[dir="rtl"] .foot-brand {
  font-family: "Cairo", var(--font-display), serif;
}

/* Timeline mirrors to the right in RTL */
[dir="rtl"] .timeline::before { left: auto; right: 90px; }
[dir="rtl"] .t-mark { text-align: left; }
[dir="rtl"] .t-body { padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .t-body::before { left: auto; right: -6px; }
[dir="rtl"] .facts li span { min-width: 170px; }
[dir="rtl"] .trail-card::before { right: 0; }

@media (max-width: 480px) {
  [dir="rtl"] .timeline::before { right: 70px; left: auto; }
}
