/* VoilaTicket — Bold Block demo ticket pages (Peleș-style product layout) */
:root {
  --cream: #FBF3E4;
  --ink: #1F2A24;
  --amber: #E8A33D;
  --teal: #17A398;
  --coral: #E2553B;
  --paper: #ffffff;
  --body: #3a4640;
  --soft: #4a564c;
  --muted: #6a766c;
  --gray: #5a6478;
  --teal-deep: #0c3b36;
  --sky: #bfe8e2;
  --bw: 2.5px;
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --sans: 'Montserrat', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.demo-flag {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--amber);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border: 2px solid var(--ink);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 3px 3px 0 var(--ink);
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--cream);
  min-height: 100vh;
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
}

/* nav */
.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.demo-nav .brand { display: flex; align-items: center; gap: 11px; }
.demo-nav .brand-word {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -.5px;
  color: var(--ink);
}
.demo-nav .brand-word span { color: var(--teal); }
.venue-brand { display: flex; align-items: center; gap: 11px; }
.venue-mark {
  width: 36px;
  height: 36px;
  border: var(--bw) solid var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.venue-mark--teal { background: var(--teal); color: var(--cream); }
.venue-mark--amber { background: var(--amber); color: var(--ink); }
.venue-mark--coral { background: var(--coral); color: #fff; }
.venue-name { font-family: var(--display); font-size: 17px; letter-spacing: -.3px; }
.venue-sub { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.demo-nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}
.demo-nav-links a:hover { color: var(--coral); }
.demo-nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 9px 16px;
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--teal);
}

/* breadcrumb + hero title */
.crumb {
  padding: 20px 32px 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.crumb span { color: var(--ink); }
.title-block { padding: 12px 32px 20px; }
.title-block h1 {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.04;
  margin-bottom: 10px;
  max-width: 28ch;
}
.badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 13px;
}
.badge-chip--amber { background: var(--amber); font-weight: 800; }
.badge-chip--teal { background: var(--teal); color: #fff; font-weight: 800; }
.badge-chip--coral { background: var(--coral); color: #fff; font-weight: 800; }
.badge-chip svg { flex: none; }

/* gallery */
.gallery {
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 340px;
}
.gallery-main {
  grid-row: span 2;
  border: var(--bw) solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--sky);
}
.gallery-main svg, .gallery-cell svg,
.gallery-main img, .gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-cell {
  border: var(--bw) solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  background: var(--sky);
}
.gallery-more {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--display);
  font-size: 14px;
}

/* cover hero (single large image) */
.hero-cover {
  margin: 0 32px;
  height: 340px;
  border: var(--bw) solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--sky);
}
.hero-cover img, .hero-cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream);
  padding: 12px 14px;
}
.faq-q { font-weight: 800; font-size: 14px; color: var(--ink); }
.faq-a { font-weight: 600; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* body grid */
.body-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  padding: 28px 32px 36px;
  align-items: start;
}
.prose {
  color: var(--body);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 26px;
}
.section-h {
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 14px;
}
.section-h--spaced { margin-top: 26px; }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 30px;
}
.check-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
}
.check-item svg { flex: none; }

/* ticket options */
.ticket-list { display: flex; flex-direction: column; gap: 12px; }
.ticket-opt {
  border: var(--bw) solid var(--ink);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.ticket-opt:hover { transform: translate(1px, 1px); }
.ticket-opt.sel {
  box-shadow: 4px 4px 0 var(--teal);
}
.ticket-opt-title { font-weight: 800; font-size: 15px; }
.ticket-opt-sub { color: var(--gray); font-size: 13px; margin-top: 3px; font-weight: 500; }
.ticket-opt-price {
  font-family: var(--display);
  font-size: 18px;
  text-align: right;
}
.ticket-opt-tag {
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
}

/* good to know */
.info-list { display: flex; flex-direction: column; gap: 9px; }
.info-item {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--body);
  font-size: 13.5px;
  font-weight: 600;
}
.info-item svg { flex: none; }

/* booking card */
.book-card {
  position: sticky;
  top: 18px;
  border: var(--bw) solid var(--ink);
  border-radius: 12px;
  padding: 20px;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--amber);
}
.book-from {
  font-size: 12px;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.book-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.book-price {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -1px;
}
.book-price-unit { color: var(--gray); font-size: 13px; font-weight: 600; }
.book-field {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 11px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.book-field-label {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}
.book-field-val { color: var(--ink); font-weight: 700; font-size: 14px; }
.book-travelers {
  justify-content: space-between;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 15px;
}
.qty-ctrl button {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cream);
  font-family: var(--display);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.qty-ctrl button:hover { background: var(--amber); }
.book-btn {
  width: 100%;
  background: var(--coral);
  color: #fff;
  font-family: var(--display);
  font-size: 16px;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  border: var(--bw) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  margin-top: 6px;
  transition: transform .08s ease, box-shadow .08s ease;
}
.book-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.book-trust {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.book-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray);
  font-size: 11.5px;
  font-weight: 700;
}

/* footer */
.demo-footer {
  background: var(--teal);
  border-top: 3px solid var(--ink);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.demo-footer .brand { display: flex; align-items: center; gap: 10px; }
.demo-footer .brand-word {
  font-family: var(--display);
  color: var(--ink);
  font-size: 16px;
}
.demo-footer .brand-word span { color: var(--cream); }
.demo-footer-note { color: var(--teal-deep); font-size: 12.5px; font-weight: 700; }

/* checkout overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,42,36,.55);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.overlay.on { display: flex; }
.overlay-card {
  background: var(--cream);
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
}
.overlay-card h2 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 10px;
}
.overlay-card p {
  color: var(--soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 20px;
}
.overlay-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  border: var(--bw) solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--teal);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
  margin: 12px 32px 0;
}
.back-link:hover { color: var(--coral); }

@media (max-width: 900px) {
  .gallery { height: 280px; }
  .body-grid { grid-template-columns: 1fr; gap: 24px; }
  .book-card { position: static; }
  .check-grid { grid-template-columns: 1fr; }
  .title-block h1 { font-size: 26px; }
  .demo-nav { padding: 12px 24px; }
}

@media (max-width: 640px) {
  body { padding-top: 36px; overflow-x: clip; }

  .demo-flag {
    font-size: 9px;
    padding: 5px 14px;
    letter-spacing: 1px;
  }

  .back-link {
    margin: 6px 20px 0;
    font-size: 11px;
    position: relative;
    z-index: 1;
  }

  .page {
    box-shadow: none;
    min-height: auto;
  }

  .demo-nav,
  .crumb,
  .title-block,
  .gallery,
  .body-grid,
  .demo-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .demo-nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .venue-brand { min-width: 0; flex: 1; }
  .venue-name {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(220px, 55vw);
  }

  .demo-nav-links span:not(.demo-nav-cta) { display: none; }

  .title-block { padding-top: 8px; }
  .title-block h1 {
    font-size: 22px;
    letter-spacing: -0.6px;
    max-width: none;
  }

  .badges { gap: 8px; }
  .badge-chip { font-size: 12px; padding: 4px 8px; }

  .crumb {
    font-size: 11px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  /* swipeable photo gallery */
  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    height: auto;
    padding-bottom: 10px;
    margin-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }

  .gallery-main,
  .gallery-cell,
  .gallery-more {
    flex: 0 0 84%;
    scroll-snap-align: start;
    min-height: 220px;
    grid-row: auto;
  }

  .gallery-more { flex: 0 0 100px; min-height: 220px; font-size: 12px; }

  .prose { font-size: 14.5px; margin-bottom: 20px; }

  .ticket-opt {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }
  .ticket-opt > div:last-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
  }
  .ticket-opt-price { font-size: 17px; }

  .book-card {
    padding: 18px;
    box-shadow: 5px 5px 0 var(--amber);
  }

  .book-btn {
    min-height: 50px;
    font-size: 15px;
  }

  .qty-ctrl button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .book-field { padding: 12px; }

  .demo-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .demo-footer-note { line-height: 1.5; }

  .overlay { padding: 16px; align-items: flex-end; }
  .overlay-card {
    border-radius: 14px 14px 0 0;
    max-width: none;
    margin-bottom: 0;
  }
  .overlay-close {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}
