/* ==========================================================================
   DaviResortSki — Luxury European Casino Resort (daviresortski.com)
   Shared Stylesheet | 100% Visible DOM Parity | Zero Hidden Containers
   ========================================================================== */

:root {
  --bg-page: #faf8f4;
  --bg-surface: #ffffff;
  --bg-tint: #f3efe6;
  --bg-tint-alt: #eef4f3;
  --bg-warm: #fdf6ee;

  --ink-primary: #1b2432;
  --ink-secondary: #3d4a5c;
  --ink-muted: #5c6878;

  --accent-gold: #b8892d;
  --accent-gold-soft: #e6d3a7;
  --accent-teal: #1c726b;
  --accent-teal-soft: #d7ecea;
  --accent-coral: #cf634b;
  --accent-coral-soft: #f7dfd9;

  --border-light: #e5dfd3;
  --border-strong: #cfc6b4;

  --font-serif: "Georgia", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 10px 30px rgba(27, 36, 50, 0.05);
  --shadow-card: 0 4px 18px rgba(27, 36, 50, 0.04);

  --max-width: 1180px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink-primary);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--ink-secondary);
}

a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--accent-coral);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sticky Header — Plain Text Navigation Only (No Buttons, No Top Banner) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.15rem 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-primary);
  text-decoration: none;
}

.brand-title span {
  color: var(--accent-gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--ink-primary);
  border-bottom-color: var(--accent-gold);
}

/* Above the Fold Hero — Zero Images, Zero Buttons, Zero Badge Pills */
.hero-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(230, 211, 167, 0.32) 0%, transparent 48%),
    radial-gradient(circle at 88% 15%, rgba(215, 236, 234, 0.55) 0%, transparent 45%),
    radial-gradient(circle at 78% 85%, rgba(247, 223, 217, 0.42) 0%, transparent 48%),
    linear-gradient(180deg, #faf8f4 0%, #f4efe4 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 5.5rem 0 4.75rem;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 780px;
  margin-bottom: 2.75rem;
}

.hero-divider {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-coral));
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  border-top: 1px solid var(--border-strong);
  padding-top: 2.25rem;
}

.metric-item {
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
}

.metric-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.metric-label {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Subpage Header Band */
.page-banner {
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 236, 234, 0.55) 0%, transparent 50%),
    linear-gradient(180deg, #faf8f4 0%, #f2ece0 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 3.75rem 0 3.25rem;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.85rem;
}

.page-banner p {
  font-size: 1.1rem;
  max-width: 740px;
  margin-bottom: 0;
}

/* Content Sections */
.content-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.content-section.tint-warm {
  background-color: var(--bg-warm);
}

.content-section.tint-sage {
  background-color: var(--bg-tint-alt);
}

.content-section.tint-ivory {
  background-color: var(--bg-tint);
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.65rem;
}

.section-split {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.section-split.reverse {
  grid-template-columns: 0.85fr 1.25fr;
}

@media (max-width: 900px) {
  .section-split,
  .section-split.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Editorial Cards & Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.editorial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.editorial-card h3 {
  color: var(--ink-primary);
  margin-bottom: 0.6rem;
}

.editorial-card p:last-child {
  margin-bottom: 0;
}

.accent-top-gold {
  border-top: 3px solid var(--accent-gold);
}

.accent-top-teal {
  border-top: 3px solid var(--accent-teal);
}

.accent-top-coral {
  border-top: 3px solid var(--accent-coral);
}

/* Custom Inline SVG Art Frame (Below the Fold Only) */
.svg-showcase {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.svg-showcase svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.svg-caption {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-top: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Tables (Table Limits, Dining Schedules, Contacts) */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

thead {
  background-color: var(--bg-tint);
}

th {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink-primary);
  padding: 1rem 1.2rem;
  border-bottom: 2px solid var(--border-strong);
}

td {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink-secondary);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Callout Boxes */
.callout-box {
  background-color: var(--bg-surface);
  border-left: 4px solid var(--accent-teal);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.callout-box.gold {
  border-left-color: var(--accent-gold);
}

.callout-box.coral {
  border-left-color: var(--accent-coral);
}

.callout-box p:last-child {
  margin-bottom: 0;
}

/* Lists */
.styled-list {
  padding-left: 1.35rem;
  margin: 1.25rem 0 1.75rem;
}

.styled-list li {
  margin-bottom: 0.65rem;
  color: var(--ink-secondary);
}

/* Contact Form Styling */
.contact-form {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink-primary);
  background-color: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent-teal);
  outline-offset: 1px;
  background-color: var(--bg-surface);
}

.form-submit {
  display: inline-block;
  background-color: var(--accent-teal);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.form-submit:hover,
.form-submit:focus {
  background-color: #145953;
}

/* Footer with Prominent 18+ Badge & Regulatory Disclosure */
.site-footer {
  background-color: #f0ebe0;
  border-top: 2px solid var(--border-strong);
  padding: 3.75rem 0 2.5rem;
  color: var(--ink-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-strong);
}

@media (max-width: 820px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.age-badge-block {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.age-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 0.65rem 0.85rem;
  background-color: var(--ink-primary);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent-gold);
  text-align: center;
}

.age-badge-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-teal);
  text-decoration: underline;
}

.footer-disclosure {
  padding-top: 2rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.footer-disclosure p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.footer-copyright {
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--ink-primary);
}
