/* =====================================================================
   site.css: shared by every page. Edit here ONCE to change all pages:
   colors (top of file), top bar, menu, hero, footer, buttons, pop-up scrollbars.
   Each page also has its own small <style> block for things only that page uses.
   ===================================================================== */
:root { --navy:#14214f; --gold:#f2c230; --ink:#1b1f2a; --bg:#f6f7fb; }
* { box-sizing:border-box; margin:0; }
body { font-family:system-ui,sans-serif; color:var(--ink); background:var(--navy); min-height:100vh; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.alert { background:var(--gold); color:var(--navy); text-align:center; padding:.6rem; font-weight:600; }
.alert a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.alert a:hover { text-decoration-thickness:2px; }
nav { position:sticky; top:0; z-index:10; background:var(--navy); display:flex; flex-wrap:wrap; align-items:center; gap:1.5rem; justify-content:center; padding:.75rem 1rem; }
nav a { color:#fff; text-decoration:none; font-weight:500; font-size:1.5rem; }
nav a:hover, nav a[aria-current="page"] { color:var(--gold); }
.logo { height:125px; width:auto; display:block; }
.hero { position:relative; isolation:isolate; overflow:hidden; background:var(--navy); color:#fff; text-align:center; padding:4rem 1.5rem 3.5rem; }
.hero::before { content:""; position:absolute; inset:0; z-index:-2; background:var(--hero-image, url("images/cruiser-hero.jpg")) 60% 55% / cover no-repeat; transform-origin:60% 55%; will-change:transform; backface-visibility:hidden; animation:heroDrift 14s cubic-bezier(.22,.61,.36,1) both; opacity:0; transition:opacity .8s ease; }
.hero.ready::before { opacity:1; }
.hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, var(--navy) 0%, rgba(20,33,79,.55) 30%, rgba(20,33,79,.78) 70%, var(--navy) 100%); }
@keyframes heroDrift { from { transform:scale(1.12) translateZ(0); } to { transform:scale(1) translateZ(0); } }
.hero h1 { margin-bottom:3rem; font-family:"Dancing Script","Brush Script MT","Segoe Script",cursive; font-weight:700; font-size:clamp(3rem,9vw,6rem); line-height:1.05; letter-spacing:0; text-shadow:0 3px 18px rgba(0,0,0,.45); -webkit-text-stroke:.09em var(--navy); paint-order:stroke fill; }
.btn:hover { transform:translateY(-3px); }
.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s, transform .7s; }
.reveal.show { opacity:1; transform:none; }
a.card { display:block; text-decoration:none; color:inherit; transition:opacity .7s, transform .3s, box-shadow .2s; }
a.card:hover, a.card:focus-visible { transform:translateY(-6px); box-shadow:0 16px 40px rgba(20,33,79,.2); }
a.card:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }
.map-link:hover { text-decoration:underline; }
footer { background:var(--navy); color:#fff; text-align:center; padding:2.5rem 1rem; line-height:1.7; }
footer a { color:var(--gold); font-weight:600; text-decoration:none; }
footer a[href^="tel:"] { color:#fff; font:inherit; }
footer a:hover { text-decoration:underline; }
@media (max-width:760px){ .logo { height:64px; } nav a { font-size:1.15rem; } }
.hero p { margin:0 auto 2rem; max-width:40rem; opacity:.95; font-size:1.25rem; line-height:1.5; -webkit-text-stroke:6px var(--navy); paint-order:stroke fill; }
dialog[open] { animation:pop .25s ease; }
body:has(dialog[open]) { overflow:hidden; }
dialog::-webkit-scrollbar, .dbody::-webkit-scrollbar { width:14px; }
dialog::-webkit-scrollbar-track { background:transparent; margin:18px 0; }
.dbody::-webkit-scrollbar-track { background:transparent; margin:6px 0 18px; }
dialog::-webkit-scrollbar-thumb, .dbody::-webkit-scrollbar-thumb { background:#c3c9dd; border:3px solid transparent; background-clip:padding-box; border-radius:999px; }
dialog::-webkit-scrollbar-thumb:hover, .dbody::-webkit-scrollbar-thumb:hover { background:#a4acc8; background-clip:padding-box; }
@supports not selector(::-webkit-scrollbar) { dialog, .dbody { scrollbar-width:thin; scrollbar-color:#c3c9dd transparent; } }
