:root {
  --cedar-shadow: #16241c;
  --cedar: #2f4a37;
  --leaf: #8aa84a;
  --terracotta: #b5482b;
  --limestone: #f3eee1;
  --slate: #26271c;
  --line: rgba(243, 238, 225, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--limestone);
  color: var(--slate);
  font-family: "Literata", serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
.display {
  font-family: "Fjalla One", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 400;
  line-height: 1.05;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
section {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAV ---------- */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(22, 36, 28, 0);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
  padding: 22px 0;
}
header.nav.scrolled {
  background: rgba(22, 36, 28, 0.92);
  backdrop-filter: blur(6px);
  padding: 13px 0;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--leaf);
}
.brand span {
  color: var(--limestone);
  font-family: "Fjalla One", sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}
.brand .ar {
  font-family: "Literata", serif;
  font-size: 13px;
  color: var(--leaf);
  display: block;
  letter-spacing: 0;
  text-transform: none;
}
nav.links {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav.links a {
  color: var(--limestone);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Fjalla One", sans-serif;
  opacity: 0.85;
}
nav.links a:hover {
  opacity: 1;
  color: var(--leaf);
}
.nav-cta {
  background: var(--leaf);
  color: var(--cedar-shadow) !important;
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 12px !important;
}
.lang-switch {
  display: inline-flex;
  gap: 8px;
}
.lang-switch a.active {
  opacity: 1;
  color: var(--leaf);
  pointer-events: none;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--limestone);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(
      180deg,
      rgba(20, 30, 24, 0.35) 0%,
      rgba(15, 22, 17, 0.55) 55%,
      rgba(10, 15, 11, 0.92) 100%
    ),
    url("assets/mountain-valley-snow.jpg") center 30% / cover no-repeat;
  padding-bottom: 0;
}
.hero-inner {
  width: 100%;
  padding: 160px 0 0;
}
.eyebrow {
  color: var(--leaf);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--leaf);
  display: inline-block;
}
.hero h1 {
  color: var(--limestone);
  font-size: clamp(34px, 8vw, 96px);
  max-width: 880px;
}
.hero h1 em {
  color: var(--leaf);
  font-style: normal;
}
.hero p.lead {
  color: var(--limestone);
  opacity: 0.88;
  max-width: 540px;
  margin-top: 24px;
  font-size: 18px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 3px;
  font-family: "Fjalla One", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-leaf {
  background: var(--leaf);
  color: var(--cedar-shadow);
}
.btn-outline {
  border-color: rgba(243, 238, 225, 0.5);
  color: var(--limestone);
}
.btn-outline:hover {
  border-color: var(--leaf);
  color: var(--leaf);
}

/* marquee strip */
.ticker {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.18);
}
.ticker-track {
  display: inline-block;
  animation: scroll 32s linear infinite;
}
.ticker span {
  color: var(--limestone);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 0 34px;
  opacity: 0.8;
}
.ticker span b {
  color: var(--leaf);
  font-weight: 500;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- SECTION HEADERS as waymark ---------- */
.section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}
.waymark-tag {
  background: var(--leaf);
  color: var(--cedar-shadow);
  border: 2px solid var(--cedar-shadow);
  padding: 7px 16px;
  font-family: "Fjalla One", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  transform: rotate(-1.2deg);
  box-shadow: 3px 3px 0 var(--cedar-shadow);
}
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--slate);
}
.section-sub {
  color: var(--cedar);
  max-width: 620px;
  margin-top: -26px;
  margin-bottom: 46px;
  font-size: 16px;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 120px 0 100px;
  background: var(--limestone);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo img {
  border-radius: 4px;
  box-shadow: 0 20px 50px -20px rgba(20, 30, 20, 0.5);
}
.about-photo .cap {
  position: absolute;
  bottom: -18px;
  inset-inline-start: -18px;
  background: var(--cedar-shadow);
  color: var(--limestone);
  padding: 10px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  border-inline-start: 3px solid var(--leaf);
}
.about-text p {
  margin-bottom: 18px;
  font-size: 17px;
}
.about-text .arabic {
  font-size: 17px;
  color: var(--cedar);
  border-inline-end: 3px solid var(--leaf);
  padding-inline-end: 16px;
  direction: rtl;
  margin-bottom: 24px;
  font-style: italic;
}
.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat {
  font-family: "IBM Plex Mono", monospace;
}
.stat b {
  display: block;
  font-family: "Fjalla One", sans-serif;
  font-size: 28px;
  color: var(--cedar);
}
.stat span {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7468;
}

/* ---------- SUMMITS / waymark signs ---------- */
.summits {
  background: var(--cedar-shadow);
  padding: 110px 0 110px;
  color: var(--limestone);
}
.summits .section-head h2 {
  color: var(--limestone);
}
.summits .waymark-tag {
  box-shadow: 3px 3px 0 var(--limestone);
}
.summit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sign {
  background: var(--leaf);
  border: 3px solid var(--cedar-shadow);
  outline: 2px solid var(--limestone);
  outline-offset: -9px;
  padding: 22px 16px 24px;
  position: relative;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}
.sign:hover {
  transform: translateY(-6px);
}
.sign .ar-name {
  font-size: 20px;
  text-align: center;
  color: var(--cedar-shadow);
  font-family: "Literata", serif;
  font-weight: 600;
}
.sign hr {
  border: none;
  border-top: 2px solid var(--cedar-shadow);
  margin: 8px 0;
}
.sign .fr-name {
  font-family: "Fjalla One", sans-serif;
  font-size: 15px;
  text-align: center;
  color: var(--cedar-shadow);
}
.sign .alt {
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  color: var(--cedar-shadow);
  margin-top: 6px;
  font-weight: 600;
}
.sign .note {
  margin-top: 14px;
  font-family: "Literata", serif;
  font-size: 13px;
  color: #3a2c10;
  text-align: center;
  line-height: 1.4;
}
.summit-foot {
  margin-top: 46px;
  max-width: 680px;
  color: rgba(243, 238, 225, 0.78);
  font-size: 15.5px;
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 110px 0;
  background: var(--limestone);
}
.gal-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gal-item:hover img {
  transform: scale(1.06);
}
.gal-item.tall {
  grid-row: span 2;
}
.gal-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 11, 0.88));
  color: var(--limestone);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

/* ---------- ACTIVITIES ---------- */
.activities {
  padding: 100px 0;
  background: #ece5d2;
}
.act-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.act-card {
  background: var(--limestone);
  border: 1px solid rgba(20, 30, 20, 0.1);
  padding: 34px 28px;
  border-top: 4px solid var(--terracotta);
}
.act-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--cedar-shadow);
}
.act-card p {
  font-size: 15px;
  color: #48503f;
}
.act-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
}

/* ---------- SERVICE AREA ---------- */
.service {
  padding: 100px 0;
  background: var(--limestone);
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.post-list {
  list-style: none;
}
.post-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 30, 20, 0.12);
  font-family: "Fjalla One", sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.post-list li::before {
  content: "→";
  color: var(--terracotta);
  font-size: 16px;
}
html[dir="rtl"] .post-list li::before {
  content: "←";
}
.post-list li b.mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #8a8270;
  letter-spacing: 0.05em;
  margin-inline-start: auto;
  text-transform: none;
  font-weight: 400;
}
.service-note {
  font-size: 15.5px;
  color: var(--cedar);
  margin-top: 26px;
}
.info-card {
  background: var(--cedar-shadow);
  color: var(--limestone);
  padding: 36px;
  border-radius: 4px;
}
.info-card .row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.info-card .row:last-child {
  border-bottom: none;
}
.info-card .row span.l {
  color: rgba(243, 238, 225, 0.6);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.info-card .row span.v {
  text-align: end;
  font-family: "Fjalla One", sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.info-card .row span.v.addr {
  max-width: 220px;
}
.badge-open {
  background: var(--leaf);
  color: var(--cedar-shadow);
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
}

/* ---------- CONTACT ---------- */
.contact {
  background:
    linear-gradient(180deg, rgba(15, 22, 17, 0.92), rgba(15, 22, 17, 0.96)),
    url("assets/cedar-forest-trail.jpg") center/cover;
  padding: 120px 0 100px;
  color: var(--limestone);
  text-align: center;
}
.contact h2 {
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 18px;
}
.contact p.lead {
  max-width: 540px;
  margin: 0 auto 40px;
  opacity: 0.85;
  font-size: 17px;
}
.contact-grid {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.ccard {
  background: rgba(243, 238, 225, 0.06);
  border: 1px solid var(--line);
  padding: 26px 30px;
  min-width: 210px;
  text-align: start;
  border-radius: 4px;
}
.ccard .l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--leaf);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ccard .v {
  font-family: "Fjalla One", sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.ccard a:hover {
  color: var(--leaf);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--cedar-shadow);
  color: rgba(243, 238, 225, 0.55);
  padding: 36px 0;
  font-size: 13px;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.foot-row .fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--limestone);
  font-family: "Fjalla One", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.foot-row .fbrand img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.foot-links a {
  margin-inline-start: 18px;
}
.foot-links a:hover {
  color: var(--leaf);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  nav.links {
    display: none;
  }
  .burger {
    display: flex;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .summit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gal-item.tall {
    grid-row: span 1;
  }
  .act-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .summit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gal-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding-top: 128px;
  }
  .about,
  .summits,
  .gallery,
  .activities,
  .service,
  .contact {
    padding-top: 74px;
    padding-bottom: 74px;
  }
  .info-card .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .info-card .row span.v {
    text-align: start;
  }
  .info-card .row span.v.addr {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .summit-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- RTL ADJUSTMENTS ---------- */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .display,
html[dir="rtl"] .mono,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .waymark-tag,
html[dir="rtl"] nav.links a,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .stat span,
html[dir="rtl"] .post-list li,
html[dir="rtl"] .info-card .row span.l,
html[dir="rtl"] .info-card .row span.v,
html[dir="rtl"] .ccard .l,
html[dir="rtl"] .ccard .v,
html[dir="rtl"] .brand span,
html[dir="rtl"] .fbrand,
html[dir="rtl"] .mobile-panel a {
  letter-spacing: normal;
}

/* mobile nav panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--cedar-shadow);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-panel.open {
  transform: translateY(0);
}
.mobile-panel a {
  color: var(--limestone);
  font-family: "Fjalla One", sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.mobile-panel .lang-switch {
  margin-top: 6px;
  gap: 18px;
}
.mobile-panel .lang-switch a {
  font-size: 16px;
  opacity: 0.65;
}
.mobile-panel .lang-switch a.active {
  opacity: 1;
  color: var(--leaf);
}
.mobile-close {
  position: absolute;
  top: 26px;
  right: 28px;
  background: none;
  border: none;
  color: var(--limestone);
  font-size: 28px;
  cursor: pointer;
}
