/* ══════════════════════════════════════════════════════════════════
   Prambanan Tickets — Warm White + Terracotta (Option B)

   Palette:
     --bg:        #FAFAF7   warm white (page bg)
     --card:      #FFFFFF   white (cards/panels)
     --border:    #E5E5E2   light grey (dividers)
     --terra:     #C45A32   terracotta (primary CTAs)
     --terra-lt:  #D46B45   lighter terracotta (hover)
     --terra-dk:  #A34828   darker terracotta (active)
     --gold:      #B8963E   muted gold (secondary accent, prices)
     --gold-lt:   #D4AB4E   lighter gold
     --text:      #1C1F26   dark slate (headings)
     --body:      #3A3D42   charcoal (body text)
     --muted:     #7A7D82   medium grey (secondary text)
     --dim:       #B0B3B8   light grey (disabled)
     --dark-bg:   #1C1F26   dark slate (ballet/dark sections)
     --dark-text: #F5F4F0   warm white (text on dark sections)

   Fonts:
     Headlines: Playfair Display (dramatic serifs, matches carved stone)
     Body:      DM Sans (clean humanist, high readability)
   ══════════════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

/* ── RESET + VARS ── */
:root {
  --bg:        #FAFAF7;
  --card:      #FFFFFF;
  --border:    #E5E5E2;
  --terra:     #C45A32;
  --terra-lt:  #D46B45;
  --terra-dk:  #A34828;
  --gold:      #B8963E;
  --gold-lt:   #D4AB4E;
  --text:      #1C1F26;
  --body:      #3A3D42;
  --muted:     #7A7D82;
  --dim:       #B0B3B8;
  --dark-bg:   #1C1F26;
  --dark-text: #F5F4F0;
  --green-ok:  #3D8B37;
  --red:       #C83838;

  /* Aliases for backward compat with existing markup */
  --night:     var(--bg);
  --slate:     var(--card);
  --copper:    var(--terra);
  --copper-lt: var(--terra-lt);
  --copper-dk: var(--terra-dk);
  --amber:     var(--gold);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--terra); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terra-dk); }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.site-logo:hover { color: var(--terra); }

.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 60px 48px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,17,23,0.97) 0%, rgba(14,17,23,0.7) 40%, rgba(14,17,23,0.45) 70%, rgba(14,17,23,0.3) 100%);
  z-index: 1;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 12px;
  font-weight: 500;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-cta {
  display: inline-block;
  background: var(--terra);
  color: #FFFFFF;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--terra-dk); color: #FFFFFF; }

/* ── SECTION TITLES ── */
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
  font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 32px;
}

/* ── PRODUCT CARDS (homepage) ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.product-card:hover { border-color: var(--terra); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-card-body { padding: 22px 24px; }
.product-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.product-card-desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
}
.product-card-price small {
  font-size: 11px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
}
.product-card-cta {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
}

/* ── TRUST STRIP ── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: center;
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.trust-item {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}

/* ── PRODUCT PAGE ── */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 48px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: start;
}
.product-content { min-width: 0; }

.product-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 6px;
  font-weight: 600;
}
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.product-price-big {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--text);
  font-weight: 500;
}
.product-price-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}

/* Trust strip (product page) */
.product-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 14px 18px;
  background: rgba(196,90,50,0.04);
  border: 1px solid rgba(196,90,50,0.12);
  border-radius: 4px;
  margin-bottom: 20px;
}
.pts-item {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.pts-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
}

/* Product narrative */
.product-narrative {
  font-size: 15px;
  color: var(--body);
  line-height: 1.85;
  font-weight: 400;
  margin: 20px 0 24px;
  padding: 20px 22px;
  background: rgba(196,90,50,0.03);
  border-left: 3px solid var(--terra);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  letter-spacing: 0.01em;
  list-style: none;
}

/* Avail badge */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.avail-ok { background: rgba(107,175,91,0.1); color: var(--green-ok); border: 1px solid rgba(107,175,91,0.2); }
.avail-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Product desc */
.product-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Section labels */
.section-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

/* Includes grid */
.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.include-item {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.include-check { color: var(--copper); flex-shrink: 0; font-size: 12px; }

/* Key Details fact table */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.fact-table th {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  width: 130px;
  vertical-align: top;
}
.fact-table td {
  font-size: 13px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ── BOOKING WIDGET ── */
.booking-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: sticky;
  top: 84px;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.widget-header {
  background: var(--terra);
  padding: 22px 26px;
  border-radius: 6px 6px 0 0;
}
.widget-price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #FFFFFF;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}
.widget-price-note {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}
.widget-body { padding: 22px 26px; }

.field-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

/* Qty */
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--terra);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.qty-btn:hover { background: rgba(196,90,50,0.06); border-color: var(--terra); }
.qty-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  color: var(--text);
  min-width: 28px;
  text-align: center;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.qty-label { font-size: 12px; color: var(--muted); font-weight: 300; }

/* Total row */
.widget-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.widget-total-label { font-size: 13px; color: var(--muted); font-weight: 300; }
.widget-total-amount {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--text);
  font-weight: 500;
}

/* Book button */
.book-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--terra);
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.book-btn:hover { background: var(--terra-dk); }
.book-btn.ready { background: var(--terra); }

/* ── REVIEWS ── */
.reviews { margin-bottom: 28px; }
.review-summary { margin-bottom: 12px; }
.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.review-score { font-size: 12px; color: var(--muted); margin-top: 4px; }
.review-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.review-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px 20px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.review-text {
  font-size: 13px;
  color: var(--body);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 10px;
}
.review-author { font-size: 11px; color: var(--muted); }

/* ── FAQ ── */
.btc-faq details { border-bottom: 1px solid var(--border); }
.btc-faq details summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  gap: 16px;
  line-height: 1.5;
}
.btc-faq details summary::-webkit-details-marker { display: none; }
.btc-faq details summary::marker { display: none; content: ""; }
.btc-faq details summary:hover { color: var(--terra); }
.btc-faq details summary::after {
  content: "+";
  color: var(--terra);
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s;
  display: inline-block;
}
.btc-faq details[open] summary::after { transform: rotate(45deg); }
.btc-faq details p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 18px;
  font-weight: 400;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  border-top: 1px solid var(--border);
  padding: 48px 48px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra-lt);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(245,244,240,0.65);
  margin-bottom: 8px;
  font-weight: 300;
}
.footer-col a:hover { color: var(--dark-text); }
.footer-col p { font-size: 13px; color: rgba(245,244,240,0.65); font-weight: 300; line-height: 1.6; }
.footer-service-note { font-size: 11px; color: rgba(245,244,240,0.4); line-height: 1.6; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 11px; color: rgba(245,244,240,0.4); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 11px; color: rgba(245,244,240,0.4); }
.footer-legal a:hover { color: var(--dark-text); }

/* ── CONTENT SECTIONS (homepage) ── */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px;
}

/* ── UPSELL CARD (cross-sell between sites) ── */
.upsell-block {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px 28px;
  margin: 28px 0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-page { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
}
@media (max-width: 768px) {
  .hero { min-height: 440px; padding: 32px 20px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; line-height: 1.6; }
  .hero-cta { padding: 12px 24px; font-size: 11px; }
  .site-header { padding: 0 16px; height: 56px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 10px; letter-spacing: 1px; }
  .products-grid { padding: 0 20px; grid-template-columns: 1fr; }
  .content-section { padding: 40px 20px; }
  .product-page { padding: 20px 16px 80px; gap: 24px; }
  .product-title { font-size: 28px; }
  .product-price-big { font-size: 28px; }
  .site-footer { padding: 32px 20px 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .product-trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .trust-row { padding: 20px; gap: 8px 20px; }
  .trust-item { font-size: 10px; }
  /* Cross-sell block: stack on mobile */
  .upsell-block[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .hero { min-height: 380px; padding: 24px 16px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 13px; max-width: 100%; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 3px; }
  .site-header { height: 50px; }
  .site-nav a { font-size: 9px; letter-spacing: 0.8px; }
  .section-title { font-size: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── OVERFLOWS ── */
html, body { overflow-x: hidden; }
