/* ============================================================
  Day Excursion Marrakech — style.css
  Premium Moroccan tourism landing page
  Colors, layout, animations, responsive design

  Sections:
  1.  CSS Reset & Base
  2.  CSS Custom Properties (colors, spacing, typography)
  3.  Typography & Utilities
  4.  Buttons
  5.  Scroll Fade-in Animation
  6.  Header & Navbar
  7.  Hero Section
  8.  Excursions / Tour Cards
  9.  Why Choose Us
  10. What's Included
  11. Gallery
  12. Destinations
  13. Testimonials
  14. CTA Section
  15. Contact Section
  16. Footer
  17. Back to Top
  18. Responsive (tablet, mobile)
============================================================ */


/* ── 1. CSS RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ── 2. CSS CUSTOM PROPERTIES ── */
:root {
  /* Brand colors — edit here to retheme the whole site */
  --bg:         #FFF8F0;   /* Main background (warm cream) */
  --bg-alt:     #FEF3E5;   /* Alternate section background */
  --bg-card:    #FFFFFF;   /* Card background */
  --text:       #1F1B16;   /* Dark body text */
  --text-muted: #6B5E52;   /* Secondary / muted text */
  --orange:     #D97706;   /* Desert orange (primary accent) */
  --terracotta: #B45309;   /* Terracotta (secondary accent) */
  --sand:       #F5D6A3;   /* Sand / light gold */
  --sand-dark:  #E8C07A;   /* Deeper sand */
  --blue:       #0F4C5C;   /* Deep Moroccan blue */
  --blue-light: #1a6b80;   /* Lighter blue accent */
  --green:      #2F6B4F;   /* Palm green */
  --white:      #FFFFFF;
  --border:     rgba(31, 27, 22, 0.12);
  --border-sand: rgba(217, 119, 6, 0.18);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(31, 27, 22, 0.08);
  --shadow-md:  0 6px 24px rgba(31, 27, 22, 0.12);
  --shadow-lg:  0 12px 48px rgba(31, 27, 22, 0.16);
  --shadow-orange: 0 8px 32px rgba(217, 119, 6, 0.28);

  /* Border radius */
  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* Layout */
  --max-w: 1200px;
  --section-py: 96px;
}


/* ── 3. TYPOGRAPHY & UTILITIES ── */

/* Container */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections */
.section {
  padding: var(--section-py) 0;
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(217, 119, 6, 0.10);
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.section-badge--sand {
  color: var(--sand);
  background: rgba(245, 214, 163, 0.15);
  border-color: rgba(245, 214, 163, 0.30);
}

.section-badge--light {
  color: #FEF3E5;
  background: rgba(255, 248, 240, 0.15);
  border-color: rgba(255, 248, 240, 0.30);
}

.section-title {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
}

/* Text gradient (orange → terracotta) */
.text-gradient {
  background: linear-gradient(135deg, var(--orange) 0%, var(--terracotta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── 4. BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  padding: 11px 24px;
  transition: all 0.22s ease;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

/* Primary: desert orange */
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--terracotta) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(217, 119, 6, 0.38);
  filter: brightness(1.05);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: rgba(217, 119, 6, 0.08);
  transform: translateY(-2px);
}

/* Tour card button */
.btn-tour {
  background: transparent;
  color: var(--orange);
  border-color: var(--border-sand);
  font-size: 13px;
  padding: 8px 18px;
}
.btn-tour:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-1px);
}

/* Large */
.btn-large {
  font-size: 15px;
  padding: 14px 32px;
}

/* Full width */
.btn-block {
  width: 100%;
  justify-content: center;
}

/* White (for CTA section) */
.btn-white {
  background: var(--white);
  color: var(--terracotta);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Ghost white (for CTA section) */
.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.40);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* WhatsApp */
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30);
  transition: all 0.22s ease;
  margin-top: 8px;
}
.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
}


/* ── 5. SCROLL FADE-IN ANIMATION ── */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid children */
.tours-grid .tour-card:nth-child(2) .fade-in,
.why-grid   .why-card:nth-child(2),
.reviews-grid .review-card:nth-child(2) { transition-delay: 0.1s; }

.tours-grid .tour-card:nth-child(3) .fade-in,
.why-grid   .why-card:nth-child(3),
.reviews-grid .review-card:nth-child(3) { transition-delay: 0.2s; }

.tours-grid .tour-card:nth-child(4) .fade-in,
.why-grid   .why-card:nth-child(4) { transition-delay: 0.3s; }

.tours-grid .tour-card:nth-child(5) { transition-delay: 0.1s; }
.tours-grid .tour-card:nth-child(6) { transition-delay: 0.2s; }

/* Floating animation (hero card) */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

/* Background gradient pulse (hero) */
@keyframes bgPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.08); }
}


/* ── 6. HEADER & NAVBAR ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--orange);
  font-size: 14px;
}

.logo-highlight {
  color: var(--orange);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  background: rgba(217, 119, 6, 0.07);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 248, 240, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s ease;
}

.mobile-nav.open {
  max-height: 500px;
  padding: 12px 0 24px;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px;
}

.mobile-nav-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover { color: var(--orange); }

.mobile-cta {
  display: inline-flex;
  justify-content: center;
  margin-top: 12px;
  width: 100%;
}


/* ── 7. HERO SECTION ── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background-color: var(--bg);
  overflow: hidden;
}

/* Moroccan geometric tile pattern (SVG encoded) */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 0L0 28L28 56L56 28L28 0zm0 8L48 28L28 48L8 28L28 8z' fill='%23D97706' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  pointer-events: none;
}

/* Desert sun glow */
.hero-sun-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.14) 0%, rgba(245, 214, 163, 0.06) 55%, transparent 75%);
  border-radius: 50%;
  animation: bgPulse 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--terracotta);
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(217, 119, 6, 0); }
}

/* Hero title */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Hero CTA buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Trust line below CTAs */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Hero Visual (right side) ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}

/* Decorative ring behind the card */
.hero-deco-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px dashed rgba(217, 119, 6, 0.20);
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

/* Hero booking card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 340px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
}

/* ── HERO CARD PREVIEW IMAGE PLACEHOLDER ──
   Replace with a real photo:
   <div class="hero-card-preview" style="background-image: url('images/atlas-hero.jpg'); background-size: cover; background-position: center;">
── END NOTE ── */
.hero-card-preview {
  background: linear-gradient(155deg, #1a3a5c 0%, #2d6b8e 35%, #8b5e3c 70%, #d97706 100%);
  height: 190px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.hero-card-destination {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(0,0,0,0.30);
  border-radius: 100px;
  padding: 4px 10px;
  width: fit-content;
}

.hero-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.stars {
  color: #F4B942;
  font-size: 12px;
  letter-spacing: 1px;
}

.hero-card-body {
  padding: 20px;
}

.hero-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* Floating info chips */
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  z-index: 3;
  white-space: nowrap;
}

.chip-top {
  top: 24px;
  left: -32px;
}

.chip-bottom {
  bottom: 32px;
  right: -28px;
}

.chip-emoji {
  font-size: 16px;
  line-height: 1;
}


/* ── 8. EXCURSIONS / TOUR CARDS ── */

.excursions {
  background: var(--bg-alt);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tour-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Tour image placeholder — replaced later with a real photo */
.tour-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
}

/* Tour preview photo overlay — darkens the bottom for readability */
.tour-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
  z-index: 0;
}

.tour-preview .tour-badge,
.tour-preview .tour-preview-inner {
  position: relative;
  z-index: 1;
}

.tour-preview-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-emoji {
  font-size: 48px;
  opacity: 0.7;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.tour-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  background: rgba(0,0,0,0.40);
  border-radius: 100px;
  padding: 4px 10px;
  backdrop-filter: blur(4px);
}

.badge--popular {
  background: rgba(217, 119, 6, 0.85);
}

.tour-card-body {
  padding: 22px;
}

.tour-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.tour-name {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.tour-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}


/* ── 9. WHY CHOOSE US ── */

.why-us {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.wi--orange {
  background: rgba(217, 119, 6, 0.10);
  color: var(--orange);
}
.wi--blue {
  background: rgba(15, 76, 92, 0.10);
  color: var(--blue);
}
.wi--green {
  background: rgba(47, 107, 79, 0.10);
  color: var(--green);
}

.why-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ── 10. WHAT'S INCLUDED ── */

.included {
  background: var(--bg-alt);
}

.included-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.included-item:hover {
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: 0 2px 12px rgba(217, 119, 6, 0.08);
}

.inc-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--orange), var(--terracotta));
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}


/* ── 11. GALLERY ── */

.gallery {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* Gallery cards use real Unsplash photos via inline background-image */

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.10) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 22px;
  transition: background 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
}

.gallery-emoji {
  display: none;
}

.gallery-label {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  letter-spacing: 0.04em;
}


/* ── 12. DESTINATIONS ── */

.destinations {
  background: var(--bg-alt);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dest-card {
  display: flex;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dest-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.dest-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.dest-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ── 13. TESTIMONIALS ── */

.testimonials {
  background: var(--bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 72px;
  line-height: 1;
  color: var(--sand);
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}

.review-stars {
  font-size: 16px;
  color: #F4B942;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ra--orange { background: linear-gradient(135deg, var(--orange), var(--terracotta)); }
.ra--blue   { background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.ra--green  { background: linear-gradient(135deg, var(--green), #4a9a6a); }

.review-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.review-from {
  font-size: 13px;
  color: var(--text-muted);
}


/* ── 14. CTA SECTION ── */

.cta-section {
  background: var(--bg-alt);
}

.cta-card {
  background: linear-gradient(135deg, var(--blue) 0%, #1a6b80 40%, var(--terracotta) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Moroccan pattern overlay in CTA */
.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 0L0 28L28 56L56 28L28 0zm0 8L48 28L28 48L8 28L28 8z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.25;
}

.cta-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ── 15. CONTACT SECTION ── */

.contact {
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

/* Contact info cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--border);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-card:hover {
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-sm);
}

.cc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cci--orange { background: rgba(217, 119, 6, 0.10); color: var(--orange); }
.cci--blue   { background: rgba(15, 76, 92, 0.10);  color: var(--blue); }
.cci--green  { background: rgba(47, 107, 79, 0.10); color: var(--green); }

.cc-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.cc-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  word-break: break-word;
}

a.cc-value:hover { color: var(--orange); }

/* Booking form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.req { color: var(--orange); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0a494;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5E52' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}


/* ── 16. FOOTER ── */

.footer {
  background: #1A1410;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-icon {
  color: var(--orange);
}

.footer-logo .logo-highlight {
  color: var(--orange);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.90);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a,
.footer-links li span {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-links li a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--orange);
}


/* ── 17. BACK TO TOP ── */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--orange), var(--terracotta));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 90;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.45);
}


/* ── 18. RESPONSIVE ── */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {

  :root { --section-py: 72px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    justify-items: center;
  }

  .hero-subtitle { max-width: 560px; }
  .hero-actions   { justify-content: center; }
  .hero-trust     { justify-content: center; text-align: center; }
  .hero-badge     { justify-content: center; }

  .hero-visual { width: 100%; max-width: 420px; }
  .chip-top    { left: 0; }
  .chip-bottom { right: 0; }

  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid   { grid-template-columns: repeat(2, 1fr); }

  .included-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .included-left { text-align: center; }
  .included-left .section-title,
  .included-left .section-subtitle { text-align: center; }
  .included-left .btn { margin-left: auto; margin-right: auto; }

  .dest-grid    { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; gap: 20px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .cta-card { padding: 52px 36px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

  :root { --section-py: 56px; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  /* Hero */
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }

  .hero-chip { display: none; }
  .hero-deco-ring { width: 280px; height: 280px; }

  /* Tours */
  .tours-grid { grid-template-columns: 1fr; }

  /* Why Us */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-card { padding: 40px 24px; border-radius: var(--radius-lg); }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-large { font-size: 14px; padding: 12px 24px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 24px 20px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-card { width: 100%; max-width: 320px; }

  .why-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }

  .included-grid { grid-template-columns: 1fr; }

  .reviews-grid { grid-template-columns: 1fr; }

  .section-header { margin-bottom: 40px; }
}
