/* ==========================================================================
   Casino hotel site — HTML + CSS only, no JavaScript
   Theme: white background, black text, crimson / emerald / amber accents
   Fonts: Fraunces (headings, italics) + Hanken Grotesk (body, labels)
   To re-theme, change the values in :root below.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour theme */
  --bg: #ffffff;                     /* page background */
  --tint: #faf6f3;                   /* alternate section background */
  --card: #ffffff;                   /* cards */
  --heading: #111111;                /* section headings */
  --line: rgba(0, 0, 0, 0.14);       /* hairline rules */
  --line-soft: rgba(0, 0, 0, 0.08);  /* card and table row borders */
  --accent: #b0122a;                 /* crimson: brand name, sub-headings, room names, buttons */
  --accent-dark: #8c0d20;            /* button hover */
  --accent-soft: #fbeef0;            /* crimson tint */
  --accent-2: #0b6b4f;               /* emerald: labels, tagline, rates, quote */
  --accent-2-soft: #e8f4ee;          /* emerald tint */
  --accent-3: #9a6200;               /* amber: highlighted words in headings */
  --text: #1a1a1a;                   /* lead copy */
  --text-soft: #333333;              /* body copy */
  --muted: #666666;                  /* small print */
  --footer-bg: #141414;              /* footer band */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.05), 0 3px 10px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 2px 4px rgba(17, 17, 17, 0.05), 0 12px 28px rgba(17, 17, 17, 0.09);
  --shadow-lg: 0 4px 8px rgba(17, 17, 17, 0.06), 0 22px 44px rgba(17, 17, 17, 0.14);
  --shadow-accent: 0 8px 20px rgba(176, 18, 42, 0.28);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --column: 880px;
  --gutter: 24px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--heading);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

.column {
  width: 100%;
  max-width: calc(var(--column) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Small tracked label used above headings, in the header and in the footer */
.eyebrow {
  margin: 0;
  color: var(--accent-2);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.masthead {
  padding: 68px var(--gutter) 44px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--bg);
}

.masthead .eyebrow {
  margin-bottom: 22px;
  letter-spacing: 0.3em;
}

.masthead-name {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-shadow: 0 10px 24px rgba(176, 18, 42, 0.2);
}

.masthead-name a {
  color: inherit;
  text-decoration: none;
}

.masthead-tagline {
  margin: 22px 0 0;
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 400;
}

/* Three small diamonds under the tagline */
.masthead-ornament {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 0;
  font-size: 0.75rem;
  line-height: 1;
}

.masthead-ornament span:nth-child(1) {
  color: var(--accent);
}

.masthead-ornament span:nth-child(2) {
  color: var(--heading);
}

.masthead-ornament span:nth-child(3) {
  color: var(--accent-2);
}

/* ---------- Navigation (sticks to the top while scrolling) ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.07);
}

.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 12px var(--gutter);
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* The last link is the booking link, shown as a button */
.site-nav li:last-child a {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.site-nav li:last-child a:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

/* ---------- Sections ---------- */

.section {
  padding: 80px 0 88px;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 64px;
}

.section:nth-of-type(even) {
  background: var(--tint);
}

.section .eyebrow {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-2-soft);
}

.section h2 {
  margin: 22px 0 30px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.6vw, 2.375rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

/* Short two-colour bar under each section heading */
.section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0 50%, var(--accent-2) 50% 100%);
}

/* Coloured words inside headings */
.hl {
  color: var(--accent);
}

.hl-2 {
  color: var(--accent-2);
}

.hl-3 {
  color: var(--accent-3);
}

.lead {
  max-width: 37em;
  margin: 0 0 34px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Two-column card grid (casino floor, dining) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature {
  padding: 26px 26px 26px;
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:nth-child(even) {
  border-top-color: var(--accent-2);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
}

.feature:nth-child(even) h3 {
  color: var(--accent-2);
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Rooms table, inside a card */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.rooms {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.rooms th,
.rooms td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.rooms thead th {
  padding-top: 15px;
  padding-bottom: 15px;
  background: var(--heading);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rooms tbody tr {
  transition: background-color 0.2s ease;
}

.rooms tbody tr:hover {
  background: var(--accent-soft);
}

.rooms tbody tr:last-child th,
.rooms tbody tr:last-child td {
  border-bottom: 0;
}

.rooms tbody th {
  width: 26%;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 500;
}

.rooms td:last-child {
  width: 20%;
  white-space: nowrap;
}

.rate {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  font-size: 0.875rem;
  font-weight: 700;
}

.table-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Pull quote */
.pullquote {
  margin: 36px 0 0;
  padding: 26px 30px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-2-soft);
  box-shadow: var(--shadow-sm);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.pullquote p {
  margin: 0;
}

/* House rules: one small card per rule */
.rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules li {
  position: relative;
  padding: 18px 20px 18px 50px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 0.9375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rules li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.rules li::before {
  content: "\2666\FE0E";
  position: absolute;
  left: 20px;
  top: 17px;
  color: var(--accent);
  font-size: 1rem;
}

.rules li:nth-child(even)::before {
  color: var(--heading);
}

/* Reservations card */
.contact-card {
  padding: 30px 32px;
  border: 1px solid var(--line-soft);
  border-left: 5px solid var(--accent-2);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.contact {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 2;
}

.contact a {
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: var(--shadow-accent);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  box-shadow: 0 12px 26px rgba(176, 18, 42, 0.34);
  color: #ffffff;
}

.button.is-outline {
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--accent);
}

.button.is-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow-md);
  color: var(--accent);
}

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

.site-footer {
  padding: 56px var(--gutter) 52px;
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, var(--accent) 0 50%, var(--accent-2) 50% 100%) 1;
  background: var(--footer-bg);
  text-align: center;
}

.site-footer .eyebrow {
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
}

.site-footer small {
  display: block;
  margin-top: 12px;
  color: #b8b8b8;
  font-size: 0.75rem;
}

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

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  .masthead {
    padding-top: 48px;
    padding-bottom: 34px;
  }

  .masthead .eyebrow {
    letter-spacing: 0.2em;
  }

  /* Nav becomes one swipeable row */
  .site-nav ul {
    justify-content: flex-start;
    gap: 2px;
    padding: 10px 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav ul::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding: 10px 13px;
    letter-spacing: 0.12em;
  }

  .section {
    padding: 56px 0 62px;
  }

  .feature-grid,
  .rules {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 18px;
  }

  .pullquote {
    padding: 22px 22px;
    font-size: 1.25rem;
  }

  .contact-card {
    padding: 24px 22px;
  }

  /* Rooms table becomes a stacked list on small screens */
  .rooms thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .rooms,
  .rooms tbody,
  .rooms tr,
  .rooms th,
  .rooms td {
    display: block;
    width: auto;
  }

  .rooms tbody tr {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line-soft);
  }

  .rooms tbody tr:last-child {
    border-bottom: 0;
  }

  .rooms tbody th,
  .rooms tbody td,
  .rooms td:last-child {
    width: auto;
    padding: 3px 0;
    border: 0;
    white-space: normal;
  }

  .rooms td:last-child {
    padding-top: 10px;
  }

  .rooms tbody th {
    font-size: 1.1875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .feature,
  .rules li,
  .button,
  .site-nav a,
  .rooms tbody tr {
    transition: none;
  }

  .feature:hover,
  .rules li:hover,
  .button:hover {
    transform: none;
  }
}
