/* ══════════════════════════════════════════════════════
   exp.css — Experiences Marketplace shared stylesheet
   Morocco Airport Transfer · airport.autokhalid.com
   ══════════════════════════════════════════════════════ */

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

:root {
  --gold:      #0369A1;
  --gold2:     #0EA5E9;
  --cta:       #F97316;
  --dark:      #F0F9FF;
  --navy:      #E0F2FE;
  --light:     #0C4A6E;
  --desert:    #D97706;
  --cultural:  #7C3AED;
  --adventure: #059669;
  --card-r:    14px;
  --shadow:    0 4px 24px rgba(3,105,161,.12);
}

html { overflow-x: hidden; }
body { font-family: 'Manrope', sans-serif; background: #fff; color: #1e293b; overflow-x: hidden; max-width: 100vw; }
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Nav ─────────────────────────────────────────────── */
.exp-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
}
.exp-nav-logo { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: -.3px; }
.exp-nav-logo span { color: var(--gold2); }
.exp-nav-links { display: flex; gap: 1.5rem; list-style: none; }
.exp-nav-links a { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; transition: color .2s; }
.exp-nav-links a:hover { color: #fff; }
.exp-nav-links a.active { color: var(--cta); }
.exp-nav-back { color: rgba(255,255,255,.7); font-size: .85rem; display: flex; align-items: center; gap: .4rem; transition: color .2s; }
.exp-nav-back:hover { color: #fff; }
.exp-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.exp-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: background .3s, transform .3s, opacity .3s; }
.exp-hamburger.open span { background: #fff; }
.exp-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.exp-hamburger.open span:nth-child(2) { opacity: 0; }
.exp-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Marketplace Hero ─────────────────────────────────── */
.market-hero {
  background: linear-gradient(135deg, var(--light) 0%, var(--gold) 60%, var(--gold2) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center; color: #fff;
}
.market-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: .75rem; }
.market-hero p { font-size: 1.1rem; opacity: .9; max-width: 560px; margin: 0 auto 2rem; }

/* ── Search Bar ───────────────────────────────────────── */
.market-search-wrap {
  max-width: 560px; margin: 0 auto;
  position: relative;
}
.market-search {
  width: 100%; padding: 1rem 1.25rem 1rem 3rem;
  border: none; border-radius: 50px;
  font-size: 1rem; font-family: 'Manrope', sans-serif;
  background: #fff; color: #1e293b;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  outline: none;
}
.market-search::placeholder { color: #94a3b8; }
.market-search-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: #94a3b8; font-size: 1.1rem; pointer-events: none;
}

/* ── Category Filters ─────────────────────────────────── */
.market-filters {
  background: #fff; border-bottom: 1px solid var(--navy);
  position: sticky; top: 64px; z-index: 90;
}
.market-filters-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 2rem; overflow-x: auto;
  scrollbar-width: none;
}
.market-filters-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0;
  padding: .55rem 1.25rem;
  border-radius: 50px; border: 2px solid var(--navy);
  background: #fff; color: #64748b;
  font-family: 'Manrope', sans-serif; font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.filter-btn:hover { border-color: var(--gold2); color: var(--gold); }
.filter-btn.active { background: var(--light); border-color: var(--light); color: #fff; }
.filter-btn[data-cat="desert"].active  { background: var(--desert);    border-color: var(--desert); }
.filter-btn[data-cat="cultural"].active { background: var(--cultural);  border-color: var(--cultural); }
.filter-btn[data-cat="adventure"].active{ background: var(--adventure); border-color: var(--adventure); }

/* ── Activity Grid ────────────────────────────────────── */
.market-grid-section { padding: 3rem 2rem; background: var(--dark); }
.market-grid-inner { max-width: 1200px; margin: 0 auto; }
.market-grid-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.market-grid-header h2 { font-size: 1.4rem; color: var(--light); }
.market-count { font-size: .9rem; color: #64748b; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Activity Card ────────────────────────────────────── */
.act-card {
  background: #fff; border-radius: var(--card-r);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.act-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(3,105,161,.18); }
.act-card-img {
  position: relative; height: 200px; overflow: hidden;
}
.act-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.act-card:hover .act-card-img img { transform: scale(1.05); }
.act-badge {
  position: absolute; top: .75rem; left: .75rem;
  padding: .3rem .75rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: #fff;
}
.act-badge.desert   { background: var(--desert); }
.act-badge.cultural { background: var(--cultural); }
.act-badge.adventure{ background: var(--adventure); }

.act-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.act-card-title { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--light); }
.act-card-desc { font-size: .875rem; color: #64748b; line-height: 1.55; flex: 1; }
.act-card-meta {
  display: flex; gap: .75rem; flex-wrap: wrap;
  font-size: .8rem; color: #94a3b8; margin-top: .25rem;
}
.act-card-meta span { display: flex; align-items: center; gap: .25rem; }
.act-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-top: 1px solid var(--navy);
}
.act-price { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--light); }
.act-price span { font-size: .75rem; font-weight: 500; color: #94a3b8; }
.act-cta {
  padding: .5rem 1.1rem; border-radius: 8px;
  background: var(--cta); color: #fff;
  font-size: .85rem; font-weight: 700;
  transition: background .2s, transform .15s;
}
.act-cta:hover { background: #ea6c00; transform: scale(1.04); }

/* No results */
.market-no-results {
  grid-column: 1/-1; text-align: center;
  padding: 3rem; color: #94a3b8; font-size: 1rem;
}

/* ── CTA Banner ───────────────────────────────────────── */
.market-cta-banner {
  background: linear-gradient(135deg, var(--light), var(--gold));
  padding: 4rem 2rem; text-align: center; color: #fff;
}
.market-cta-banner h2 { font-size: 2rem; margin-bottom: .75rem; }
.market-cta-banner p { opacity: .9; margin-bottom: 1.75rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.market-cta-btn {
  display: inline-block; padding: .9rem 2.2rem;
  background: var(--cta); color: #fff;
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .15s;
}
.market-cta-btn:hover { background: #ea6c00; transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════
   INDIVIDUAL ACTIVITY PAGE STYLES
   ══════════════════════════════════════════════════════ */

/* ── Activity Hero ────────────────────────────────────── */
.act-hero {
  position: relative; height: 520px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.act-hero-bg { position: absolute; inset: 0; }
.act-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.act-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,74,110,.92) 0%, rgba(12,74,110,.4) 50%, transparent 100%);
}
.act-hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 2.5rem 2rem; color: #fff;
}
.act-category-badge {
  display: inline-block; padding: .35rem .9rem;
  border-radius: 50px; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px; color: #fff;
  margin-bottom: 1rem;
}
.act-category-badge.desert   { background: var(--desert); }
.act-category-badge.cultural { background: var(--cultural); }
.act-category-badge.adventure{ background: var(--adventure); }

.act-hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: .75rem; letter-spacing: -.3px; }
.act-quick-facts {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: .9rem; opacity: .9; margin-top: .25rem;
}
.act-quick-facts span { display: flex; align-items: center; gap: .35rem; }

/* ── Sticky Book Bar ──────────────────────────────────── */
.act-book-bar {
  position: sticky; top: 64px; z-index: 89;
  background: #fff; border-bottom: 2px solid var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.act-book-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 2rem; gap: 1rem;
}
.act-book-bar-price { font-size: 1.2rem; font-weight: 700; color: var(--light); }
.act-book-bar-price span { font-size: .85rem; font-weight: 500; color: #64748b; }
.act-book-bar-cta {
  padding: .7rem 1.8rem; border-radius: 10px;
  background: var(--cta); color: #fff;
  font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.act-book-bar-cta:hover { background: #ea6c00; transform: scale(1.03); }

/* ── Activity Body Layout ─────────────────────────────── */
.act-body { padding: 3rem 2rem; }
.act-body-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start;
}

/* ── Main Content ─────────────────────────────────────── */
.act-main { display: flex; flex-direction: column; gap: 2.5rem; }
.act-section h2 { font-size: 1.4rem; color: var(--light); margin-bottom: .85rem; padding-bottom: .5rem; border-bottom: 2px solid var(--navy); }
.act-section h3 { font-size: 1.05rem; color: var(--light); margin-bottom: .6rem; }
.act-section p { color: #475569; line-height: 1.75; font-size: .95rem; margin-bottom: .75rem; }
.act-section ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.act-section ul li { font-size: .9rem; color: #475569; display: flex; align-items: flex-start; gap: .6rem; }
.act-section ul li::before { content: '✓'; color: var(--adventure); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Photo Gallery ────────────────────────────────────── */
.act-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: .75rem; border-radius: 12px; overflow: hidden;
}
.act-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.act-gallery img:hover { transform: scale(1.03); }
.act-gallery-main { grid-row: 1 / 3; }

/* ── Info Grid ────────────────────────────────────────── */
.act-info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.act-info-item {
  background: var(--dark); border-radius: 10px; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.act-info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: #94a3b8; font-weight: 600; }
.act-info-value { font-size: .95rem; font-weight: 700; color: var(--light); }

/* ── Sidebar Booking Card ─────────────────────────────── */
.act-sidebar { position: sticky; top: 130px; }
.act-booking-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(3,105,161,.15);
  overflow: hidden; border: 1px solid var(--navy);
}
.act-booking-card-header {
  background: var(--light); padding: 1.5rem;
  color: #fff; text-align: center;
}
.act-booking-card-header .price-from { font-size: .8rem; opacity: .8; margin-bottom: .2rem; }
.act-booking-card-header .price-main { font-size: 2rem; font-weight: 800; font-family: 'Sora', sans-serif; }
.act-booking-card-header .price-unit { font-size: .85rem; opacity: .75; }
.act-booking-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.act-booking-detail {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: .75rem; border-bottom: 1px solid var(--navy);
  font-size: .9rem;
}
.act-booking-detail:last-of-type { border-bottom: none; }
.act-booking-detail .label { color: #64748b; }
.act-booking-detail .value { font-weight: 700; color: var(--light); }
.act-booking-cta {
  display: block; text-align: center;
  padding: 1rem; border-radius: 10px;
  background: var(--cta); color: #fff;
  font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .15s;
  margin-top: .5rem;
}
.act-booking-cta:hover { background: #ea6c00; transform: translateY(-2px); }
.act-booking-note { text-align: center; font-size: .78rem; color: #94a3b8; margin-top: .5rem; }

/* ── Similar Experiences ──────────────────────────────── */
.act-similar { padding: 3rem 2rem; background: var(--dark); }
.act-similar-inner { max-width: 1200px; margin: 0 auto; }
.act-similar h2 { font-size: 1.5rem; color: var(--light); margin-bottom: 1.5rem; }
.act-similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ── Footer ───────────────────────────────────────────── */
.exp-footer {
  background: var(--light); color: rgba(255,255,255,.7);
  text-align: center; padding: 2rem;
  font-size: .85rem;
}
.exp-footer a { color: var(--gold2); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .act-body-inner { grid-template-columns: 1fr 300px; }
  .act-similar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .exp-nav-links { display: none; }
  .exp-hamburger { display: flex; }
  .exp-nav-links.open {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--light); padding: 1rem 2rem 1.5rem;
    gap: 1rem; box-shadow: 0 8px 20px rgba(0,0,0,.2);
  }

  .market-grid { grid-template-columns: 1fr; }
  .act-body-inner { grid-template-columns: 1fr; }
  .act-sidebar { position: static; }
  .act-similar-grid { grid-template-columns: 1fr; }
  .act-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .act-gallery-main { grid-row: auto; }
  .act-info-grid { grid-template-columns: 1fr 1fr; }
  .act-hero { height: 400px; }
  .act-book-bar-inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

@media (max-width: 480px) {
  .market-hero { padding: 3.5rem 1.25rem 3rem; }
  .market-grid-section { padding: 2rem 1rem; }
  .market-filters-inner { padding: .75rem 1rem; }
  .act-body { padding: 2rem 1rem; }
  .act-info-grid { grid-template-columns: 1fr; }
  .act-quick-facts { gap: .75rem; font-size: .8rem; }
}
