/* ============================================================
   components.css — UI components
   Editorial Luxury Bento: ivory + gold + racing green.
   ============================================================ */

/* ---------- Top disclosure strip ---------- */
.disclosure {
  background: var(--ink); color: var(--bg);
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.disclosure .row {
  width: var(--maxw); margin-inline: auto; padding: 8px 16px;
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  justify-content: center; text-align: center;
}
.disclosure a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.disclosure .sep { opacity: 0.4; }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 241, 232, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  width: var(--maxw); margin-inline: auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 34px; height: 34px; flex: 0 0 34px;
  border: 1px solid var(--accent-line); border-radius: 50%;
  display: grid; place-items: center; color: var(--accent-ink);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  background: var(--surface);
}
.brand .name { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); line-height: 1.1; font-weight: 500; }
.brand .tag { display: block; font-size: 0.72rem; letter-spacing: var(--track-cap); text-transform: uppercase; color: var(--text-faint); }

.anchor-strip { display: none; gap: 4px; margin-left: auto; }
.anchor-strip a {
  padding: 8px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-muted); transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.anchor-strip a:hover { color: var(--ink); background: var(--surface-sunk); }
.anchor-strip a.is-active { color: var(--accent-ink); background: var(--accent-tint); }
@media (min-width: 1024px) { .anchor-strip { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1024px) { .header-actions { margin-left: 16px; } }
.header-actions .btn-ghost { padding: 9px 16px; }

/* 18+ badge in header */
.age-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--green-ink); border: 1px solid var(--green-line);
  background: var(--green-tint); padding: 5px 10px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.age-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Mobile menu button */
.menu-btn { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); }
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-menu { display: none; flex-direction: column; padding: 8px 16px 16px; gap: 2px; border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 8px; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--ink); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .age-badge { margin: 8px 0 4px; }

/* ---------- Reading progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: transparent; }
.progress > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 80ms linear; }

/* ---------- Bento hero tile (signature) ---------- */
.tile.hero {
  grid-column: span 12; grid-row: span 2;
  background: var(--ink); color: var(--bg);
  border-color: transparent; padding: var(--s-7);
  justify-content: space-between; gap: var(--s-6);
  position: relative; overflow: hidden;
}
.tile.hero::after {
  content: ""; position: absolute; inset: auto -20% -30% auto; width: 60%; height: 80%;
  background: radial-gradient(circle at 70% 30%, rgba(155,106,47,0.22), transparent 60%);
  pointer-events: none;
}
.tile.hero h1 { color: var(--bg); font-size: clamp(2.4rem, 3vw + 1.4rem, 4.2rem); }
.tile.hero h1 em { color: var(--accent-soft); }
.tile.hero .lead { color: rgba(246,241,232,0.78); max-width: 46ch; }
.tile.hero .hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: rgba(246,241,232,0.7); }
.tile.hero .hero-meta b { color: var(--bg); font-weight: 600; display: block; font-size: 0.72rem; letter-spacing: var(--track-cap); text-transform: uppercase; color: var(--accent-soft); }
.tile.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) {
  .tile.hero { grid-column: span 7; grid-row: span 2; }
}

/* Enquiry tile (its own tile in the hero bento) */
.tile.enquiry {
  grid-column: span 12; background: var(--accent); color: var(--on-accent); border-color: transparent;
  justify-content: space-between;
}
.tile.enquiry h3 { color: var(--on-accent); }
.tile.enquiry p { color: rgba(255,255,255,0.86); }
.tile.enquiry .btn-primary { background: var(--ink); color: var(--bg); }
.tile.enquiry .btn-primary:hover { background: #2c2c2c; }
@media (min-width: 720px) { .tile.enquiry { grid-column: span 6; } }
@media (min-width: 1024px) { .tile.enquiry { grid-column: span 5; grid-row: span 2; } }

/* 18+ tile */
.tile.age {
  grid-column: span 12; background: var(--green); color: var(--on-green); border-color: transparent;
}
.tile.age h3 { color: var(--on-green); }
.tile.age p { color: rgba(246,241,232,0.85); }
.tile.age a { color: var(--on-green); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 720px) { .tile.age { grid-column: span 6; } }
@media (min-width: 1024px) { .tile.age { grid-column: span 4; } }

/* Preview tiles in hero bento */
.tile.preview .tile-img { height: 160px; }
@media (min-width: 1024px) {
  .tile.preview { grid-column: span 4; }
  .tile.preview .tile-img { height: 180px; }
}
.tile.preview h3 { font-size: 1.18rem; }
.tile.preview .more { font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink); display: inline-flex; gap: 6px; }
.tile.preview:hover .more { gap: 10px; }

/* ---------- Tile caption (editorial) ---------- */
.cap { font-size: var(--fs-cap); letter-spacing: 0.02em; color: var(--text-faint); font-style: italic; }
.tile.fact { background: var(--surface-sunk); }
.tile.fact .big { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent-ink); line-height: 1; }
.tile.fact .lbl { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Casino deep row (three wide cards) ---------- */
.deep-row .tile { gap: var(--s-4); }
.deep-row .tile .tile-img { height: 200px; }
@media (min-width: 720px) { .deep-row .tile { grid-column: span 6; } .deep-row .tile .tile-img { height: 220px; } }
@media (min-width: 1024px) { .deep-row .tile { grid-column: span 4; } }

/* ---------- Rooms bento ---------- */
.tile.suite-card { grid-column: span 12; }
.tile.suite-card .tile-img { height: 260px; }
@media (min-width: 1024px) { .tile.suite-card { grid-column: span 6; grid-row: span 2; } .tile.suite-card .tile-img { height: 340px; } }
.tile.room-card .tile-img { height: 180px; }
@media (min-width: 720px) { .tile.room-card { grid-column: span 6; } }
@media (min-width: 1024px) { .tile.room-card { grid-column: span 3; } }

/* ---------- Dining venue cards ---------- */
.venue .tile-img { height: 180px; }
.venue .hours { font-size: var(--fs-sm); color: var(--text-muted); }
.venue .hours b { color: var(--ink); font-weight: 600; }
@media (min-width: 720px) { .venue { grid-column: span 6; } }
@media (min-width: 1024px) { .venue { grid-column: span 4; } }

/* ---------- Spa bento ---------- */
.tile.spa-hero { grid-column: span 12; }
.tile.spa-hero .tile-img { height: 260px; }
@media (min-width: 1024px) { .tile.spa-hero { grid-column: span 8; grid-row: span 2; } .tile.spa-hero .tile-img { height: 380px; } }
.tile.spa-side { grid-column: span 12; }
@media (min-width: 720px) { .tile.spa-side { grid-column: span 6; } }
@media (min-width: 1024px) { .tile.spa-side { grid-column: span 4; } }

/* ---------- Location bento ---------- */
.tile.map-tile { grid-column: span 12; background: var(--surface-sunk); }
.tile.map-tile .map-canvas {
  margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) 0; width: calc(100% + var(--s-5) * 2);
  height: 260px; position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31,77,69,0.06), rgba(155,106,47,0.05)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(23,23,23,0.05) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(23,23,23,0.05) 38px 40px),
    var(--surface-sunk);
}
.tile.map-tile .pin {
  position: absolute; top: 46%; left: 52%; width: 16px; height: 16px;
  background: var(--accent); border: 3px solid var(--bg); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(155,106,47,0.18);
}
.tile.map-tile .pin::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--accent);
}
@media (min-width: 1024px) { .tile.map-tile { grid-column: span 7; grid-row: span 2; } .tile.map-tile .map-canvas { height: 100%; min-height: 320px; } }
.tile.transport { grid-column: span 12; }
@media (min-width: 720px) { .tile.transport { grid-column: span 6; } }
@media (min-width: 1024px) { .tile.transport { grid-column: span 5; } }

/* ---------- Gallery bento (dense mixed grid) ---------- */
.gallery-bento .g-item { grid-column: span 12; }
.gallery-bento .g-item .tile-img { height: 200px; }
.gallery-bento .g-item.tall .tile-img { height: 280px; }
.gallery-bento .g-item button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; }
.gallery-bento .g-item .tile-img { margin: 0; width: 100%; cursor: zoom-in; }
@media (min-width: 720px) {
  .gallery-bento .g-item { grid-column: span 4; }
  .gallery-bento .g-item.wide { grid-column: span 8; }
  .gallery-bento .g-item.tall { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .gallery-bento .g-item { grid-column: span 3; }
  .gallery-bento .g-item.wide { grid-column: span 6; }
  .gallery-bento .g-item.xwide { grid-column: span 9; }
}

/* ---------- Enquiry form (oversized bento tile) ---------- */
.tile.form-tile { grid-column: span 12; padding: var(--s-7); }
@media (min-width: 1024px) { .tile.form-tile { grid-column: span 8; grid-column-start: 3; } }
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field .hint { font-size: var(--fs-cap); color: var(--text-faint); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-sm); color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--surface); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.checks { display: flex; flex-direction: column; gap: 8px; }
.checks label { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); font-weight: 400; color: var(--text); cursor: pointer; }
.checks input { margin-top: 3px; accent-color: var(--accent); }
.form-note { font-size: var(--fs-sm); color: var(--text-muted); background: var(--surface-sunk); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; }
.form-note b { color: var(--ink); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-family: var(--font-display);
  font-size: 1.08rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .chev { flex: 0 0 auto; color: var(--accent-ink); transition: transform var(--dur) var(--ease); font-size: 1.2rem; line-height: 1; }
.acc-item[open] summary .chev { transform: rotate(45deg); }
.acc-item .acc-body { padding: 0 18px 16px; color: var(--text-muted); font-size: var(--fs-sm); }
.acc-item .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Responsible-gambling panel ---------- */
.rg-panel { background: var(--green); color: var(--on-green); border-radius: var(--r-lg); padding: var(--s-6); border: 1px solid transparent; }
.rg-panel h2, .rg-panel h3 { color: var(--on-green); }
.rg-panel p { color: rgba(246,241,232,0.86); }
.rg-panel a { color: var(--on-green); text-decoration: underline; text-underline-offset: 2px; }
.rg-panel .rg-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-5); }
@media (min-width: 720px) { .rg-panel .rg-grid { grid-template-columns: repeat(4, 1fr); } }
.rg-panel .rg-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); padding: var(--s-4); }
.rg-panel .rg-card .ic { font-size: 1.3rem; margin-bottom: 6px; }
.rg-panel .rg-card h4 { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-green); margin: 0 0 6px; }
.rg-panel .rg-card p { font-size: var(--fs-sm); color: rgba(246,241,232,0.82); margin: 0; }
.rg-panel .rg-card a { font-size: var(--fs-sm); font-weight: 600; display: inline-block; margin-top: 8px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(20, 18, 14, 0.92); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(1100px, 92vw); margin: 0; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--r-md); }
.lightbox figcaption { color: rgba(246,241,232,0.8); font-size: var(--fs-sm); margin-top: 12px; font-style: italic; }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); color: var(--bg); border: 1px solid rgba(255,255,255,0.2);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: background var(--dur) var(--ease);
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox .lb-close { top: 22px; right: 22px; transform: none; }
.lightbox .lb-prev { left: 22px; }
.lightbox .lb-next { right: 22px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250;
  max-width: 520px; margin-inline: auto;
  background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-2); display: none;
}
.cookie.show { display: block; }
.cookie h4 { color: var(--bg); margin-bottom: 8px; font-size: 1.1rem; }
.cookie p { font-size: var(--fs-sm); color: rgba(246,241,232,0.78); margin-bottom: var(--s-4); }
.cookie a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { flex: 1 1 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); margin-top: var(--s-9); }
.site-footer .fbar { width: var(--maxw); margin-inline: auto; padding: var(--s-8) 16px var(--s-6); }
.site-footer .ftop { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 720px) { .site-footer .ftop { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .fbrand .name { font-family: var(--font-display); font-size: 1.3rem; color: var(--bg); margin-bottom: 8px; }
.site-footer .fbrand p { font-size: var(--fs-sm); color: rgba(246,241,232,0.62); max-width: 38ch; }
.site-footer h4 { font-family: var(--font-sans); font-size: var(--fs-cap); font-weight: 700; letter-spacing: var(--track-cap); text-transform: uppercase; color: var(--accent-soft); margin-bottom: var(--s-3); }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { font-size: var(--fs-sm); color: rgba(246,241,232,0.74); transition: color var(--dur) var(--ease); }
.site-footer ul a:hover { color: var(--bg); }
.site-footer .fdisclaim { font-size: var(--fs-sm); color: rgba(246,241,232,0.58); border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--s-5); margin-top: var(--s-6); line-height: 1.6; }
.site-footer .fdisclaim a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .fbase { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,0.08); font-size: var(--fs-cap); color: rgba(246,241,232,0.5); }
.site-footer .fbase .legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer .fbase .legal a { color: rgba(246,241,232,0.7); }
.site-footer .fbase .legal a:hover { color: var(--bg); }
.ai-disclosure { font-size: var(--fs-cap); color: rgba(246,241,232,0.5); margin-top: var(--s-3); font-style: italic; }
