/* Saharas Morocco Travel — main stylesheet */
:root {
  /* palette taken from the Sahara Morocco Travel logo */
  --navy: #3a1e0c;        /* deep desert brown (headings, dark UI) */
  --navy-deep: #140b05;   /* near-black, like the logo background */
  --gold: #d4892a;
  --gold-light: #f0b04a;
  --red: #c1121f;         /* "Morocco" red */
  --green: #136b32;       /* "Travel" green */
  --terracotta: #b5532f;
  --sand: #f7f0e4;
  --sand-dark: #ecdfc8;
  --ink: #1d1d1f;
  --muted: #5d5a55;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 41, 75, .12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 12px;
}
.hero .eyebrow, .banner .eyebrow { color: var(--gold-light); }
.gallery .eyebrow { color: var(--gold-light); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.ornament { display: block; width: 90px; height: 12px; margin: 14px auto 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 8px 20px rgba(200, 137, 43, .35); }
.btn-gold:hover { background: #b57a22; }
.btn-outline { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb455; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.scrolled { background: rgba(247, 240, 228, .97); box-shadow: 0 2px 20px rgba(0,0,0,.08); padding: 10px 0; backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; white-space: nowrap; }
.brand-name b { font-weight: 700; transition: color .3s; }
.brand-name .c1 { color: var(--gold-light); }
.brand-name .c2 { color: #ff4b4b; }
.brand-name .c3 { color: #4fc06f; }
.brand-sub { font-family: var(--font-display); font-style: italic; font-size: .82rem; color: rgba(255,255,255,.85); margin-top: 4px; white-space: nowrap; }
.scrolled .brand-name .c1 { color: #7a3b12; }
.scrolled .brand-name .c2 { color: var(--red); }
.scrolled .brand-name .c3 { color: var(--green); }
.scrolled .brand-sub { color: var(--green); }

.menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: var(--white); font-size: .93rem; font-weight: 500; transition: color .2s; }
.menu a:hover { color: var(--gold-light); }
.scrolled .menu a { color: var(--navy); }
.scrolled .menu a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang a { padding: 6px 11px; text-decoration: none; color: var(--white); }
.lang a[aria-current="true"] { background: var(--gold); color: var(--white); }
.scrolled .lang { border-color: var(--sand-dark); }
.scrolled .lang a { color: var(--navy); }
.scrolled .lang a[aria-current="true"] { color: var(--white); }
.nav-actions .btn { padding: 10px 18px; font-size: .88rem; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--white); }
.scrolled .burger { color: var(--navy); }
.burger svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,11,5,.85) 0%, rgba(20,11,5,.55) 45%, rgba(20,11,5,.1) 100%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-content { max-width: 680px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 54px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; color: var(--gold-light); line-height: 1; }
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 6px; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--white); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Features strip */
.features { background: var(--navy); color: var(--white); padding: 38px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature svg { width: 36px; height: 36px; color: var(--gold-light); flex: none; }
.feature strong { display: block; font-size: 1rem; }
.feature span { font-size: .87rem; color: rgba(255,255,255,.7); }

/* Tours */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--sand-dark); background: var(--white);
  font-family: inherit; font-size: .9rem; font-weight: 500; color: var(--navy); cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--gold); }
.filter.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tour {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.tour:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(19,41,75,.18); }
.tour.hidden { display: none; }
.tour-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour:hover .tour-media img { transform: scale(1.07); }
.tour-badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: var(--white); font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.tour-days { position: absolute; bottom: 14px; right: 14px; background: var(--gold); color: var(--white); font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; }
.tour-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-body h3 { font-size: 1.45rem; margin-bottom: 8px; }
.tour-route { font-size: .83rem; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.tour-body p { color: var(--muted); font-size: .93rem; }
.tour-highlights { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.tour-highlights li { font-size: .76rem; background: var(--sand); color: var(--navy); padding: 4px 10px; border-radius: 6px; }
.tour-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--sand-dark); }
.tour-foot small { color: var(--muted); font-size: .8rem; }
.tour-foot .btn { padding: 9px 18px; font-size: .85rem; }

/* Camp split */
.camp { background: var(--white); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media .main { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.split-media .inset {
  position: absolute; right: -24px; bottom: -36px; width: 46%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checklist svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }

/* Experiences */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exp { background: var(--white); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--sand-dark); transition: border-color .2s, transform .2s; }
.exp:hover { border-color: var(--gold); transform: translateY(-4px); }
.exp-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; margin-bottom: 18px; }
.exp-icon svg { width: 28px; height: 28px; color: var(--gold); }
.exp h3 { font-size: 1.35rem; }
.exp p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Banner */
.banner { position: relative; color: var(--white); text-align: center; padding: clamp(90px, 14vw, 160px) 0; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(20,11,5,.55); z-index: -1; }
.banner h2 { color: var(--white); max-width: 820px; margin: 0 auto 18px; }
.banner p { max-width: 600px; margin: 0 auto 30px; color: rgba(255,255,255,.88); font-size: 1.1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { text-align: center; padding: 0 10px; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
}
.step p { color: var(--muted); font-size: .95rem; }

/* Gallery */
.gallery { background: var(--navy-deep); }
.gallery .section-head h2 { color: var(--white); }
.gallery .section-head p { color: rgba(255,255,255,.7); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-grid button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #000; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.gallery-grid button:hover img { transform: scale(1.06); opacity: .9; }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { background: var(--white); border-radius: 12px; margin-bottom: 12px; border: 1px solid var(--sand-dark); overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--navy); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 70px); align-items: start; }
.contact-info ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: center; }
.contact-info li .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; flex: none; }
.contact-info li svg { width: 22px; height: 22px; color: var(--gold); }
.contact-info small { display: block; color: var(--muted); font-size: .8rem; }
.contact-info a { text-decoration: none; font-weight: 600; color: var(--navy); }
.form { background: var(--sand); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand-dark); border-radius: 10px; background: var(--white);
  font-family: inherit; font-size: .95rem; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 110px; resize: vertical; }
.form .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }

/* Footer */
.footer-logo { display: inline-block; text-decoration: none; }
.footer-logo img { width: 100%; max-width: 300px; height: auto; mix-blend-mode: lighten; }
.footer-logo .brand-name { display: none; }
.footer-logo.missing img { display: none; }
.footer-logo.missing .brand-name { display: inline; }
.site-footer { border-top: 4px solid var(--red); box-shadow: inset 0 4px 0 var(--green); }
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold-light); }
.socials svg { width: 18px; height: 18px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); color: #fff;
  animation: pulse 2.5s infinite;
}
.wa-float svg { width: 32px; height: 32px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 8px 24px rgba(0,0,0,.25); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 8px 24px rgba(0,0,0,.25); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .tours-grid, .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--navy-deep);
    flex-direction: column; align-items: flex-start; padding: 100px 32px 32px; gap: 22px;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -10px 0 30px rgba(0,0,0,.3);
  }
  .menu.open { transform: none; }
  .menu a, .scrolled .menu a { color: var(--white); font-size: 1.15rem; }
  .nav-actions .btn { display: none; }
  .burger { position: relative; z-index: 60; }
  .menu.open ~ .nav-actions .burger, body.menu-open .burger { color: var(--white); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media .inset { right: 12px; bottom: -28px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tours-grid, .exp-grid, .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .wide { grid-column: span 2; }
  .checklist { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { display: none; }
  .brand svg { width: 38px; height: 38px; }
  .lang a { padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
