/* Wadi Rum Balloons — mobile first. No framework, no build step. */

:root {
  --ink:        #1F1913;
  --ink-soft:   #4A3F35;
  --muted:      #7A6A5C;
  --sand:       #FAF6F0;
  --sand-2:     #F1E8DC;
  --line:       #E2D6C6;
  --rust:       #B4522F;
  --rust-dark:  #8C3A1E;
  --gold:       #E0A05A;
  --night:      #241A14;

  --wrap: 1120px;
  --radius: 4px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: .8em; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; }

a { color: var(--rust-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 680px; }

/*
  Off-screen-hiding via left:-9999px creates 10,000px of real horizontal overflow
  once the document direction is RTL. Clip-based hiding behaves in both directions.
*/
.skip {
  position: absolute;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  padding: 0;
  background: var(--ink); color: #fff; z-index: 100;
}
.skip:focus {
  width: auto; height: auto; overflow: visible;
  clip: auto; clip-path: none; padding: 10px 16px;
  inset-inline-start: 12px; top: 12px;
}

.hidden {
  position: absolute;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.opt { color: var(--muted); font-weight: 400; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 66px;
}
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .92rem;
}
.nav nav a:hover { color: var(--rust-dark); }

/* Nav links collapse on small screens — the CTA always survives. */
@media (max-width: 720px) {
  .nav nav a:not(.btn) { display: none; }
}

.brand { text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand__mark {
  display: block; font-family: var(--serif); font-size: 1.15rem;
  letter-spacing: .01em;
}
.brand__sub {
  display: block; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .22em; color: var(--rust); margin-top: 1px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rust); color: #fff;
  padding: 11px 20px; border-radius: var(--radius);
  border: 1px solid var(--rust);
  font-size: .95rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, transform .05s ease;
  font-family: inherit;
}
.btn:hover  { background: var(--rust-dark); border-color: var(--rust-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm    { padding: 8px 15px; font-size: .88rem; }
.btn--lg    { padding: 14px 28px; font-size: 1.02rem; }
.btn--full  { width: 100%; }
.btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- hero ---------- */

/*
  Hero photograph. The gradient layered over it is not decoration — it holds the
  headline legible against a bright desert image. Keep it when swapping the photo.
  The fallback colour shows while the image loads.
*/
.hero {
  position: relative;
  background-color: #6B3A24;
  background-image:
    /* Horizontal scrim: darkens the left, where the text sits, and leaves the
       right side of the photograph legible. */
    linear-gradient(to right, rgba(18,12,9,.78) 0%, rgba(18,12,9,.55) 42%, rgba(18,12,9,.12) 78%, rgba(18,12,9,0) 100%),
    linear-gradient(to bottom, rgba(18,12,9,.45) 0%, rgba(18,12,9,.18) 40%, rgba(18,12,9,.45) 100%),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(80px, 16vw, 150px) 0 clamp(64px, 11vw, 110px);
  overflow: hidden;
}
/* Text needs a little more protection on narrow screens where the crop tightens. */
/* On narrow screens the crop tightens and text spans the full width, so the
   horizontal scrim no longer helps — go back to an even vertical one. */
@media (max-width: 640px) {
  .hero {
    background-image:
      linear-gradient(to bottom, rgba(18,12,9,.72) 0%, rgba(18,12,9,.52) 50%, rgba(18,12,9,.68) 100%),
      url("images/hero.jpg");
  }
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__lede {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: rgba(255,255,255,.9); max-width: 56ch; margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  margin-top: 1.6rem; font-size: .87rem; color: rgba(255,255,255,.72);
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .72rem;
  color: var(--gold); margin-bottom: 1.1rem;
}

/* ---------- sections ---------- */

.section { padding: clamp(56px, 9vw, 96px) 0; }
.section--tight { padding-top: 0; }
.section--book { background: var(--sand-2); border-block: 1px solid var(--line); }
.section__lede { color: var(--ink-soft); margin-bottom: 2rem; max-width: 60ch; }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); gap: 56px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card h3 { color: var(--rust-dark); }
.card p  { color: var(--ink-soft); margin: 0; }

/* ---------- placeholders ---------- */

.gallery { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }

.shot { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.shot img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* The in-basket frame is portrait — give it room rather than crushing it to 4:3. */
.shot--tall img { aspect-ratio: 3 / 4; }
@media (min-width: 760px) {
  .shot--tall img { aspect-ratio: 4 / 3; object-position: center 62%; }
}

.gallery__note {
  margin: 14px 0 0; font-size: .82rem; color: var(--muted);
}

/* ---------- lists ---------- */

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative; padding-left: 28px; margin-bottom: 12px;
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  position: absolute; left: 4px; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.ticks--plain li::before { background: var(--line); }
.ticks strong { color: var(--ink); font-weight: 600; }

/* ---------- price ---------- */

.pricebox {
  margin-top: 28px; padding: 18px 20px;
  border: 2px dashed var(--rust);
  border-radius: var(--radius);
  background: #fff;
}
/* Real price set — solid border, no longer a placeholder. */
.pricebox--set { border: 1px solid var(--line); }
.pricebox--set .pricebox__value { font-size: 1.7rem; }
.pricebox__label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 4px;
}
.pricebox__value {
  font-family: var(--serif); font-size: 1.3rem; color: var(--rust-dark);
  margin-bottom: 6px;
}
.pricebox__note { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- form ---------- */

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink); }

.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff; color: var(--ink);
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--rust);
  outline-offset: 1px;
  border-color: var(--rust);
}

.row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }

.form__foot { font-size: .84rem; color: var(--muted); margin: 4px 0 0; }

/* ---------- faq ---------- */

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer; font-weight: 500; font-size: 1.02rem;
  list-style: none; position: relative; padding-right: 28px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: -2px;
  font-size: 1.3rem; color: var(--rust); font-weight: 400;
}
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--ink-soft); max-width: 62ch; }

/* ---------- footer ---------- */

.footer {
  background: var(--night); color: rgba(255,255,255,.72);
  padding: 56px 0 28px; margin-top: 0;
}
.footer__inner {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1.5fr 1fr; } }
.footer .brand__mark { color: #fff; margin-bottom: 8px; }
.footer a { color: var(--gold); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p { margin: 0 0 6px; }
.footer .muted { color: rgba(255,255,255,.55); }
.credits { padding-top: 20px; margin: 0 0 6px; max-width: 70ch; line-height: 1.5; }
.credits a { color: rgba(255,255,255,.7); }
.copyright { margin: 0; }


/* ---------- services page ---------- */

.banner {
  position: relative;
  background-color: #6B3A24;
  background-image:
    linear-gradient(to right, rgba(18,12,9,.80) 0%, rgba(18,12,9,.55) 45%, rgba(18,12,9,.18) 80%, rgba(18,12,9,.05) 100%),
    linear-gradient(to bottom, rgba(18,12,9,.35) 0%, rgba(18,12,9,.20) 50%, rgba(18,12,9,.45) 100%),
    url("images/services-hero.jpg");
  background-size: cover;
  background-position: center 55%;
  color: #fff;
  padding: clamp(56px, 10vw, 104px) 0;
}
@media (max-width: 640px) {
  .banner {
    background-image:
      linear-gradient(to bottom, rgba(18,12,9,.68) 0%, rgba(18,12,9,.50) 50%, rgba(18,12,9,.66) 100%),
      url("images/services-hero.jpg");
  }
}
.banner__inner { max-width: 700px; }
.banner h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .4em; }
.banner__lede { color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.9vw, 1.15rem); margin: 0; max-width: 46ch; }

/* Camp list: dense multi-column so ~56 names stay scannable rather than a long scroll. */
.camps {
  list-style: none; padding: 0; margin: 0 0 18px;
  columns: 1; column-gap: 32px;
}
@media (min-width: 560px) { .camps { columns: 2; } }
@media (min-width: 900px) { .camps { columns: 3; } }
.camps li {
  break-inside: avoid;
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--ink-soft);
  font-size: .93rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.camps li::before {
  content: ""; position: absolute; left: 2px; top: 1.05em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.camps__note { color: var(--muted); font-size: .9rem; max-width: 62ch; margin: 18px 0 26px; }
.camps__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn--outline {
  background: transparent; color: var(--rust-dark); border-color: var(--line);
}
.btn--outline:hover { background: #fff; color: var(--rust-dark); border-color: var(--rust); }

/* ---------- language switcher ---------- */

.langs { display: flex; align-items: center; gap: 2px; }
.langs a {
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 4px 7px; border-radius: 3px;
}
.langs a:hover { color: var(--rust-dark); background: var(--sand-2); }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.langs span { color: var(--line); font-size: .7rem; }

/* Keep the switcher visible on mobile even though other nav links collapse. */
@media (max-width: 720px) {
  .nav nav .langs { display: flex; }
  .langs a { padding: 4px 5px; }
}

/* ---------- right-to-left (Arabic) ---------- */

[dir="rtl"] body { font-family: "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: inherit; letter-spacing: 0; }

/* Bullets and padding must mirror, or list markers land on the wrong side. */
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .ticks li::before { left: auto; right: 4px; }
[dir="rtl"] .camps li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .camps li::before { left: auto; right: 2px; }
[dir="rtl"] summary { padding-right: 0; padding-left: 28px; }
[dir="rtl"] summary::after { right: auto; left: 4px; }

/* The hero scrim is directional — flip it so the dark side stays under the text. */
[dir="rtl"] .hero {
  background-image:
    linear-gradient(to left, rgba(18,12,9,.78) 0%, rgba(18,12,9,.55) 42%, rgba(18,12,9,.12) 78%, rgba(18,12,9,0) 100%),
    linear-gradient(to bottom, rgba(18,12,9,.45) 0%, rgba(18,12,9,.18) 40%, rgba(18,12,9,.45) 100%),
    url("images/hero.jpg");
  background-position: center 42%;
}
[dir="rtl"] .banner {
  background-image:
    linear-gradient(to left, rgba(18,12,9,.80) 0%, rgba(18,12,9,.55) 45%, rgba(18,12,9,.18) 80%, rgba(18,12,9,.05) 100%),
    linear-gradient(to bottom, rgba(18,12,9,.35) 0%, rgba(18,12,9,.20) 50%, rgba(18,12,9,.45) 100%),
    url("images/services-hero.jpg");
}
@media (max-width: 640px) {
  [dir="rtl"] .hero {
    background-image:
      linear-gradient(to bottom, rgba(18,12,9,.72) 0%, rgba(18,12,9,.52) 50%, rgba(18,12,9,.68) 100%),
      url("images/hero.jpg");
  }
}

/* Latin-script fragments inside Arabic text (prices, phone numbers, brand name)
   must stay left-to-right or the digits reorder. */
[dir="rtl"] .ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }
[dir="rtl"] .brand__sub { letter-spacing: .1em; }

/* Footer navigation — gives crawlers a path between pages from anywhere on the site. */
.footer__links { padding-top: 20px; margin: 0 0 10px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer__links a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer__links a:hover { color: var(--gold); text-decoration: underline; }
