@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --sand: #E8D5B0;
  --desert: #C4A265;
  --terracotta: #C1623F;
  --rust: #9B3A1E;
  --dusk: #2C1A0E;
  --midnight: #1A0F07;
  --cream: #F7F0E3;
  --warm-white: #FDF8F0;
  --gold: #D4A843;
  --sage: #8B9E7A;
  --paypal-blue: #003087;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--dusk);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(26, 15, 7, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(26, 15, 7, 0.92);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--cream); text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(247,240,227,0.8);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--dusk) !important;
  background: var(--gold); padding: 0.6rem 1.4rem;
  border-radius: 2px; text-decoration: none;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--desert) !important; color: var(--cream) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,15,7,0.72) 0%,
    rgba(44,26,14,0.55) 50%,
    rgba(155,58,30,0.3) 100%
  );
}
.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2C1A0E 0%, #7A3B1E 40%, #C4A265 100%);
}
.hero-content {
  position: relative; text-align: center;
  max-width: 820px; padding: 0 2rem;
  animation: fadeUp 1.2s ease both;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300; line-height: 1.08;
  color: var(--cream); margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300; line-height: 1.7;
  color: rgba(247,240,227,0.85);
  max-width: 560px; margin: 0 auto 2.5rem;
}
.btn-primary {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  color: var(--dusk); background: var(--gold);
  padding: 1rem 2.5rem; border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--sand); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  color: var(--cream); border: 1.5px solid rgba(247,240,227,0.5);
  padding: 0.95rem 2.5rem; border-radius: 2px;
  transition: all 0.25s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(247,240,227,0.6); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(247,240,227,0.6), transparent);
}

/* ── SECTIONS ── */
section { padding: 6rem 5%; }
.section-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.2;
  color: var(--dusk); margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--terracotta); }
.section-sub {
  font-size: 1rem; font-weight: 300; line-height: 1.7;
  color: rgba(44,26,14,0.65); max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── HERO BUTTONS ── */
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── VIDEO SECTION ── */
.video-section {
  background: var(--warm-white);
  padding: 6rem 5%;
  border-top: 1px solid rgba(44,26,14,0.07);
}
.video-section-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.video-bullets { list-style: none; margin-top: 1.5rem; }
.video-bullets li {
  font-size: 0.88rem; font-weight: 300; color: rgba(44,26,14,0.65);
  padding: 0.55rem 0; display: flex; align-items: center; gap: 0.65rem;
  border-bottom: 1px solid rgba(44,26,14,0.07);
}
.video-bullets li::before { content: '→'; color: var(--gold); flex-shrink: 0; }

.video-player-wrap { position: relative; }
.inline-video {
  width: 100%; border-radius: 4px;
  box-shadow: 0 16px 60px rgba(44,26,14,0.18);
  display: block;
  background: var(--dusk);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-caption {
  font-size: 0.75rem; color: rgba(44,26,14,0.4);
  text-align: center; margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .video-section-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── VALUE PROPS ── */
.values { background: var(--dusk); }
.values .section-title { color: var(--cream); }
.values .section-sub { color: rgba(247,240,227,0.65); }
.values .section-label { color: var(--gold); }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px; margin-top: 4rem;
}
.value-card {
  background: rgba(247,240,227,0.04);
  padding: 2.5rem 2rem;
  border-left: 1px solid rgba(247,240,227,0.08);
  transition: background 0.3s;
  opacity: 0; transform: translateY(30px);
  transition: background 0.3s, opacity 0.6s, transform 0.6s;
}
.value-card.visible { opacity: 1; transform: translateY(0); }
.value-card:hover { background: rgba(247,240,227,0.08); }
.value-icon {
  font-size: 1.8rem; margin-bottom: 1.2rem;
  display: block;
}
.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.88rem; font-weight: 300; line-height: 1.7;
  color: rgba(247,240,227,0.6);
}

/* ── HOW IT WORKS ── */
.how { background: var(--cream); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem; margin-top: 4rem; position: relative;
}
.step {
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.step.visible { opacity: 1; transform: translateY(0); }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300;
  color: rgba(196,162,101,0.25); line-height: 1;
  margin-bottom: 0.5rem;
}
.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
  color: var(--dusk); margin-bottom: 0.5rem;
}
.step p { font-size: 0.88rem; font-weight: 300; line-height: 1.6; color: rgba(44,26,14,0.6); }

/* ── TRIPS GRID ── */
.trips { background: var(--warm-white); }
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem; margin-top: 4rem;
}
.trip-card {
  background: #fff; border-radius: 4px;
  overflow: hidden; box-shadow: 0 2px 20px rgba(44,26,14,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s, box-shadow 0.3s;
}
.trip-card.visible { opacity: 1; transform: translateY(0); }
.trip-card:hover { box-shadow: 0 8px 40px rgba(44,26,14,0.14); transform: translateY(-4px); }
.trip-card-img {
  position: relative; height: 220px; overflow: hidden;
  background: linear-gradient(135deg, var(--desert), var(--terracotta));
}
.trip-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.trip-card:hover .trip-card-img img { transform: scale(1.06); }
.trip-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(26,15,7,0.7); backdrop-filter: blur(8px);
  color: var(--gold); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 2px;
}
.trip-card-body { padding: 1.5rem; }
.trip-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400;
  color: var(--dusk); margin-bottom: 0.5rem;
}
.trip-card-body p {
  font-size: 0.85rem; font-weight: 300; line-height: 1.6;
  color: rgba(44,26,14,0.6); margin-bottom: 1.2rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.trip-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem; padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(44,26,14,0.08);
}
.trip-duration { font-size: 0.8rem; color: rgba(44,26,14,0.5); font-weight: 400; }
.trip-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; color: var(--terracotta);
}
.trip-card-actions { display: flex; gap: 0.75rem; }
.btn-card-view {
  flex: 1; text-align: center;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  color: var(--dusk); border: 1.5px solid rgba(44,26,14,0.2);
  padding: 0.7rem; border-radius: 2px;
  transition: all 0.2s;
}
.btn-card-view:hover { border-color: var(--dusk); background: rgba(44,26,14,0.04); }
.btn-card-buy {
  flex: 1; text-align: center;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--terracotta);
  padding: 0.7rem; border-radius: 2px;
  transition: background 0.2s;
}
.btn-card-buy:hover { background: var(--rust); }

/* ── TRUST ── */
.trust {
  background: var(--sand);
  position: relative; overflow: hidden;
}
.trust::before {
  content: 'MOROCCO';
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 12vw; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(44,26,14,0.06); pointer-events: none; white-space: nowrap;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 3.5rem;
}
.trust-item {
  display: flex; gap: 1rem; align-items: flex-start;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.6s, transform 0.6s;
}
.trust-item.visible { opacity: 1; transform: translateX(0); }
.trust-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta); flex-shrink: 0; margin-top: 0.5rem;
}
.trust-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400; color: var(--dusk);
  margin-bottom: 0.35rem;
}
.trust-item p { font-size: 0.85rem; font-weight: 300; line-height: 1.6; color: rgba(44,26,14,0.65); }

/* ── DELIVERY ── */
.delivery { background: var(--dusk); }
.delivery .section-title { color: var(--cream); }
.delivery .section-label { color: var(--gold); }
.delivery-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; margin-top: 4rem;
}
.delivery-text p {
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  color: rgba(247,240,227,0.75); margin-bottom: 1.5rem;
}
.delivery-list { list-style: none; }
.delivery-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; font-weight: 400;
  color: rgba(247,240,227,0.85);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(247,240,227,0.07);
}
.delivery-list li::before {
  content: '→'; color: var(--gold); font-size: 0.9rem; flex-shrink: 0;
}
.delivery-visual {
  background: rgba(247,240,227,0.05);
  border: 1px solid rgba(247,240,227,0.1);
  border-radius: 4px; padding: 3rem;
  text-align: center;
}
.delivery-visual .big-icon { font-size: 4rem; margin-bottom: 1rem; display: block; }
.delivery-visual h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--cream);
  margin-bottom: 0.5rem;
}
.delivery-visual p { font-size: 0.85rem; color: rgba(247,240,227,0.5); line-height: 1.6; }

/* ── FAQ ── */
.faq { background: var(--cream); }
.faq-list { max-width: 740px; margin: 3.5rem auto 0; }
.faq-item {
  border-bottom: 1px solid rgba(44,26,14,0.1);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; background: none; border: none; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--dusk);
  text-align: left;
}
.faq-q .faq-icon {
  font-size: 1.4rem; color: var(--terracotta);
  transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  font-size: 0.9rem; font-weight: 300; line-height: 1.7;
  color: rgba(44,26,14,0.65);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.5rem; }

.paypal-btn-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.paypal-btn-wrap > div,
.paypal-btn-wrap iframe {
  width: 100% !important;
  min-width: 0 !important;
}

/* ── TRIP DETAIL PAGE PayPal ── */
.paypal-detail-wrap {
  margin-bottom: 0.75rem;
}

/* ── FOOTER ── */
footer {
  background: var(--midnight); padding: 4rem 5% 2rem;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; flex-wrap: wrap; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247,240,227,0.08);
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { font-size: 1.6rem; display: block; margin-bottom: 0.75rem; }
.footer-brand p {
  font-size: 0.85rem; font-weight: 300; line-height: 1.6;
  color: rgba(247,240,227,0.45); max-width: 280px;
}
.footer-links h4 {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul a {
  font-size: 0.85rem; font-weight: 300;
  color: rgba(247,240,227,0.55); text-decoration: none; transition: color 0.2s;
}
.footer-links ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(247,240,227,0.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .delivery-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--midnight); align-items: center; justify-content: center;
    gap: 2rem; z-index: 99;
  }
  .nav-links.open a { font-size: 1.2rem; }
}
@media (max-width: 600px) {
  section { padding: 4rem 6%; }
  .trips-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .footer-top { flex-direction: column; }
}
