/* ============================================================
   PÉPIN · LOUVRE — Shared Stylesheet
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --cream: #faf7f1;
  --cream2: #f0e9de;
  --cream3: #e8dfd2;
  --cream4: #dfd4c4;
  --gold: #c4923a;
  --brown: #1c1812;
  --brown2: #6b5744;
  --brown3: #b0a898;
  --border: rgba(100, 75, 40, 0.13);
  --border2: rgba(100, 75, 40, 0.22);
  --green: #5a9e3a;
  --red: #c0392b;
  --blue: #2980b9;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 72px;
  background: rgba(250, 247, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--border);
}
.logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; text-decoration: none; color: var(--brown); letter-spacing: .5px; }
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brown); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: #fff !important; padding: 10px 22px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 16px 60px; font-size: 12px; color: var(--brown3); border-bottom: 0.5px solid var(--border); background: var(--cream); margin-top: 72px; }
.breadcrumb a { color: var(--brown3); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ============================================================
   TOUR HERO
   ============================================================ */
.tour-hero { min-height: 520px; display: flex; align-items: flex-end; position: relative; overflow: hidden; background: #1c1812; }
.tour-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.tour-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,24,18,.85) 0%, rgba(28,24,18,.2) 60%, rgba(28,24,18,.1) 100%); }
.tour-hero-content { position: relative; z-index: 2; padding: 60px; width: 100%; max-width: 800px; }
.tour-hero-tag { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.tour-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 300; line-height: 1.0; color: #fff; margin-bottom: 16px; }
.tour-hero h1 em { font-style: italic; color: var(--gold); }
.tour-hero-sub { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.65); max-width: 540px; }

.kids-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(90,158,58,.15); border: 0.5px solid rgba(90,158,58,.3); padding: 6px 14px; margin-top: 18px; }
.kids-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.kids-badge-text { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); }

.nights-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(196,146,58,.12); border: 0.5px solid rgba(196,146,58,.3); padding: 8px 16px; margin-top: 20px; }
.nights-badge-text { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   META BAR
   ============================================================ */
.meta-bar { background: var(--cream2); border-bottom: 0.5px solid var(--border); padding: 0 60px; }
.meta-bar-inner { display: flex; align-items: stretch; gap: 0; max-width: 1200px; margin: 0 auto; }
.meta-item { padding: 22px 36px 22px 0; border-right: 0.5px solid var(--border); margin-right: 36px; display: flex; flex-direction: column; gap: 4px; }
.meta-item:last-of-type { border-right: none; }
.meta-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--brown3); }
.meta-value { font-size: 15px; color: var(--brown); font-weight: 400; }
.meta-price { color: var(--gold); font-weight: 500; }

/* ============================================================
   MAIN CONTENT LAYOUT
   ============================================================ */
.content-wrap { max-width: 1200px; margin: 0 auto; padding: 72px 60px; display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }

.tour-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 300; color: var(--brown); margin-bottom: 20px; line-height: 1.15; }
.tour-body h2 em { font-style: italic; color: var(--gold); }
.tour-body h2:not(:first-child) { margin-top: 52px; }
.tour-body p { font-size: 15px; line-height: 1.95; color: var(--brown2); margin-bottom: 18px; }

.photo-single { margin: 36px 0; }
.photo-single img { width: 100%; height: 380px; object-fit: cover; display: block; }
.photo-cap { font-size: 11px; color: var(--brown3); margin-top: 8px; letter-spacing: .5px; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 36px 0; }
.photo-grid img { width: 100%; height: 200px; object-fit: cover; display: block; }

/* ── Availability days ── */
.days-section { margin: 52px 0 0; }
.days-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--brown2); margin-bottom: 16px; }
.days-row { display: flex; gap: 8px; flex-wrap: wrap; }
.day-pill { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px; }
.day-name { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }
.day-dot { width: 7px; height: 7px; border-radius: 50%; }

.day-pill.available { background: rgba(90,158,58,.08); border: 0.5px solid rgba(90,158,58,.25); }
.day-pill.available .day-name { color: var(--green); }
.day-pill.available .day-dot { background: var(--green); }
.day-pill.unavailable { background: rgba(192,57,43,.06); border: 0.5px solid rgba(192,57,43,.2); }
.day-pill.unavailable .day-name { color: var(--red); }
.day-pill.unavailable .day-dot { background: var(--red); }
.day-pill.pending { background: rgba(41,128,185,.07); border: 0.5px solid rgba(41,128,185,.25); }
.day-pill.pending .day-name { color: var(--blue); }
.day-pill.pending .day-dot { background: var(--blue); }
.days-note { font-size: 12px; color: var(--brown3); margin-top: 10px; line-height: 1.6; }

/* ── Disclaimer ── */
.disclaimer { background: rgba(196,146,58,.06); border: 0.5px solid rgba(196,146,58,.2); border-left: 3px solid var(--gold); padding: 20px 24px; margin-top: 52px; }
.disclaimer-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.disclaimer-text { font-size: 13px; line-height: 1.75; color: var(--brown2); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.tour-sidebar { position: sticky; top: 100px; }
.booking-card { background: var(--cream2); border: 0.5px solid var(--border); padding: 36px; margin-bottom: 20px; }
.booking-price { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--brown); line-height: 1; margin-bottom: 4px; }
.booking-price-note { font-size: 12px; color: var(--brown3); margin-bottom: 28px; }
.booking-features { margin-bottom: 28px; }
.booking-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--brown2); line-height: 1.55; margin-bottom: 12px; }
.booking-feature-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex-shrink: 0; }
.booking-divider { height: .5px; background: var(--border); margin: 24px 0; }
.btn-request { display: block; width: 100%; text-align: center; background: var(--gold); color: #fff; padding: 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-family: 'Jost', sans-serif; border: none; cursor: pointer; text-decoration: none; transition: opacity .2s; }
.btn-request:hover { opacity: .88; }
.booking-note { font-size: 11px; color: var(--brown3); text-align: center; margin-top: 12px; line-height: 1.6; }

.practical { border: 0.5px solid var(--border); padding: 28px; }
.practical h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--brown); margin-bottom: 22px; }
.practical-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 0.5px solid var(--border); gap: 16px; }
.practical-row:last-child { border-bottom: none; padding-bottom: 0; }
.prac-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brown3); white-space: nowrap; }
.prac-value { font-size: 13px; color: var(--brown); text-align: right; line-height: 1.5; }

/* ============================================================
   RELATED TOURS
   ============================================================ */
.related { background: var(--cream2); padding: 80px 60px; border-top: 0.5px solid var(--border); }
.related-inner { max-width: 1200px; margin: 0 auto; }
.sec-hd { margin-bottom: 48px; }
.tag { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.sec-title { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; color: var(--brown); }
.sec-title em { font-style: italic; color: var(--gold); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 0.5px solid var(--border); }
.rcard { background: var(--cream); text-decoration: none; color: inherit; display: block; transition: background .22s; }
.rcard:hover { background: var(--cream2); }
.rcard:hover .rarrow { opacity: 1; transform: translateX(4px); }
.rvisual { height: 140px; display: flex; align-items: center; justify-content: center; }
.rnum { font-family: 'Cormorant Garamond', serif; font-size: 68px; font-weight: 300; opacity: .1; color: var(--brown); user-select: none; }
.rbody { padding: 20px 24px 24px; }
.rtag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.rtitle { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 400; line-height: 1.3; margin-bottom: 6px; color: var(--brown); }
.rmeta { font-size: 12px; color: var(--brown3); margin-bottom: 12px; }
.rfoot { display: flex; align-items: center; justify-content: space-between; }
.rduration { font-size: 12px; color: var(--brown2); }
.rarrow { font-size: 13px; color: var(--gold); opacity: 0; transition: opacity .2s, transform .2s; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--brown); border-top: 0.5px solid rgba(255,255,255,.08); padding: 60px 60px 26px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.ft-logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: var(--cream); margin-bottom: 13px; display: block; text-decoration: none; }
.ft-logo span { color: var(--gold); }
.ft-desc { font-size: 13px; line-height: 1.85; color: var(--brown3); }
.ft-h { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brown3); margin-bottom: 16px; }
.ft-ul { list-style: none; }
.ft-ul li { margin-bottom: 9px; }
.ft-ul a { color: rgba(250,247,241,.6); text-decoration: none; font-size: 13px; transition: color .2s; }
.ft-ul a:hover { color: var(--gold); }
.ft-ul li:not(:has(a)) { font-size: 13px; color: rgba(250,247,241,.3); }
.ft-bot { border-top: 0.5px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(250,247,241,.3); }
.ft-bot a { color: rgba(250,247,241,.3); text-decoration: none; transition: color .2s; }
.ft-bot a:hover { color: var(--gold); }

/* ============================================================
   TOURS HUB PAGE (tours.html)
   ============================================================ */
.page-header { padding: 140px 60px 64px; background: var(--cream2); border-bottom: 0.5px solid var(--border); }
.ph-tag { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.page-header h1 { font-family: 'Cormorant Garamond', serif; font-size: 62px; font-weight: 300; line-height: 1.05; color: var(--brown); margin-bottom: 18px; }
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header p { font-size: 16px; line-height: 1.85; color: var(--brown2); max-width: 560px; }

.tabs-bar { position: sticky; top: 72px; z-index: 100; background: var(--cream); border-bottom: 0.5px solid var(--border); padding: 0 60px; display: flex; gap: 0; }
.tab-btn { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--brown2); background: none; border: none; cursor: pointer; padding: 20px 32px 18px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.tab-btn:hover { color: var(--brown); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; padding: 64px 60px 96px; }
.tab-panel.active { display: block; }

.cat-intro { margin-bottom: 52px; max-width: 700px; }
.cat-intro h2 { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; color: var(--brown); margin-bottom: 12px; line-height: 1.1; }
.cat-intro h2 em { font-style: italic; color: var(--gold); }
.cat-intro p { font-size: 15px; color: var(--brown2); line-height: 1.8; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 0.5px solid var(--border); }
.tcard { background: var(--cream); text-decoration: none; color: inherit; display: block; transition: background .22s; position: relative; }
.tcard:hover { background: var(--cream2); }
.tcard:hover .tarrow { opacity: 1; transform: translateX(4px); }
.tvisual { height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.tvisual-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; transition: opacity .3s; }
.tcard:hover .tvisual-bg { opacity: .58; }
.tnum { font-family: 'Cormorant Garamond', serif; font-size: 74px; font-weight: 300; opacity: .12; color: var(--brown); user-select: none; position: relative; z-index: 1; }
.tnum-dark { color: #fff; opacity: .18; }
.pill-kids { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase; padding: 4px 10px; font-family: 'Jost', sans-serif; z-index: 2; }
.pill-night { position: absolute; top: 12px; left: 12px; background: #2c3e6e; color: #fff; font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase; padding: 4px 10px; font-family: 'Jost', sans-serif; z-index: 2; }
.tbody { padding: 22px 24px 26px; }
.ttag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.ttitle { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; line-height: 1.25; margin-bottom: 7px; color: var(--brown); }
.tmeta { font-size: 12px; color: var(--brown3); margin-bottom: 14px; }
.tdesc { font-size: 13px; color: var(--brown2); line-height: 1.55; margin-bottom: 14px; }
.tfoot { display: flex; align-items: center; justify-content: space-between; }
.tprice { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--gold); font-weight: 300; }
.tarrow { font-size: 14px; color: var(--gold); opacity: 0; transition: opacity .2s, transform .2s; }

.civ-group { margin-bottom: 60px; }
.civ-group:last-child { margin-bottom: 0; }
.civ-sep { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.civ-sep-icon { color: var(--gold); font-size: 11px; }
.civ-sep-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--brown2); white-space: nowrap; }
.civ-sep-line { flex: 1; height: .5px; background: var(--border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .breadcrumb { padding: 14px 24px; }
  .tour-hero { min-height: 380px; }
  .tour-hero-content { padding: 36px 24px; }
  .tour-hero h1 { font-size: 44px; }
  .meta-bar { padding: 0 24px; }
  .meta-bar-inner { flex-wrap: wrap; }
  .meta-item { padding: 16px 20px 16px 0; margin-right: 20px; }
  .content-wrap { grid-template-columns: 1fr; padding: 48px 24px; gap: 48px; }
  .tour-sidebar { position: static; }
  .photo-grid { grid-template-columns: 1fr; }
  .related { padding: 60px 24px; }
  .related-grid { grid-template-columns: 1fr; }
  footer { padding: 48px 24px 22px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .page-header { padding: 110px 24px 48px; }
  .page-header h1 { font-size: 44px; }
  .tabs-bar { padding: 0 24px; overflow-x: auto; }
  .tab-btn { padding: 16px 20px 14px; font-size: 10px; }
  .tab-panel { padding: 40px 24px 60px; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ── INSTAGRAM ICON ── */
.ft-social { margin-top: 16px; }
.ft-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brown3);
  transition: color .2s;
  text-decoration: none;
}
.ft-instagram:hover { color: var(--gold); }
