/* ===========================================================
   Noctura Resort & Casino — shared stylesheet
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #10262B;
  --ink-raised: #1C3D42;
  --ink-line: #2C4C52;
  --ivory: #EDE6D6;
  --ivory-raised: #F5F1E7;
  --brass: #C9A24B;
  --brass-light: #E4C97A;
  --ember: #A63D2F;
  --text-onDark: #F4EFE3;
  --text-onDark-dim: #B9CBCD;
  --text-onLight: #1B2E31;
  --text-onLight-dim: #55676A;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Work Sans', -apple-system, sans-serif;

  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--ink);
  color: var(--text-onDark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 38, 43, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--text-onDark);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand .brand-mark { color: var(--brass); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-onDark-dim);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text-onDark);
  border-color: var(--brass);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-brass {
  background: var(--brass);
  color: #1B1206;
}
.btn-brass:hover { background: var(--brass-light); }

.btn-line {
  background: transparent;
  border-color: var(--brass);
  color: var(--text-onDark);
}
.btn-line:hover { background: rgba(201, 162, 75, 0.1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink-line);
  color: var(--text-onDark);
  padding: 8px 12px;
  border-radius: 3px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
  border-bottom: 1px solid var(--ink-line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink) 30%, rgba(16,38,43,0.55) 65%, rgba(16,38,43,0.25) 100%);
}

.hero-fan, .hero-inner { position: relative; z-index: 1; }

.hero-fan {
  position: absolute;
  right: -180px;
  top: -160px;
  width: 720px;
  height: 720px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 640px;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--brass-light);
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.eyebrow-line .rule {
  width: 40px;
  height: 1px;
  background: var(--brass);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.03;
  color: var(--text-onDark);
}

.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--text-onDark-dim);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: 96px 0;
}

.section-dark { background: var(--ink); }
.section-light {
  background: var(--ivory);
  color: var(--text-onLight);
}

.section-light .section-kicker { color: var(--ember); }
.section-light .section-head p { color: var(--text-onLight-dim); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-kicker {
  color: var(--brass-light);
  font-size: 0.85rem;
  margin-bottom: 14px;
  display: block;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 16ch;
}

.section-head p {
  max-width: 38ch;
  color: var(--text-onDark-dim);
  font-size: 1.02rem;
}

/* ---------- Suite preview strip (asymmetric, not a card grid) ---------- */

.suite-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

.suite-tile {
  background: var(--ink);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  position: relative;
}

.suite-tile:first-child { min-height: 420px; }

.suite-tile .tile-name {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.suite-tile .tile-note {
  color: var(--text-onDark-dim);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.suite-tile .tile-price {
  color: var(--brass-light);
  font-size: 0.9rem;
}

.suite-tile svg { position: absolute; top: 32px; left: 32px; opacity: 0.5; }

.tile-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--ink) 20%, rgba(16,38,43,0.2) 100%);
}
.suite-tile > *:not(.tile-media) { position: relative; z-index: 1; }

/* ---------- Dining editorial rows ---------- */

.dine-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(27,46,49,0.12);
}

.dine-row:first-of-type { border-top: none; }

.dine-visual {
  aspect-ratio: 4/3;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--ink-raised), var(--ink));
  overflow: hidden;
}

.dine-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dine-row:nth-child(even) .dine-visual { order: 2; }
.dine-row:nth-child(even) .dine-copy { order: 1; }

.dine-copy .dine-name {
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.dine-copy .dine-cuisine {
  color: var(--ember);
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: block;
}

.dine-copy p.desc {
  color: var(--text-onLight-dim);
  font-size: 1.02rem;
  max-width: 48ch;
  margin-bottom: 20px;
}

.dine-copy .dine-meta {
  font-size: 0.9rem;
  color: var(--text-onLight-dim);
}

/* ---------- Spa panel ---------- */

.spa-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink-line);
}

.spa-panel-copy {
  padding: 64px;
}

.spa-panel-copy p.desc {
  color: var(--text-onDark-dim);
  margin: 20px 0 32px;
  max-width: 44ch;
}

.spa-list {
  padding: 64px;
  background: var(--ink-raised);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spa-list-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink-line);
}
.spa-list-item:last-child { border-bottom: none; }

.spa-list-item .name { font-family: var(--display); font-size: 1.15rem; }
.spa-list-item .length { color: var(--text-onDark-dim); font-size: 0.9rem; }

/* ---------- Info strip (amenities) ---------- */

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.info-item .num {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--brass-light);
  margin-bottom: 6px;
}

.info-item .label {
  font-size: 0.95rem;
  color: var(--text-onDark-dim);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ember);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--text-onDark);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 20px;
}

.cta-band .btn-line { border-color: var(--text-onDark); }

/* ---------- Footer ---------- */

.site-footer {
  background: #0B1B1F;
  padding: 64px 0 40px;
  color: var(--text-onDark-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line);
}

.footer-grid h4 {
  font-family: var(--body);
  font-weight: 600;
  color: var(--text-onDark);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--text-onDark); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Sub-page hero (Suites / Dining / Spa) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--ink-line);
}
.page-hero .wrap { position: relative; z-index: 1; }

.page-hero .eyebrow-line { margin-bottom: 18px; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.page-hero p {
  margin-top: 20px;
  color: var(--text-onDark-dim);
  max-width: 56ch;
  font-size: 1.05rem;
}

/* ---------- Suites page grid ---------- */

.suites-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

.suite-card {
  background: var(--ink);
  padding: 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.suite-card > *:not(.tile-media) { position: relative; z-index: 1; }

.suite-card .tile-name { font-family: var(--display); font-size: 1.5rem; margin-bottom: 8px; }
.suite-card .tile-note { color: var(--text-onDark-dim); font-size: 0.95rem; flex-grow: 1; }
.suite-card .specs {
  display: flex;
  gap: 18px;
  margin: 18px 0;
  font-size: 0.85rem;
  color: var(--brass-light);
}
.suite-card .tile-price { font-size: 1rem; color: var(--text-onDark); }

/* ---------- Casino game list ---------- */

.game-list {
  display: flex;
  flex-direction: column;
}

.game-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-line);
  align-items: baseline;
}
.game-row:first-child { border-top: 1px solid var(--ink-line); }

.game-row .game-name {
  font-family: var(--display);
  font-size: 1.2rem;
}

.game-row .game-detail,
.game-row .game-stakes {
  font-size: 0.92rem;
  color: var(--text-onDark-dim);
}

/* ---------- Entertainment schedule (genuine weekly sequence) ---------- */

.schedule {
  display: flex;
  flex-direction: column;
}

.schedule-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(27,46,49,0.12);
}
.schedule-row:first-child { border-top: none; }

.schedule-day {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--ember);
}

.schedule-copy .schedule-title {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.schedule-copy .schedule-desc {
  color: var(--text-onLight-dim);
  font-size: 0.95rem;
  max-width: 52ch;
}

.schedule-time {
  font-size: 0.9rem;
  color: var(--text-onLight-dim);
  white-space: nowrap;
}

/* ---------- Offers grid (shares suites-index layout) ---------- */

.offers-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.offer-card {
  background: var(--ink);
  padding: 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.offer-card > *:not(.tile-media) { position: relative; z-index: 1; }
.offer-card .tile-name { font-family: var(--display); font-size: 1.4rem; margin-bottom: 8px; }
.offer-card .tile-note { color: var(--text-onDark-dim); font-size: 0.95rem; flex-grow: 1; }
.offer-card .tile-price { font-size: 1rem; color: var(--text-onDark); margin-top: 18px; }
.offer-card .offer-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  color: var(--brass-light);
  border: 1px solid var(--brass);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ---------- Booking form ---------- */

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
}

.booking-form .field-full { grid-column: 1 / -1; }

.booking-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-onDark-dim);
  margin-bottom: 8px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  color: var(--text-onDark);
  font-family: var(--body);
  font-size: 0.98rem;
  padding: 13px 14px;
  border-radius: 3px;
}

.booking-form textarea { resize: vertical; min-height: 100px; }

.booking-form input::placeholder,
.booking-form textarea::placeholder { color: var(--text-onDark-dim); opacity: 0.7; }

.booking-form .submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.booking-form .submit-note {
  font-size: 0.85rem;
  color: var(--text-onDark-dim);
}

/* ---------- Responsive additions ---------- */

@media (max-width: 900px) {
  .game-row { grid-template-columns: 1fr; gap: 6px; }
  .schedule-row { grid-template-columns: 1fr; gap: 6px; }
  .offers-index { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    padding: 24px 32px 32px;
    gap: 18px;
  }
  .nav-toggle { display: inline-flex; }
  .suite-strip, .suites-index { grid-template-columns: 1fr; }
  .dine-row, .dine-row:nth-child(even) { grid-template-columns: 1fr; }
  .dine-row:nth-child(even) .dine-visual,
  .dine-row:nth-child(even) .dine-copy { order: initial; }
  .spa-panel { grid-template-columns: 1fr; }
  .spa-panel-copy, .spa-list { padding: 40px 28px; }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
