/* ==========================================================================
   North Crest RV Park — Shared Stylesheet  (Design System v3, June 2026)
   Source: Claude Design handoff "North Crest Home.dc.html"
   Fonts: Bricolage Grotesque (display) + Hanken Grotesk (body)
   Palette: cream #f6f1e6 · navy #16335f / #0c1f3d / #081428 · red #ce1f2b
            gold #f4c542 · green #1f6b3a · card #fffdf8
   Class names kept from v2 so subpages re-skin without markup changes.
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* legacy var names retained — remapped to the v3 palette */
    --forest: #16335f;        /* primary navy */
    --forest-light: #1d4275;
    --forest-dark: #0c1f3d;   /* deep navy bands */
    --sky: #ce1f2b;           /* red accent (links, borders, CTAs) */
    --sky-light: #b01a24;
    --accent: #f4c542;        /* gold */
    --accent-dark: #e0a93a;
    --green: #1f6b3a;
    --dark: #081428;          /* footer navy-black */
    --text-light: #5f5a4e;
    --cream: #f6f1e6;
    --card: #fffdf8;
    --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
    --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

/* ---- Inline body-copy links (on-brand red; were falling back to browser purple) ---- */
main p a:not([class]),
main .lede a:not([class]),
main .exc a:not([class]) {
    color: var(--sky);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2.5px;
    text-decoration-color: rgba(206, 31, 43, 0.42);
    transition: color .18s ease, text-decoration-color .18s ease;
}
main p a:not([class]):hover,
main .lede a:not([class]):hover,
main .exc a:not([class]):hover {
    color: var(--sky-light);
    text-decoration-color: var(--sky);
}
/* On dark bands, inline links go gold for contrast */
.rev-hero p a:not([class]),
.contact-hero p a:not([class]),
.cta-red p a:not([class]),
.news-band p a:not([class]) {
    color: var(--accent);
    text-decoration-color: rgba(244, 197, 66, 0.55);
}
.rev-hero p a:not([class]):hover,
.contact-hero p a:not([class]):hover,
.cta-red p a:not([class]):hover,
.news-band p a:not([class]):hover {
    color: #ffd76a;
    text-decoration-color: var(--accent);
}


body {
    font-family: var(--body);
    color: #1c1b18;
    line-height: 1.6;
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--forest);
}

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

::selection { background: var(--sky); color: #fff; }

/* Skip-to-content link — visually hidden until keyboard-focused (WCAG 2.2 Operable) */
.skip-link {
    position: absolute; left: 8px; top: -56px; z-index: 2000;
    background: var(--forest); color: #fff;
    padding: 10px 18px; border-radius: 0 0 8px 8px;
    font-weight: 700; text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1280px; margin: 0 auto; }

/* Film grain overlay */
.grain {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Icons (subpages) */
.value-icon svg, .amenity-icon svg, .amenity-icon-main svg,
.benefit-icon svg, .info-icon svg {
    width: 1em; height: 1em; display: inline-block; vertical-align: middle;
}
.value-icon, .amenity-icon, .amenity-icon-main, .benefit-icon, .info-icon {
    color: var(--forest); line-height: 1;
}

/* ==========================================================================
   UTILITY BAR + HEADER
   ========================================================================== */

.util-bar {
    background: var(--forest-dark);
    color: #e9e2d2;
    font-size: 13px;
    letter-spacing: .02em;
}
.util-inner {
    max-width: 1280px; margin: 0 auto; padding: 9px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.util-loc { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.util-loc::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.util-right { display: flex; align-items: center; gap: 22px; color: #c8bfa9; }
.util-right a { color: #fff; font-weight: 700; white-space: nowrap; text-decoration: none; }

header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(246, 241, 230, 0.96);
    backdrop-filter: saturate(1.15) blur(8px);
    border-bottom: 1px solid rgba(22, 51, 95, 0.12);
    transition: box-shadow .3s ease, padding .3s ease;
    padding: 0;
}
header.scrolled { box-shadow: 0 6px 24px rgba(8, 20, 40, 0.10); }

.header-wrapper {
    max-width: 1280px; margin: 0 auto; padding: 16px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    transition: padding .3s ease;
}
header.scrolled .header-wrapper { padding-top: 9px; padding-bottom: 9px; }

.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { height: 46px; width: auto; display: block; }
header.scrolled .logo img { height: 40px; }

nav { display: flex; align-items: center; gap: 32px; }
nav a {
    font-weight: 600; font-size: 15px; color: var(--forest);
    letter-spacing: .01em; text-decoration: none; transition: color .2s ease;
}
nav a:hover, nav a[aria-current="page"] { color: var(--sky); }

.cta-btn {
    background: var(--sky); color: #fff;
    font-family: var(--body); font-weight: 700; font-size: 14px;
    letter-spacing: .04em; text-transform: uppercase;
    padding: 12px 22px; border-radius: 6px; white-space: nowrap;
    text-decoration: none; border: none; cursor: pointer;
    box-shadow: 0 6px 18px rgba(206, 31, 43, 0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(206, 31, 43, 0.36); }

/* Mobile menu */
.burger {
    display: none; background: none; cursor: pointer;
    border: 1px solid rgba(22, 51, 95, 0.25); border-radius: 6px;
    width: 44px; height: 44px;
    flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.burger span { width: 20px; height: 2px; background: var(--forest); display: block; }
.mobile-menu { display: none; border-top: 1px solid rgba(22, 51, 95, 0.12); padding: 10px 28px 18px; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 13px 4px; font-weight: 600; color: var(--forest);
    border-bottom: 1px solid rgba(22, 51, 95, 0.08); text-decoration: none;
}

/* ==========================================================================
   HERO (subpages) — navy gradient + optional photo layer
   ========================================================================== */

.hero {
    background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%);
    color: white;
    min-height: 44vh;
    display: flex;
    align-items: flex-end;
    text-align: left;
    padding: 150px 28px 58px;
    position: relative;
    overflow: hidden;
}
.hero--photo { background-size: cover; background-position: center; }
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; }
.hero .eyebrow { color: var(--accent); margin-bottom: 10px; }
.hero h1 {
    font-size: clamp(40px, 5.2vw, 68px);
    font-weight: 800; color: #fff;
    margin-bottom: 14px; line-height: 1.0;
    text-wrap: balance;
    text-shadow: 0 2px 30px rgba(8, 20, 40, 0.4);
}
.hero p {
    font-size: clamp(16px, 1.6vw, 19px);
    color: #f1ece0; font-weight: 500; line-height: 1.55;
    max-width: 640px;
    text-shadow: 0 1px 14px rgba(8, 20, 40, 0.45);
}
.hero .badge {
    display: inline-flex; align-items: center; gap: 9px;
    color: #fff; font-weight: 700; font-size: 13px;
    letter-spacing: .16em; text-transform: uppercase;
    background: rgba(206, 31, 43, 0.92);
    padding: 8px 16px; border-radius: 5px; margin-bottom: 24px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 30px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary, .btn-light, .btn-outline, .booking-btn, .submit-btn {
    font-family: var(--body); font-weight: 700; letter-spacing: .03em;
}
.btn-primary {
    background: var(--sky); color: #fff; font-size: 16px;
    padding: 17px 32px; border-radius: 7px; white-space: nowrap;
    text-decoration: none; display: inline-block; border: none; cursor: pointer;
    box-shadow: 0 12px 30px rgba(206, 31, 43, 0.4);
    transition: transform .2s ease;
}
.btn-primary:hover { transform: translateY(-3px); }
.btn-light {
    background: #fff; color: var(--forest); font-size: 16px;
    padding: 17px 32px; border-radius: 7px; text-decoration: none;
    display: inline-block; transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 10px 28px rgba(8, 20, 40, 0.25);
}
.btn-light:hover { transform: translateY(-3px); }
.btn-outline {
    background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.55); color: #fff;
    font-size: 16px; padding: 17px 32px; border-radius: 7px;
    text-decoration: none; display: inline-block; transition: background .2s ease;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.22); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */

section { padding: 96px 28px; }

.eyebrow, .section-header .kicker {
    display: inline-block; color: var(--sky);
    font-weight: 700; font-size: 13px;
    letter-spacing: .16em; text-transform: uppercase;
    margin-bottom: 14px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2, section > .container > h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700; line-height: 1.05; color: var(--forest);
    margin-bottom: 14px; text-align: center; text-wrap: balance;
}
.section-header p { color: var(--text-light); font-size: 17px; max-width: 620px; margin: 0 auto; }

.cta-band {
    padding: 96px 28px;
    background: var(--forest-dark);
    text-align: center; color: #f6f1e6;
}
.cta-band--photo { background-size: cover; background-position: center; }
.cta-band h2 {
    font-size: clamp(34px, 4.4vw, 58px); font-weight: 800;
    color: #fff; margin-bottom: 18px; line-height: 1.02;
}
.cta-band p { font-size: 18px; margin-bottom: 36px; color: #d8d0bc; }

/* Marquee ribbon */
.marquee {
    background: var(--forest);
    border-top: 3px solid var(--sky);
    border-bottom: 3px solid var(--sky);
    overflow: hidden; padding: 15px 0;
}
.marquee-track { display: flex; width: max-content; white-space: nowrap; animation: ncMarquee 34s linear infinite; }
.marquee-track span {
    font-family: var(--display); font-weight: 700; font-size: 18px;
    text-transform: uppercase; letter-spacing: .05em;
    color: #f1ece0; padding: 0 26px; white-space: nowrap;
}
.marquee-track .dot { color: var(--sky); padding: 0; }

@keyframes ncMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ncKen { from { transform: scale(1.06); } to { transform: scale(1.16); } }
@keyframes ncFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* Photo hover zoom */
.zoomwrap { overflow: hidden; }
.zoomwrap img { transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.zoomwrap:hover img { transform: scale(1.06); }

/* ==========================================================================
   FOOTER — deep navy with ghost wordmark
   ========================================================================== */

footer {
    background: var(--dark); color: #bcb39c;
    padding: 64px 28px 32px;
    position: relative; overflow: hidden;
}
.footer-ghost {
    position: absolute; left: 50%; bottom: -2.4vw; transform: translateX(-50%);
    font-family: var(--display); font-weight: 800;
    font-size: clamp(80px, 17vw, 260px); line-height: 1; letter-spacing: -0.03em;
    color: rgba(244, 197, 66, 0.05); white-space: nowrap; pointer-events: none;
}
.footer-grid {
    position: relative; max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px;
}
.footer-tagline { font-size: 14px; line-height: 1.7; max-width: 280px; color: #8e866f; }
.footer-logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 16px; }
.footer-col h4 {
    color: var(--accent); font-size: 12.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.footer-col a, .footer-col p {
    display: block; font-size: 14px; line-height: 2.1;
    color: #bcb39c; text-decoration: none; transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    position: relative; z-index: 1; max-width: 1180px; margin: 44px auto 0;
    padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px; color: #6f6857; text-align: left;
}
.footer-bottom a { color: #6f6857; }

/* ==========================================================================
   MOTION (paired with js/main.js)
   ========================================================================== */

.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: hero-rise .85s cubic-bezier(.22, 1, .36, 1) both; }
.hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-content > *:nth-child(3) { animation-delay: .24s; }
.hero-content > *:nth-child(4) { animation-delay: .36s; }

@media (min-width: 1025px) and (hover: hover) {
    .hero--photo, .parallax { background-attachment: fixed; }
}

.photo-grid figure { overflow: hidden; border-radius: 12px; }
.photo-grid img { transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.photo-grid figure:hover img { transform: scale(1.05); }

/* ==========================================================================
   ACCESSIBILITY + RESPONSIVE
   ========================================================================== */

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--accent); outline-offset: 2px;
}

@media (max-width: 1024px) {
    section { padding: 64px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
    nav { display: none; }
    .burger { display: flex; }
}

@media (max-width: 768px) {
    section { padding: 48px 20px; }
    .hero { padding: 80px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .logo img { height: 40px; }
}

@media (max-width: 620px) {
    .util-right [data-util-hours] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; flex-wrap: wrap; }
}

/* Review flags — visible chips for Emily's review pass; remove before launch */
.needs-review {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff7df; border: 1.5px dashed var(--accent-dark);
    color: #8a6a14; font-family: var(--body); font-weight: 700;
    font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 6px; vertical-align: middle;
}
.needs-review::before { content: '⚑'; }

/* Shared red CTA band (Rates/Gallery/FAQ et al.) */
.cta-red { padding: 88px 28px; background: var(--sky); color: #fff; text-align: center; }
.cta-red h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.05; color: #fff; text-wrap: balance; }
.cta-red p { font-size: 18px; margin: 16px 0 32px; color: #ffe3e0; font-weight: 500; }
.cta-red .row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-red .solid { background: #fff; color: var(--sky); font-weight: 700; font-size: 17px; padding: 17px 34px; border-radius: 8px; white-space: nowrap; text-decoration: none; box-shadow: 0 14px 30px rgba(8,20,40,0.2); transition: transform .2s ease; display: inline-block; }
.cta-red .solid:hover { transform: translateY(-3px); }
.cta-red .ghost { border: 1px solid rgba(255,255,255,0.6); color: #fff; font-weight: 700; font-size: 17px; padding: 17px 34px; border-radius: 8px; text-decoration: none; transition: background .2s ease; display: inline-block; }
.cta-red .ghost:hover { background: rgba(255,255,255,0.12); }

/* Sticky mobile call/text bar — phone-first booking */
.call-bar { display: none; }
@media (max-width: 860px) {
    .call-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
        display: grid; grid-template-columns: 1.4fr 1fr;
        box-shadow: 0 -8px 30px rgba(8,20,40,0.25);
    }
    .call-bar a {
        text-align: center; padding: 16px 10px; font-weight: 700; font-size: 15.5px;
        text-decoration: none; font-family: var(--body);
    }
    .call-bar .c { background: var(--sky); color: #fff; }
    .call-bar .t { background: var(--forest-dark); color: #fff; }
    body { padding-bottom: 54px; }
}

/* Marquee pauses on hover */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Blog reading progress (filled by js) */
.read-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--sky); z-index: 2500; transition: width .1s linear;
}


/* ---- Booking callout (rates page): Dyrt online vs. call-for-better-rate ---- */
.book-callout {
    max-width: 1180px; margin: 8px auto 4px; background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
    border-radius: 18px; padding: 38px 42px; display: grid; grid-template-columns: 1.3fr 0.7fr;
    gap: 34px; align-items: center; box-shadow: 0 20px 44px rgba(12, 31, 61, 0.16);
}
.book-callout .eyebrow { color: var(--accent); }
.book-callout h2 { color: #fff; text-align: left; font-size: clamp(23px, 2.5vw, 31px); line-height: 1.12; margin: 10px 0 12px; }
.book-callout p { color: #d8d0bc; font-size: 16px; line-height: 1.65; margin: 0; }
.book-callout p strong { color: #fff; }
.book-callout .bc-actions { display: flex; flex-direction: column; gap: 12px; }
.book-callout .bc-call { background: var(--sky); color: #fff; font-weight: 700; font-size: 16px; text-align: center; padding: 15px 20px; border-radius: 9px; text-decoration: none; box-shadow: 0 12px 26px rgba(206, 31, 43, 0.34); transition: transform .2s ease; }
.book-callout .bc-call:hover { transform: translateY(-2px); }
.book-callout .bc-dyrt { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; font-weight: 700; font-size: 15px; text-align: center; padding: 14px 20px; border-radius: 9px; text-decoration: none; transition: background .2s ease; }
.book-callout .bc-dyrt:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 820px) { .book-callout { grid-template-columns: 1fr; gap: 22px; padding: 30px 26px; } }
