/* ── TOUR PAGE SHARED STYLES ── */

/* Hero */
.tour-hero {
  min-height: 92vh; margin-top: 72px;
  position: relative; display: flex; align-items: flex-end;
  overflow: hidden;
}
.tour-hero-bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.tour-hero-bg.loaded { transform: scale(1); }
.tour-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,43,78,0.92) 0%, rgba(13,43,78,0.4) 50%, rgba(13,43,78,0.1) 100%);
}
.tour-hero-content {
  position: relative; z-index: 2;
  padding: 0 5vw 64px; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.tour-hero-left { max-width: 680px; }
.tour-hero-breadcrumb {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.tour-hero-breadcrumb a { color: var(--gold); text-decoration: none; }
.tour-hero-breadcrumb a:hover { color: #fff; }
.tour-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-badge {
  padding: 5px 14px; border-radius: 20px; font-size: 11px;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-badge-gold { background: var(--gold); color: var(--deep-blue); }
.hero-badge-outline { border: 1px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); }
.tour-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700;
  color: #fff; line-height: 1.1; margin-bottom: 18px;
}
.tour-hero h1 em { color: var(--gold); font-style: italic; }
.tour-hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: rgba(255,255,255,0.8); line-height: 1.7; font-weight: 300;
  max-width: 560px;
}
.tour-hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px;
}
.hero-meta-item { text-align: center; }
.hero-meta-item .val { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; display: block; font-weight: 700; }
.hero-meta-item .lbl { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; }

/* Price card */
.price-card {
  background: rgba(13,43,78,0.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.4); border-radius: 6px;
  padding: 32px 28px; min-width: 240px; text-align: center;
}
.price-card .from { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.price-card .amount { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--gold); font-weight: 700; line-height: 1; }
.price-card .per { font-size: 13px; color: rgba(255,255,255,0.5); display: block; margin-bottom: 20px; }
.price-card .btn { width: 100%; text-align: center; display: block; margin-bottom: 10px; }
.price-card .enquire { font-size: 12px; color: rgba(255,255,255,0.5); cursor: pointer; background: none; border: none; text-decoration: underline; width: 100%; }
.price-card .enquire:hover { color: var(--gold); }

/* Sticky booking bar */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--deep-blue); border-top: 1px solid rgba(201,168,76,0.3);
  padding: 14px 5vw; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.4s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-left h4 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.1rem; }
.sticky-bar-left p { font-size: 12px; color: rgba(255,255,255,0.55); }
.sticky-bar-price { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--gold); font-weight: 700; }
.sticky-bar-price span { font-size: 12px; color: rgba(255,255,255,0.5); font-family: 'Jost', sans-serif; }

/* Layout wrapper */
.tour-body { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.tour-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; padding: 72px 0; align-items: start; }
@media(max-width:960px){ .tour-layout { grid-template-columns: 1fr; } }

/* Sidebar */
.tour-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 32px; margin-bottom: 20px;
}
.sidebar-card h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--deep-blue); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-price .amount { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--deep-blue); font-weight: 700; }
.sidebar-price .from { font-size: 12px; color: var(--muted); }
.sidebar-price .per { font-size: 13px; color: var(--muted); display: block; margin-bottom: 20px; }
.sidebar-card .btn { width: 100%; text-align: center; display: block; margin-bottom: 10px; }
.sidebar-fact { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar-fact:last-child { border-bottom: none; }
.sidebar-fact .key { color: var(--muted); }
.sidebar-fact .val { color: var(--deep-blue); font-weight: 500; text-align: right; }
.sidebar-card .share-row { display: flex; gap: 10px; margin-top: 4px; }
.share-btn {
  flex: 1; padding: 8px; border: 1px solid var(--border); border-radius: 4px;
  background: none; font-size: 12px; color: var(--muted); cursor: pointer; text-align: center;
  transition: border-color 0.2s, color 0.2s;
}
.share-btn:hover { border-color: var(--gold); color: var(--deep-blue); }

/* Section tabs */
.tour-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--border);
  margin-bottom: 48px; overflow-x: auto; scrollbar-width: none;
  position: sticky; top: 72px; background: var(--white); z-index: 40; padding-top: 4px;
}
.tour-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 14px 24px; background: none; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--deep-blue); }
.tab-btn.active { color: var(--deep-blue); border-bottom-color: var(--gold); }

/* Tab content */
.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }

/* Overview */
.overview-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--text); line-height: 1.9; font-weight: 300;
  margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.overview-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
@media(max-width:600px){ .overview-highlights { grid-template-columns: 1fr; } }
.highlight-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px; background: var(--off-white); border-radius: 4px;
  border-left: 3px solid var(--gold);
}
.highlight-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.highlight-item h5 { font-size: 13px; font-weight: 500; color: var(--deep-blue); margin-bottom: 3px; }
.highlight-item p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Photo grid */
.photo-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 8px;
  height: 420px; border-radius: 4px; overflow: hidden; margin-bottom: 40px;
}
.photo-grid-col { display: grid; gap: 8px; }
.photo-cell { background: center/cover no-repeat; }
.photo-cell.tall { grid-row: span 2; }

/* Itinerary */
.itinerary-day {
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 16px;
}
.day-header {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px;
  background: #fff; cursor: pointer; user-select: none;
  transition: background 0.2s;
}
.day-header:hover { background: var(--off-white); }
.day-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--deep-blue); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; flex-shrink: 0;
}
.day-header-text { flex: 1; }
.day-header-text h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--deep-blue); }
.day-header-text p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.day-chevron { font-size: 18px; color: var(--gold); transition: transform 0.3s; }
.itinerary-day.open .day-chevron { transform: rotate(180deg); }
.day-body { display: none; padding: 24px; background: var(--off-white); border-top: 1px solid var(--border); }
.itinerary-day.open .day-body { display: block; }
.day-body p { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
.day-activities { display: flex; flex-wrap: wrap; gap: 8px; }
.activity-tag {
  padding: 5px 12px; border-radius: 20px; font-size: 12px;
  background: #fff; border: 1px solid var(--border); color: var(--sea);
}
.meal-row { display: flex; gap: 12px; margin-bottom: 16px; }
.meal-badge {
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.meal-b { background: #FFF8E7; color: #B8860B; border: 1px solid #F0D070; }
.meal-l { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.meal-d { background: #E3F2FD; color: #1565C0; border: 1px solid #90CAF9; }

/* Inclusions */
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media(max-width:600px){ .inc-grid { grid-template-columns: 1fr; } }
.inc-col h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 16px; }
.inc-col.included h4 { color: var(--deep-blue); }
.inc-col.excluded h4 { color: #B00020; }
.inc-list { list-style: none; }
.inc-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.5; }
.inc-list li:last-child { border-bottom: none; }
.inc-list li .ico { flex-shrink: 0; font-size: 15px; margin-top: 1px; }
.inc-list.included li .ico { color: #2E7D32; }
.inc-list.excluded li .ico { color: #B00020; }

/* FAQ */
.faq-list .faq-item {
  border: 1px solid var(--border); border-radius: 4px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px;
  background: #fff; border: none; cursor: pointer; font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 500; color: var(--deep-blue);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--off-white); }
.faq-q .faq-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.8; background: var(--off-white); }
.faq-item.open .faq-a { display: block; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media(max-width:600px){ .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-cell {
  aspect-ratio: 4/3; background: center/cover no-repeat;
  border-radius: 4px; overflow: hidden; cursor: pointer;
  position: relative; transition: transform 0.3s;
}
.gallery-cell:hover { transform: scale(1.02); z-index: 1; }
.gallery-cell:first-child { grid-column: span 2; aspect-ratio: 16/9; }

/* Map placeholder */
.map-placeholder {
  height: 320px; background: var(--off-white);
  border-radius: 4px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--muted);
  font-size: 14px;
}

/* Reviews */
.reviews-summary {
  display: flex; gap: 40px; align-items: center;
  padding: 32px; background: var(--off-white); border-radius: 4px; margin-bottom: 32px; flex-wrap: wrap;
}
.review-score { text-align: center; }
.review-score .big { font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--deep-blue); font-weight: 700; line-height: 1; }
.review-score .stars { color: var(--gold); font-size: 18px; margin: 4px 0; }
.review-score .count { font-size: 12px; color: var(--muted); }
.review-bars { flex: 1; min-width: 200px; }
.review-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.review-bar-row .label { width: 60px; color: var(--muted); text-align: right; }
.review-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.review-bar-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.review-bar-row .pct { width: 36px; color: var(--muted); font-size: 12px; }
.review-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 24px; margin-bottom: 16px;
}
.review-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.reviewer h5 { font-size: 14px; font-weight: 500; color: var(--deep-blue); }
.reviewer span { font-size: 12px; color: var(--muted); }
.review-stars { color: var(--gold); font-size: 14px; }
.review-card p { font-size: 14px; color: var(--muted); line-height: 1.8; font-style: italic; }

/* Related tours */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.related-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; color: inherit;
  display: block;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(13,43,78,0.1); }
.related-img { height: 170px; background: center/cover no-repeat; }
.related-body { padding: 18px; }
.related-body h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--deep-blue); margin-bottom: 4px; }
.related-body .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.related-body .price { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--deep-blue); font-weight: 700; }

/* Modal */
.modal-overlay { display:none; position:fixed; inset:0; z-index:200; background:rgba(13,43,78,0.75); backdrop-filter:blur(4px); align-items:center; justify-content:center; }
.modal-overlay.open { display:flex; }
.modal { background:#fff; border-radius:4px; max-width:520px; width:90%; padding:48px; position:relative; animation:fadeUp 0.3s ease; max-height:90vh; overflow-y:auto; }
.modal-close { position:absolute; top:16px; right:16px; background:none; border:none; font-size:22px; color:var(--muted); cursor:pointer; }
.modal-close:hover { color:var(--text); }

@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
