/* ============================================================
   Maverick Motor Inn — Kamloops BC
   Warm taupe + coral/peach hospitality theme, Thompson-River teal accent.
   Built on Bootstrap 5 (CDN); this file is brand colour, type & small tweaks only.
   ============================================================ */

:root {
  /* Brand palette (from research: #947a63 taupe, #ff9966 coral, river teal) */
  --taupe-900: #4a3c30;
  --taupe-700: #6e5a45;
  --taupe-600: #8a6f4e;
  --taupe-500: #947a63;
  --taupe-300: #c4b29c;
  --taupe-100: #ece3d6;

  --coral-600: #f47b45;
  --coral-500: #ff9966;
  --coral-300: #ffc4a3;

  --teal-700: #244c58;
  --teal-600: #2e5d6c;
  --teal-300: #6fa0aa;

  --cream: #faf6ef;
  --cream-alt: #f4eee3;
  --paper: #ffffff;

  --ink: #3a3a3a;
  --ink-soft: #5f5750;
  --ink-muted: #8a8178;

  --shadow-sm: 0 2px 8px rgba(74, 60, 48, 0.08);
  --shadow-md: 0 10px 30px rgba(74, 60, 48, 0.12);
  --shadow-lg: 0 24px 60px rgba(74, 60, 48, 0.18);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-head: 'PT Sans Narrow', 'PT Sans', system-ui, sans-serif;
  --font-body: 'PT Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .display-head {
  font-family: var(--font-head);
  color: var(--taupe-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 2.2rem; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-top: 1.6rem; }

a { color: var(--coral-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--taupe-700); text-decoration: underline; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--coral-600);
  margin-bottom: .35rem;
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--alt { background: var(--cream-alt); }
.section--paper { background: var(--paper); }
.section--taupe { background: var(--taupe-900); color: var(--cream); }
.section--taupe h1, .section--taupe h2, .section--taupe h3 { color: #fff; }

.lead-prose p { color: var(--ink-soft); font-size: 1.12rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.3rem; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative;
  padding: .35rem 0 .35rem 1.9rem;
  border-bottom: 1px dashed var(--taupe-100);
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .85rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--coral-500);
  box-shadow: 0 0 0 4px rgba(255, 153, 102, 0.18);
}
.prose ul li strong { color: var(--taupe-900); }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 700; letter-spacing: .4px; border-radius: var(--radius-pill); padding: .7rem 1.7rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral-500); border-color: var(--coral-500); color: #4a2a16; box-shadow: var(--shadow-sm); }
.btn-coral:hover { background: var(--coral-600); border-color: var(--coral-600); color: #3a1f10; box-shadow: var(--shadow-md); }
.btn-outline-cream { border: 2px solid rgba(255,255,255,.85); color: #fff; }
.btn-outline-cream:hover { background: #fff; color: var(--taupe-900); }
.btn-outline-taupe { border: 2px solid var(--taupe-500); color: var(--taupe-700); }
.btn-outline-taupe:hover { background: var(--taupe-500); color: #fff; }

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: var(--shadow-sm);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-nav .navbar-brand { font-family: var(--font-head); font-weight: 700; letter-spacing: .5px; color: var(--taupe-900); line-height: 1; }
.brand-mark {
  display: inline-flex; align-items: center; gap: .6rem;
}
.brand-badge {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--coral-500), var(--taupe-500));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; }
.brand-text .b-name { font-size: 1.15rem; color: var(--taupe-900); }
.brand-text .b-sub { font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--coral-600); font-weight: 700; }
.site-nav .nav-link { font-family: var(--font-head); font-weight: 700; color: var(--taupe-700); padding: .5rem .85rem !important; border-radius: var(--radius-pill); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--coral-600); }
.site-nav .nav-link.active { background: rgba(255,153,102,.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: 78vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero--page { min-height: 52vh; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(40, 30, 22, 0.78) 0%, rgba(40, 30, 22, 0.42) 48%, rgba(40, 30, 22, 0.18) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 5rem 0; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .hero__lead { font-size: 1.2rem; color: #f4ece2; max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero .eyebrow { color: var(--coral-300); }
.tagline-strip { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.tagline-strip span {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-size: .8rem; padding: .4rem 1rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
}

/* ---------- Feature cards ---------- */
.feature-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--taupe-100);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card .fc-media { aspect-ratio: 3 / 2; overflow: hidden; }
.feature-card .fc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feature-card:hover .fc-media img { transform: scale(1.06); }
.feature-card .fc-body { padding: 1.4rem 1.5rem 1.7rem; }
.feature-card h3 { margin-top: 0; }
.feature-card p { color: var(--ink-soft); font-size: .98rem; }
.fc-link { font-family: var(--font-head); font-weight: 700; }

/* ---------- Stat chips ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat {
  background: var(--paper); border-radius: var(--radius);
  padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--taupe-100);
}
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--coral-600); line-height: 1; }
.stat .lbl { font-size: .85rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: .4rem; }

/* ---------- Split / media sections ---------- */
.media-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media-figure img { width: 100%; height: 100%; object-fit: cover; }
.media-figure--tall { aspect-ratio: 4 / 5; }
.media-figure--wide { aspect-ratio: 16 / 10; }

.badge-soft {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  background: var(--teal-600); color: #fff; padding: .35rem 1rem;
  border-radius: var(--radius-pill); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase;
}
.badge-soft--coral { background: var(--coral-500); color: #4a2a16; }

/* ---------- Gallery grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 3/2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figure.tall { aspect-ratio: auto; grid-row: span 2; }

/* ---------- Forms ---------- */
.enquiry-form, .contact-form {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--taupe-100);
}
.enquiry-form p, .contact-form p { margin-bottom: 1rem; }
.enquiry-form label, .contact-form label { font-family: var(--font-head); font-weight: 700; color: var(--taupe-700); width: 100%; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea,
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: .35rem; padding: .7rem .9rem;
  border: 1.5px solid var(--taupe-100); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: var(--cream);
  color: var(--ink);
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--coral-500); box-shadow: 0 0 0 3px rgba(255,153,102,.18); background: #fff;
}
.enquiry-form button, .contact-form button {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .4px;
  background: var(--coral-500); color: #4a2a16; border: none;
  padding: .8rem 2rem; border-radius: var(--radius-pill); cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.enquiry-form button:hover, .contact-form button:hover { background: var(--coral-600); transform: translateY(-2px); }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--taupe-700), var(--taupe-900));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,102,.35), transparent 70%);
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #efe6da; }

/* ---------- Outbound link list ---------- */
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: .55rem 0; border-bottom: 1px solid var(--taupe-100); }
.link-list li:last-child { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--taupe-900); color: #d8cdbe; padding: 3.5rem 0 1.5rem; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer a { color: #e6d9c8; }
.site-footer a:hover { color: var(--coral-300); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .25rem 0; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .9rem; color: #b3a690; }
.footer-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-tags span { font-size: .75rem; background: rgba(255,255,255,.08); padding: .25rem .8rem; border-radius: var(--radius-pill); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }
.notfound .big404 { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 11rem); font-weight: 700; color: var(--coral-500); line-height: .9; }

/* ---------- Utilities ---------- */
.text-coral { color: var(--coral-600) !important; }
.text-teal { color: var(--teal-600) !important; }
.bg-soft { background: var(--cream-alt); }
.maxw-prose { max-width: 760px; }
.divider-leaf { width: 60px; height: 4px; border-radius: 4px; background: var(--coral-500); margin: 1rem 0 1.6rem; }
.section--taupe .divider-leaf { background: var(--coral-400, var(--coral-500)); }

@media (max-width: 575.98px) {
  body { font-size: 1rem; }
  .hero { min-height: 70vh; }
}
