/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  padding-left: 1.2rem;
}
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

/* ========== Theme ========== */
:root {
  --primary: #e07a21;
  --primary-700: #c66615;
  --dark: #1c1c1c;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #faf7f3;
  --border: #ececec;
  --radius: 16px;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  --container: 1100px;
}

/* ========== Helpers ========== */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.section {
  padding: 4rem 0;
}
.bg-light {
  background: var(--bg-soft);
}
.bg-dark {
  background: #0f172a;
  color: #fff;
}
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* ========== Header ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.top-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  width: min(100%, var(--container));
  margin: 0 auto;
}
.top-bar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.logo img {
  width: 220px;
  height: auto;
}
.top-bar .language-selector a {
  font-size: 0.92rem;
  color: var(--primary);
  margin-left: 0.6rem;
}
.top-bar .language-selector a:hover {
  color: var(--primary-700);
}

/* Hamburger */
.nav-toggle {
  display: none;
}
.hamburger {
  display: none;
  cursor: pointer;
  width: 34px;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--dark);
  border-radius: 3px;
  transition: transform 0.2s, opacity 0.2s;
}
#nav-toggle:checked + .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#nav-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}
#nav-toggle:checked + .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Main Nav */
.main-nav {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 0.9rem 1rem;
  font-weight: 500;
  color: var(--dark);
}
.main-nav a:hover {
  color: var(--primary);
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(320px, 55vw, 520px);
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  color: #fff;
  z-index: 2;
}
.slide-content h1 {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.6rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.slide-content .btn {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
/* arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 0;
  font-size: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow.prev {
  left: 15px;
}
.hero-arrow.next {
  right: 15px;
}
.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* ========== Buttons ========== */
.btn,
button {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, opacity 0.2s;
}
.btn:hover,
button:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}
.btn.btn-small {
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

/* ========== About ========== */
#about .about-text p {
  color: #333;
}
#about ul {
  margin-top: 0.25rem;
}
#about .packs img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ========== Cards (Excursions) ========== */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}
.card img {
  border-radius: 12px;
  margin-bottom: 0.75rem;
}
.card h3 {
  margin: 0.4rem 0 0.25rem;
  font-size: 1.05rem;
}
.card p {
  color: var(--muted);
  margin: 0 0 0.8rem;
}

/* ========== Circuits (Slider) ========== */
.section-title {
  text-align: center;
  letter-spacing: 0.06em;
  font-weight: 800;
  margin-bottom: 1.6rem;
}
.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  vertical-align: middle;
  margin: 0 0.8rem;
}

.circuits {
  position: relative;
  color: #fff;
  padding: 4.5rem 0;
  overflow: hidden;
}
.circuits .container {
  position: relative;
  z-index: 1;
}
.circuits-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("images/circuits/bg-dunes.jpg") center/cover no-repeat;
  transform: scale(1.02);
  filter: saturate(1.05);
  z-index: 0;
}

.circuits-wrap {
  position: relative;
}
.circuits-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.circuits-track::-webkit-scrollbar {
  display: none;
}

.c-card {
  flex: 0 0 clamp(260px, 28vw, 360px);
  background: #fff;
  color: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
}
.c-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}
.c-card img {
  width: 100%;
  height: clamp(180px, 24vw, 240px);
  object-fit: cover;
  display: block;
}
.c-card-body {
  padding: 1rem 1.1rem;
}
.c-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.c-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  font-size: 26px;
  line-height: 42px;
  z-index: 2;
  display: none;
}
.c-prev {
  left: -4px;
}
.c-next {
  right: -4px;
}
@media (min-width: 980px) {
  .c-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 899px) {
  .c-card {
    flex-basis: clamp(260px, 80vw, 340px);
  }
}

/* ========== Testimonials ========== */
#testimonials .reviews {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

/* ========== Activities ========== */
#activities ul {
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ========== Footer ========== */
footer {
  margin-top: 3rem;
  background: #0b1220;
  color: #cbd5e1;
  padding: 2rem 1rem;
  text-align: center;
}
footer a {
  color: #e5e7eb;
}
footer a:hover {
  color: #fff;
}

/* ========== Mobile ========== */
@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }
  .top-bar {
    position: relative;
  }
  .hamburger {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .main-nav {
    position: fixed;
    inset: 60px 0 auto 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    background: #fff;
    z-index: 999;
  }
  .top-bar:has(#nav-toggle:checked) + .main-nav {
    max-height: 60vh;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem 1rem;
  }
  .main-nav a {
    padding: 0.8rem 0;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .section {
    padding: 3rem 0;
  }
}
/* headings spacing */
section h2 {
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
  margin-bottom: 0.75rem;
}
section p {
  margin: 0 0 0.75rem;
}

/* nos pack */
.packs {
  text-align: center;
}

.main-image img {
  width: 400px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.thumbs img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

.thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/*  language */

/* Language dropdown */
.lang-dropdown {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.lang-btn .flag {
  border-radius: 2px;
  display: block;
}
.lang-btn .chev {
  opacity: 0.7;
}
.lang-btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 0.35rem;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 20;
}
.lang-menu.show {
  display: block;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
}
.lang-menu a:hover {
  background: #f6f6f6;
}
.lang-menu .flag {
  border-radius: 2px;
}

/* في الموبايل خليه على سطر واحد */
@media (max-width: 700px) {
  .lang-btn {
    padding: 0.4rem 0.6rem;
  }
}

/* icon */

/* Social icons in footer */
.social-links {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}
.social-links .social {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e5e7eb; /* لون الأيقونة */
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
.social-links .social:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary); /* ينسجم مع البرتقالي ديالك */
  border-color: rgba(255, 255, 255, 0.35);
}

/*  icon fix */

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  /* background: #25D366; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 10px 22px rgba(0,0,0,.25); */
  z-index: 9999;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

/* 8/29/2025 Note : add style for Excursions page */

/* ===== Excursion pages (mini hero + breadcrumb + gallery) ===== */
.breadcrumb {
  font-size: .95rem; color: #94a3b8; margin: .5rem 0 1rem;
}
.breadcrumb a { color: #cbd5e1; }
.breadcrumb a:hover { color: #fff; }

.hero-mini {
  position: relative;
  height: clamp(220px, 36vw, 360px);
  overflow: hidden; border-radius: 0;
}
.hero-mini img {
  width: 100%; height: 100%; object-fit: cover; filter: brightness(.82);
}
.hero-mini .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15));
}
.hero-mini .title {
  position: absolute; inset: 0; display: grid; place-items: end start;
  padding: 1.2rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-mini .title h1 { margin: 0 0 .25rem; font-size: clamp(1.4rem, 2.4vw + .6rem, 2.2rem); }

.ex-row {
  display: grid; gap: 1.6rem; grid-template-columns: 1fr;
}
@media (min-width: 900px){ .ex-row { grid-template-columns: 1.15fr .85fr; } }

.ex-gallery {
  display: grid; gap: .6rem; grid-template-columns: repeat(4, 1fr);
}
.ex-gallery img{
  width:100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; cursor: pointer;
  box-shadow: var(--shadow);
}
.ex-hero {
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.ex-hero img { width:100%; aspect-ratio: 16/10; object-fit: cover; }

.info-list { margin: .4rem 0 1rem; padding-left: 1rem; color:#334155; }
.info-box {
  background:#fff; border:1px solid var(--border); border-radius: 14px; padding:1rem; box-shadow: var(--shadow);
}
.badge {
  display:inline-block; background:#f1f5f9; color:#0f172a; border-radius:999px; padding:.25rem .6rem; font-size:.85rem; margin-right:.4rem;
}

.cta-strip {
  display:flex; gap:.6rem; flex-wrap:wrap; align-items:center;
  background:#0f172a; color:#fff; border-radius:16px; padding:1rem; box-shadow: var(--shadow);
}
.cta-strip a.btn { margin:0; }

/* part 2 */
/* ===== Excursion page bits ===== */
/* .hero-mini{ position:relative; height: clamp(240px, 34vw, 360px); overflow:hidden; }
.hero-mini img{ width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.85); }
.hero-mini .overlay{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.45)); }
.hero-mini .title{ position:absolute; inset:auto 0 10% 0; color:#fff; }
.breadcrumb{ font-size:.92rem; opacity:.9; margin-bottom:.25rem; }
.badge{ display:inline-block; padding:.25rem .5rem; border:1px solid rgba(255,255,255,.6); border-radius:999px; font-size:.85rem; }

.ex-row{ display:grid; grid-template-columns: 1.2fr .8fr; gap:2rem; align-items:start; }
@media (max-width: 900px){ .ex-row{ grid-template-columns:1fr; } }

.info-box{ background:#fff; border:1px solid var(--border, #ececec); border-radius:16px; box-shadow: var(--shadow, 0 10px 20px rgba(0,0,0,.06)); padding:1.25rem; }
.info-list{ margin:.5rem 0 1rem; padding-left:1.1rem; }
.info-list li{ margin:.25rem 0; }

.ex-hero img{ width:100%; aspect-ratio: 4/3; object-fit:cover; border-radius:14px; border:1px solid var(--border, #ececec); box-shadow: var(--shadow, 0 10px 20px rgba(0,0,0,.06)); }
.ex-gallery{ display:grid; grid-template-columns: repeat(4, 1fr); gap:.5rem; }
.ex-gallery img{ width:100%; aspect-ratio: 1/1; object-fit:cover; border-radius:10px; cursor:pointer; border:1px solid var(--border, #ececec); transition: transform .12s ease; }
.ex-gallery img:hover{ transform: translateY(-2px); }

.tarifs{ width:100%; border-collapse:collapse; margin:.25rem 0 1rem; }
.tarifs td{ padding:.6rem .75rem; border-bottom:1px solid var(--border, #ececec); }
.tarifs tr:last-child td{ border-bottom:0; }

.cta-strip{ display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; background:var(--bg-soft, #faf7f3); border:1px solid var(--border, #ececec); border-radius:12px; padding:.8rem; }
.cta-strip .btn{ margin-left:auto; }
@media (max-width: 640px){ .cta-strip{ flex-direction:column; align-items:flex-start; } .cta-strip .btn{ margin-left:0; } } */

