/* ============================================================
   ADVENTURE IN NEPAL — interactive media edition
   ============================================================ */

/* ── Header ─────────────────────────────────────────────── */
.adv-header {
  padding: 104px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--light-grey);
}
.adv-page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}
.adv-page-desc {
  font-size: .95rem; color: var(--mid-grey);
  max-width: 600px; line-height: 1.65; margin-bottom: 36px;
}

/* ── Wanna Try Adventure! — filter card ─────────────────── */
.adv-choose {
  display: flex; flex-direction: column; align-items: stretch; gap: 18px;
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 18px;
  box-shadow: 0 14px 44px rgba(0,0,0,.08);
  padding: 30px 34px;
  max-width: 560px;
}
.adv-choose-field { display: flex; flex-direction: column; gap: 10px; }

/* Main heading — left aligned */
.adv-choose-field:not(.adv-sec) .adv-choose-lbl {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; font-weight: 700; color: var(--text);
}
.adv-choose-field:not(.adv-sec) .adv-choose-lbl svg { color: var(--red); flex-shrink: 0; }

/* Base select — full width */
.adv-select {
  width: 100%; padding: 14px 46px 14px 18px; border-radius: 12px;
  background: var(--off-white); border: 1.5px solid var(--light-grey);
  font-size: .95rem; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: inherit; text-align: left;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.adv-select:hover { border-color: var(--mid-grey); background: #fff; }
.adv-select:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}

/* sub-filter labels — quieter, left aligned */
.adv-sec .adv-choose-lbl {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--mid-grey); text-align: left;
}
.adv-sec[hidden] { display: none; }

/* sub-filter dropdowns extend full width too */
.adv-sec .adv-dd, .adv-sec .adv-dd-btn { width: 100%; }


/* ── Main ───────────────────────────────────────────────── */
.adv-main { padding: 0 0 90px; }
.adv-section-head { padding: 44px 0 28px; }
.adv-section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 700; color: var(--text); margin-bottom: 10px;
}
.adv-section-head p {
  font-size: .94rem; color: var(--mid-grey);
  max-width: 640px; line-height: 1.65;
}

/* ── Region filter ──────────────────────────────────────── */
.adv-filter {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.adv-dd { position: relative; }
.adv-dd-btn {
  display: flex; align-items: center; gap: 10px;
  min-width: 200px; justify-content: space-between;
  padding: 11px 16px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--light-grey);
  font-size: .85rem; font-weight: 600; color: var(--text);
  cursor: pointer; transition: border-color .2s;
}
.adv-dd-btn:hover { border-color: var(--dark-blue); }
.adv-dd-btn svg { color: var(--mid-grey); flex-shrink: 0; }
.adv-dd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 50;
  min-width: 240px; background: #fff;
  border: 1px solid var(--light-grey); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  padding: 6px; max-height: 320px; overflow-y: auto;
}
.adv-dd-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  font-size: .85rem; color: var(--dark-grey);
}
.adv-dd-opt:hover { background: var(--off-white); }
.adv-dd-opt input { accent-color: var(--dark-blue); width: 16px; height: 16px; cursor: pointer; }
.adv-dd-opt-name { flex: 1; }
.adv-dd-opt-count {
  font-size: .72rem; font-weight: 700; color: var(--mid-grey);
  background: var(--off-white); border-radius: 20px; padding: 2px 9px;
}
.adv-route-select {
  min-width: 220px; padding: 11px 16px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--light-grey);
  font-size: .85rem; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: inherit;
}
.adv-route-select:hover { border-color: var(--dark-blue); }
.adv-no-region {
  font-size: .9rem; color: var(--mid-grey);
  padding: 32px 0; text-align: center;
}

/* ── Region groups ──────────────────────────────────────── */
.adv-region-group { margin-bottom: 40px; }
.adv-region-group:last-child { margin-bottom: 0; }
.adv-region-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--light-grey);
}
.adv-region-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; font-weight: 700; color: var(--text);
}
.adv-region-count {
  font-size: .75rem; font-weight: 600; color: var(--mid-grey);
  text-transform: uppercase; letter-spacing: .05em;
}

/* ── Card grid ──────────────────────────────────────────── */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.adv-card {
  border: none; padding: 0; cursor: pointer; text-align: left;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,.16); }

.adv-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.adv-card-emoji {
  font-size: 3.4rem; filter: drop-shadow(0 2px 10px rgba(0,0,0,.4));
}
.adv-card-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .3s;
}
.adv-card:hover .adv-card-video { opacity: 1; }
.adv-card-diff {
  position: absolute; top: 12px; left: 12px;
}

.adv-card-body { padding: 14px 16px 18px; }
.adv-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.02rem; font-weight: 700; color: var(--text);
  margin-bottom: 4px; line-height: 1.25;
}
.adv-card-season { font-size: .78rem; color: var(--mid-grey); font-weight: 500; }

/* ── Difficulty badges ──────────────────────────────────── */
.adv-badge {
  display: inline-block; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 20px; white-space: nowrap;
}
.adv-badge--easy     { background: #dcfce7; color: #166534; }
.adv-badge--moderate { background: #fef3c7; color: #92400e; }
.adv-badge--hard     { background: #fee2e2; color: #991b1b; }
.adv-card-diff.adv-badge--easy,
.adv-card-diff.adv-badge--moderate,
.adv-card-diff.adv-badge--hard { box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* ── Permits & Info tab ─────────────────────────────────── */
.adv-info-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px;
  align-items: start;
}
.adv-info-h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 14px;
}
.adv-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); font-size: .85rem;
}
.adv-table th {
  background: var(--dark-blue); color: #fff;
  text-align: left; padding: 11px 14px; font-weight: 600; font-size: .78rem;
}
.adv-table td { padding: 11px 14px; border-bottom: 1px solid var(--light-grey); color: var(--dark-grey); }
.adv-table tr:last-child td { border-bottom: none; }
.adv-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--text); }
.adv-note {
  font-size: .82rem; color: var(--mid-grey);
  margin-top: 14px; line-height: 1.6;
}
.adv-note a { color: var(--red); }

.adv-info-side { display: flex; flex-direction: column; gap: 16px; }
.adv-info-card {
  background: #fff; border: 1px solid var(--light-grey);
  border-radius: 12px; padding: 18px 20px;
}
.adv-info-card--tip { background: #fff8ed; border-color: #fde8c8; }
.adv-info-card h4 {
  font-size: .9rem; font-weight: 700; color: var(--text);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--light-grey);
}
.adv-info-card--tip h4 { color: #92400e; border-bottom-color: #fde8c8; }
.adv-diff-list, .adv-tip-list, .adv-link-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.adv-diff-list li { font-size: .82rem; color: var(--dark-grey); line-height: 1.5; }
.adv-diff-list .adv-badge { margin-right: 6px; }
.adv-tip-list li {
  font-size: .82rem; color: var(--dark-grey); line-height: 1.5;
  padding-left: 16px; position: relative;
}
.adv-tip-list li::before { content: '→'; position: absolute; left: 0; color: #d97706; font-weight: 700; }
.adv-link-list li { font-size: .85rem; }
.adv-link-list a { color: var(--red); font-weight: 600; text-decoration: none; }
.adv-link-list a:hover { opacity: .75; }

/* ── Lightbox ───────────────────────────────────────────── */
.adv-lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(12,17,24,.93); backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.adv-lightbox.open { opacity: 1; pointer-events: auto; }

.adv-lb-close {
  position: fixed; top: 16px; right: 16px; z-index: 1300;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  transition: background .2s, transform .2s;
}
.adv-lb-close:hover { background: rgba(0,0,0,.85); transform: scale(1.1); }

.adv-lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 1300;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: #0c1118;
  font-size: 24px; line-height: 1; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.adv-lb-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.adv-lb-prev { left: 18px; }
.adv-lb-next { right: 18px; }

.adv-lb-panel {
  display: flex; width: 100%; max-width: 880px; max-height: 84vh;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: adv-lb-in .25s ease;
}
@keyframes adv-lb-in { from { opacity:0; transform:scale(.95);} to { opacity:1; transform:scale(1);} }

.adv-lb-media {
  flex: 0 0 50%; position: relative; min-height: 340px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.adv-lb-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-lb-emoji { font-size: 6rem; filter: drop-shadow(0 3px 12px rgba(0,0,0,.4)); }

.adv-lb-info {
  flex: 1; padding: 32px 28px; overflow-y: auto;
  display: flex; flex-direction: column;
}
.adv-lb-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.adv-lb-season { font-size: .78rem; color: var(--mid-grey); font-weight: 600; }
.adv-lb-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 700; color: var(--text);
  line-height: 1.2; margin-bottom: 12px;
}
.adv-lb-desc { font-size: .9rem; color: var(--dark-grey); line-height: 1.7; margin-bottom: 20px; }

.adv-lb-stats {
  display: flex; flex-direction: column; gap: 0; margin-bottom: 22px;
}
.adv-lb-stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--light-grey);
}
.adv-lb-stat:last-child { border-bottom: none; }
.adv-lb-stat-label { font-size: .8rem; color: var(--mid-grey); }
.adv-lb-stat-val { font-size: .85rem; font-weight: 700; color: var(--text); }

.adv-lb-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.adv-lb-link {
  font-size: .8rem; font-weight: 600; text-decoration: none;
  padding: 9px 16px; border-radius: 22px;
  background: var(--dark-blue); color: #fff;
  transition: background .2s, transform .15s;
}
.adv-lb-link:hover { background: var(--dark-blue-2); transform: translateY(-1px); }

.adv-lb-counter { color: #c9d1d9; font-size: .75rem; letter-spacing: .1em; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .adv-lb-panel { flex-direction: column; max-height: 88vh; }
  .adv-lb-media { flex: 0 0 240px; min-height: 240px; }
  .adv-lb-info { padding: 22px 20px; }
  .adv-lb-prev { left: 8px; }
  .adv-lb-next { right: 8px; }
}
@media (max-width: 640px) {
  .adv-header { padding: 88px 0 36px; }
  .adv-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 440px) {
  .adv-grid { grid-template-columns: 1fr; }
}
