/* MARQ premium layer
 * -------------------------------------------------------------------------
 * Brings the website onto the same design language as the MARQ mobile app:
 * black canvas, champagne-gold accent, Cinzel for display type, Inter for
 * everything people read. Loaded LAST on every page that uses the shared
 * site header, so it only refines the template underneath it.
 * Tokens mirror mobile/src/theme/index.js — change them in both places.
 */

:root {
  --m-bg: #0a0a0b;
  --m-bg-deep: #050505;
  --m-card: #131314;
  --m-elevated: #1c1c1e;
  --m-gold: #cba24c;
  --m-gold-bright: #e7ce8c;
  --m-gold-deep: #8a6c2b;
  --m-gold-soft: rgba(203, 162, 76, 0.12);
  --m-gold-line: rgba(203, 162, 76, 0.32);
  --m-hairline: rgba(231, 206, 140, 0.14);
  --m-text: #f3f0e9;
  --m-text-2: #c6c1b6;
  --m-muted: #958f83;
  --m-ink: #120f08;
  --m-border: #26251f;
  --m-display: "Cinzel", "Times New Roman", serif;
  --m-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --m-radius: 16px;
  --m-section: clamp(72px, 9vw, 120px);
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--m-bg);
  color: var(--m-text-2);
  font-family: var(--m-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body p, body li, body input, body select, body textarea, body button, body label, body td, body th {
  font-family: var(--m-body);
}
::selection { background: var(--m-gold); color: var(--m-ink); }
a { transition: color 0.2s ease; }
:focus-visible { outline: 2px solid var(--m-gold-bright); outline-offset: 3px; }

h1, h2, h3, .head-title-1, .global-title h1 {
  font-family: var(--m-display);
  color: var(--m-text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Section titles */
.the-title { margin-bottom: 8px; }
.head-title-1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 18px;
  text-wrap: balance;
}
.head-title-2,
.testimonial-wrap .the-title .head-title-2 {
  font-family: var(--m-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--m-gold);
  margin: 0 0 16px;
  line-height: 1.4;
}
span.title-end { display: none; }
.dugem-text {
  font-family: var(--m-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--m-text-2);
  font-weight: 400;
  text-wrap: pretty;
}
.the-title.text-center .dugem-text { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.button-basic-1,
.button-basic-2,
.button-basic-3,
.global-block .button-basic-1,
.global-block .button-basic-2,
.book-coming-soon .button-basic-1,
.tl-coming-soon .button-basic-1,
.booking-form #booking-submit-btn {
  display: inline-flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--m-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}
.button-basic-1,
.global-block .button-basic-1 {
  border: 1px solid var(--m-gold-line);
  background: transparent;
  color: var(--m-gold-bright);
}
.button-basic-1:hover,
.global-block .button-basic-1:hover,
.book-wrap .contact-form-style .button-basic-1:hover,
.contact-section .contact-form-style .button-basic-1:hover {
  transform: none;
  background: var(--m-gold-soft);
  border-color: var(--m-gold);
  color: var(--m-gold-bright);
}
.button-basic-2,
.button-basic-3,
.global-block .button-basic-2,
.booking-form #booking-submit-btn {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--m-gold-bright), var(--m-gold));
  color: var(--m-ink);
}
.button-basic-2:hover,
.button-basic-3:hover,
.global-block .button-basic-2:hover,
.booking-form #booking-submit-btn:hover {
  transform: none;
  background: linear-gradient(135deg, #f0dca4, #d4ad5a);
  border-color: transparent;
  color: var(--m-ink);
  box-shadow: 0 10px 28px rgba(203, 162, 76, 0.22);
}
.button-basic-1:active,
.button-basic-2:active,
.button-basic-3:active { transform: scale(0.96); }

/* ---------- Header ---------- */
.header-style-1 a.menu-link {
  font-family: var(--m-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--m-text-2);
}
.header-style-1 a.menu-link:hover,
.header-style-1 a.menu-link.active { color: var(--m-text); }
.header-style-1 a.menu-link:before { height: 1px; bottom: -8px; background: var(--m-gold); }
.header-style-1 .menu-item:hover .menu-link:before { background-color: var(--m-gold); }

.marq-nav-signin {
  font-family: var(--m-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 11px 22px;
  border-width: 1px;
  border-color: var(--m-gold-line);
  color: var(--m-gold-bright) !important;
}
.marq-nav-signin:hover {
  background-color: var(--m-gold-soft);
  border-color: var(--m-gold);
  color: var(--m-gold-bright) !important;
  transform: none;
}
.marq-nav-user-btn { font-family: var(--m-body); font-size: 14px; border-width: 1px; }

/* ---------- Home: hero ---------- */
.image-title p {
  font-family: var(--m-body);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #e7dfcb;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.image-title a.button-basic-1 {
  margin-top: 24px;
  font-size: 15px;
  padding: 0 30px;
  background: rgba(10, 10, 11, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Straight, calm section edges instead of the template's diagonal wedges */
.global-block:before,
.table-events:before,
.testimonial-block:before,
.book-table:before { display: none; }

/* ---------- Home: about ---------- */
.global-block { padding: var(--m-section) 0; background: var(--m-bg); }
.global-block-wrap { align-items: center; }
.global-img .pattern img {
  width: 100%;
  border-radius: var(--m-radius);
  border: 1px solid var(--m-hairline);
  display: block;
}
.global-title h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.global-title .head-title-2 { margin-bottom: 22px; }
.global-buy { margin-top: 30px; }

/* ---------- Home + Events: event listing ---------- */
.table-events { padding: var(--m-section) 0; background: var(--m-bg-deep); }
.table-events .the-title { margin-bottom: 44px; }
.table-events .button-view { margin-top: 44px; }
.ev-pub-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
}
.ev-pub-card { border-radius: var(--m-radius); }
.ev-pub-details-btn { text-transform: none; letter-spacing: 0.01em; font-family: var(--m-body); }

/* ---------- Home: gallery ---------- */
.gallery-section { padding: var(--m-section) 0 calc(var(--m-section) - 24px); background: var(--m-bg); }
.gallery-section .the-title { margin-bottom: 40px; }
.gallery-section .marquee img { border-radius: 12px; }

/* ---------- Home: testimonials ---------- */
.testimonial-block { padding: var(--m-section) 0; background: var(--m-bg-deep); }
.testimonial-wrap .the-title { margin-bottom: 8px; }
.testimonial-text p {
  font-family: var(--m-body);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.6;
  color: var(--m-text);
  max-width: 560px;
  margin: 0 auto 18px;
  text-wrap: pretty;
}
.testi-author {
  font-family: var(--m-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-gold) !important;
}
.testimonial-block .car-page-arrow-next,
.testimonial-block .car-page-arrow-prev { background: var(--m-gold-line); }

/* ---------- Home: reservation ---------- */
.book-table { padding: var(--m-section) 0; background: var(--m-bg); }
.book-coming-soon .dugem-text { max-width: 600px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.marq-footer {
  background: var(--m-bg-deep);
  border-top: 1px solid var(--m-border);
  padding: 72px 0 0;
  color: var(--m-text-2);
}
.marq-footer .mf-top {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 0.9fr;
  gap: 48px;
  padding-bottom: 56px;
}
.marq-footer .mf-brand img { width: 132px; height: auto; display: block; }
.marq-footer .mf-brand p { margin: 18px 0 22px; font-size: 15px; line-height: 1.7; color: var(--m-muted); max-width: 300px; }
.marq-footer h3 {
  font-family: var(--m-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-gold);
  margin: 6px 0 18px;
}
.marq-footer address,
.marq-footer .mf-col p { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--m-text-2); margin: 0; }
.marq-footer .mf-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.marq-footer .mf-links li { list-style: none; }
.marq-footer .mf-links a,
.marq-footer .mf-col a { color: var(--m-text-2); font-size: 15px; text-decoration: none; }
.marq-footer .mf-links a:hover,
.marq-footer .mf-col a:hover,
.marq-footer .mf-legal a:hover { color: var(--m-gold-bright); }
.marq-footer .mf-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.marq-footer .mf-social li { list-style: none; }
.marq-footer .mf-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--m-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--m-text-2);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.marq-footer .mf-social a:hover { border-color: var(--m-gold-line); color: var(--m-gold-bright); }
.marq-footer .mf-social svg { width: 17px; height: 17px; display: block; fill: currentColor; }
.marq-footer .mf-social svg path { fill: currentColor; }
.marq-footer .mf-bottom {
  border-top: 1px solid var(--m-border);
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--m-muted);
}
.marq-footer .mf-bottom p { margin: 0; font-size: 13px; color: var(--m-muted); }
.marq-footer .mf-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.marq-footer .mf-legal a { color: var(--m-muted); font-size: 13px; text-decoration: none; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float { font-family: var(--m-body) !important; font-weight: 600 !important; letter-spacing: 0 !important; }

/* ---------- Page headers on inner pages ---------- */
.table-events.page-events { padding-top: clamp(140px, 14vw, 190px); }
.policy-content { color: var(--m-text-2); }
.policy-content h3.head-title-1,
.policy-content h2 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 40px; }
.policy-content p,
.policy-content li { font-size: 16px; line-height: 1.75; color: var(--m-text-2); }
.policy-content a { color: var(--m-gold-bright); }
.policy-content ul li::marker { color: var(--m-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .marq-footer .mf-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .header-style-1 a.menu-link { font-size: 16px; }
  .global-block-wrap { row-gap: 36px; }
  .global-buy { text-align: left; }
  .global-title { text-align: left; }
  .testimonial-text p { padding: 0 20px; }
  .marq-footer { padding-top: 56px; }
  .marq-footer .mf-top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .marq-footer .mf-bottom { flex-direction: column; align-items: flex-start; }
  .ev-pub-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .button-basic-1, .button-basic-2, .button-basic-3 { transition: none; }
}

/* ---------- Legal pages ---------- */
.privacy-policy-page { padding: clamp(140px, 13vw, 180px) 0 var(--m-section); background: var(--m-bg); }
.privacy-policy-page .the-title { max-width: 820px; margin: 0 auto; }
.privacy-policy-page .the-title .head-title-1 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 0; }
.privacy-policy-page .policy-content {
  max-width: 820px;
  margin: 40px auto 0 !important;
  padding-top: 32px;
  border-top: 1px solid var(--m-border);
}

/* ---------- Empty states ---------- */
.bl-empty,
.ev-pub-empty {
  max-width: 460px;
  margin: 8px auto;
  padding: 40px 28px;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  background: var(--m-card);
  color: var(--m-text-2);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- Home: hero video in the MARQ gold tone ---------- */
.main-video video {
  filter: grayscale(1) sepia(0.85) saturate(1.3) brightness(1.45) contrast(1.05);
}
.video-background::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 0%, var(--m-bg) 100%);
  pointer-events: none;
  z-index: 3;
}

/* ---------- Events: Upcoming / Past switch ---------- */
.ev-tab {
  font-family: var(--m-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  min-height: 42px;
  padding: 0 24px;
  border-color: var(--m-gold-line);
}
.ev-tab.active {
  background: linear-gradient(135deg, var(--m-gold-bright), var(--m-gold));
  border-color: transparent;
  color: var(--m-ink);
}
.ev-pub-body h3 { letter-spacing: 0.01em; }

/* ---------- Event detail: missing / not found ---------- */
#edp-status { padding-top: clamp(30px, 4vw, 60px); }
.edp-missing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: var(--m-text-2);
  text-align: center;
}
.edp-missing strong { font-family: var(--m-display); font-size: 24px; font-weight: 600; color: var(--m-text); }
.edp-missing .button-basic-1 { margin-top: 14px; }
#edp-status:empty { display: none; }
.edp-back-link { text-transform: none; }
@media (max-width: 768px) {
  .edp-hero-date { left: auto; right: 16px; }
}
.edp-page { padding-top: 130px; }
@media (max-width: 768px) { .edp-page { padding-top: 112px; } }

/* ---------- Mobile menu: a calm list, like the app's More screen ---------- */
@media (max-width: 768px) {
  #main-menu-state:checked ~ #main-menu {
    margin: 18px 0 8px;
    padding: 6px 18px;
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
  }
  .header-content-center #main-menu li,
  .header-style-1 #main-menu.sm-clean > li,
  .header-style-1 #main-menu.sm-clean > li + li {
    text-align: left;
    padding: 0 !important;
    margin: 0;
    border-bottom: 1px solid var(--m-border);
  }
  .header-style-1 #main-menu.sm-clean > li:last-child { border-bottom: 0; }
  .header-style-1 #main-menu a.menu-link {
    display: block;
    padding: 15px 2px;
    font-size: 16px;
    color: var(--m-text-2);
  }
  .header-style-1 #main-menu a.menu-link.active { color: var(--m-gold-bright); }
  .header-style-1 #main-menu a.menu-link:before { display: none; }
}

/* ---------- Contact + account: same display type as the rest ---------- */
.ctc-heading,
.acct-gate-heading,
.acct-gate .acct-login h2,
.acct-login h2,
.acct-head-info h2,
.acct-ticket-head h2 {
  font-family: var(--m-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ctc-info-row h3 { font-family: var(--m-body); font-weight: 600; }
