/* =========================================================
   RARELUNA — Casino Hotel, New Zealand
   Global Stylesheet
   ========================================================= */

:root {
  --midnight-violet: #401f3e;
  --vintage-grape: #3f2e56;
  --french-blue: #453f78;
  --steel-blue: #759aab;
  --vanilla-custard: #faf2a1;

  --ink: #1a1420;
  --paper: #f8f6ef;
  --paper-alt: #efe9db;
  --white: #ffffff;
  --muted: #7b7488;

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 60px rgba(64, 31, 62, 0.18);
  --shadow-card: 0 12px 30px rgba(26, 20, 32, 0.10);

  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: linear-gradient(155deg, var(--midnight-violet), var(--vintage-grape) 60%, var(--french-blue));
  color: #eee6f0;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--alt { background: var(--paper-alt); }
.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--french-blue);
  margin-bottom: 14px;
}
.hero__content .kicker {
  color: var(--paper-alt)
}
.section--dark .kicker { color: var(--vanilla-custard); }
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(250, 242, 161, 0.55);
  color: var(--vanilla-custard);
  background: rgba(250, 242, 161, 0.08);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 26px;
  max-width: 100%;
}
.eyebrow-badge span.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--vanilla-custard);
  box-shadow: 0 0 0 4px rgba(250,242,161,.2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .92rem;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--solid {
  background: var(--white);
  color: var(--midnight-violet);
}
.btn--solid:hover { background: var(--vanilla-custard); transform: translateY(-2px); }
.btn--outline {
  border-color: rgba(250, 242, 161, 0.6);
  color: var(--vanilla-custard);
  background: transparent;
}
.btn--outline:hover { background: rgba(250,242,161,.12); transform: translateY(-2px); }
.btn--primary {
  background: var(--french-blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--midnight-violet); transform: translateY(-2px); }
.btn--ghost-dark {
  border-color: var(--french-blue);
  color: var(--french-blue);
}
.btn--ghost-dark:hover { background: var(--french-blue); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: .82rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 17, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(250,242,161,.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--vanilla-custard);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(250,242,161,.5);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .03em;
  color: var(--white);
}
.brand__tag {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-blue);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-size: .92rem;
  font-weight: 600;
  color: #d9cfe0;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--vanilla-custard);
  border-bottom-color: var(--vanilla-custard);
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  color: #d9cfe0;
  font-size: .88rem;
  font-weight: 600;
}
.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(250,242,161,.5);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span, .burger::before, .burger::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--vanilla-custard);
  position: relative;
}
.burger { flex-direction: column; gap: 4px; }
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px; right: 16px;
  background: rgba(20, 12, 22, .98);
  border: 1px solid rgba(250,242,161,.25);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 10px;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #eee6f0;
  font-size: 1rem;
  font-weight: 600;
}
.mobile-menu .header-phone { color: var(--vanilla-custard); }

@media (max-width: 900px) {
  .main-nav, .header-actions .header-phone { display: none; }
  .burger { display: flex; }
  .site-header__inner { gap: 12px; }
  .header-actions { gap: 12px; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,15,26,.72) 0%, rgba(40,20,38,.78) 45%, rgba(63,46,86,.92) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; padding: 80px 0; }
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 1.08rem;
  color: #e8dff0;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero--sub { min-height: 56vh; }

/* ---------- Grids & Cards ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card img { height: 220px; width: 100%; object-fit: cover; }
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--french-blue);
  margin-bottom: 10px;
}
.card__body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__link {
  margin-top: auto;
  font-weight: 700;
  color: var(--vintage-grape);
  font-size: .92rem;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 34px; } }
.two-col img { border-radius: var(--radius-lg); }

.pill-box {
  border: 1px solid rgba(250,242,161,.3);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-weight: 600;
  color: var(--white);
}
.section--dark .pill-box { background: rgba(255,255,255,.03); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--vanilla-custard);
  font-weight: 700;
}
.stat__label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #d9cfe0;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.testimonial__stars { color: var(--vanilla-custard); background: var(--midnight-violet); display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); font-size: .85rem; margin-bottom: 16px; }
.testimonial p { font-style: italic; color: #4a4453; }
.testimonial__author { font-weight: 700; margin-top: 14px; font-style: normal; color: var(--ink); }
.testimonial__author span { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--french-blue), var(--vintage-grape));
  border-radius: var(--radius-lg);
  padding: 60px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #e3dbef; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfc7d6;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--vanilla-custard);
  font-family: var(--font-sans);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid li { font-size: .92rem; margin-bottom: 10px; color: #b9b0c2; }
.footer-grid a:hover { color: var(--vanilla-custard); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand__mark { width: 40px; height: 40px; }
.footer-brand .brand__name { color: var(--white); font-size: 1.05rem; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,242,161,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  color: var(--vanilla-custard);
}
.footer-social a:hover { background: rgba(250,242,161,.15); }
.footer-notice {
  margin-top: 40px;
  padding: 18px 22px;
  border: 1px solid rgba(250,242,161,.35);
  border-radius: var(--radius-md);
  background: rgba(250,242,161,.06);
  color: #e9e3ee;
  font-size: .88rem;
  line-height: 1.55;
}
.footer-notice strong { color: var(--vanilla-custard); }
.footer-legal {
  padding: 26px 0 30px;
  font-size: .78rem;
  color: #857c8f;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid #ddd6e6;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--french-blue);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  background: #eef8ee;
  border: 1px solid #b9e2b9;
  color: #245c24;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Contact info blocks ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
@media (max-width: 700px) { .contact-info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.info-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--french-blue); margin-bottom: 12px; }
.info-card p { margin-bottom: 6px; color: var(--ink); font-size: .98rem; }
.info-card a { color: var(--vintage-grape); font-weight: 700; }

/* ---------- Services / Pricing ---------- */
.service-block {
  padding: 60px 0;
  border-bottom: 1px solid #e5dfd0;
}
.service-block:last-child { border-bottom: none; }
.service-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .room-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .room-grid { grid-template-columns: 1fr; } }
.room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.room-card img { height: 210px; object-fit: cover; }
.room-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-card__price { font-family: var(--font-serif); font-size: 1.6rem; color: var(--vintage-grape); }
.room-card__price small { font-size: .8rem; font-weight: 400; color: var(--muted); }
.room-card ul { margin: 10px 0; }
.room-card ul li {
  font-size: .88rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.room-card ul li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--french-blue); font-weight: 700;
}
.room-card__guarantee { font-size: .78rem; color: var(--muted); font-style: italic; }
.room-card__footer { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty-badge {
  font-size: .78rem;
  font-weight: 700;
  color: var(--french-blue);
}

.venue-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .venue-block { grid-template-columns: 1fr; } }
.venue-block img { border-radius: var(--radius-lg); }
.venue-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.venue-facts .fact { background: var(--paper-alt); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .85rem; }
.venue-facts .fact strong { display: block; color: var(--vintage-grape); font-size: 1rem; }

/* ---------- Booking Cart ---------- */
.booking-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: var(--midnight-violet);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  display: none;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.booking-bar.show { display: inline-flex; }
.booking-bar .count {
  background: var(--vanilla-custard);
  color: var(--midnight-violet);
  border-radius: 50%;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20,12,22,.7);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
}
.cart-list { margin: 18px 0; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: .92rem;
}
.cart-item button {
  border: none; background: none; color: #b23; cursor: pointer; font-size: .8rem; font-weight: 700;
}
.cart-empty { color: var(--muted); font-size: .9rem; padding: 20px 0; text-align: center; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  color: #e9e3ee;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: none;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  z-index: 1500;
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: .88rem; flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--vanilla-custard); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.4rem; margin-top: 42px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #4a4453; }
.legal-content li { margin-bottom: 8px; padding-left: 4px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.legal-content .updated { font-size: .85rem; color: var(--muted); margin-bottom: 30px; }

/* ---------- About page split content ---------- */
.about-split { display: flex; flex-direction: column; gap: 60px; }
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-row.reverse .about-row__media { order: 2; }
@media (max-width: 860px) {
  .about-row, .about-row.reverse .about-row__media { grid-template-columns: 1fr; order: 0; }
  .about-row { gap: 30px; }
  .about-split { gap: 40px; }
}
.about-row__media img { border-radius: var(--radius-lg); }

/* ---------- Mobile fixes ---------- */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .eyebrow-badge { font-size: .64rem; letter-spacing: .08em; padding: 7px 14px; }
  .cta-band { padding: 36px 26px; }
  .modal { padding: 28px 22px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-banner p { min-width: 0; }
  .booking-bar { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); padding: 12px 18px; }
}
@media (max-width: 480px) {
  .stat__num { font-size: 2.1rem; }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: rgba(0,0,0,.06); margin: 60px 0; }
.text-center { text-align: center; }
.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.small-note { font-size: .8rem; color: var(--muted); }
