/* ==========================================================================
   Custom Golf Carts — Braselton, GA
   ========================================================================== */
:root {
    --ink: #17201b;
    --ink-soft: #45514b;
    --paper: #ffffff;
    --bg: #f3f5f3;
    --line: #e2e6e2;
    --green: #1e7a45;
    --green-dark: #145a32;
    --green-deep: #0e2b1c;
    --gold: #e2a52e;
    --radius: 14px;
    --shadow: 0 2px 6px rgba(14, 43, 28, .06), 0 12px 32px rgba(14, 43, 28, .10);
    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

.container { width: min(1160px, 92%); margin-inline: auto; }

h1, h2, h3, .btn { font-family: var(--font-display); }
h1, h2 { font-weight: 700; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; }
h3 { font-weight: 600; line-height: 1.15; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--green-deep); color: #fff; padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---- Top bar ---- */
.topbar { background: var(--green-deep); color: #cfe0d5; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar-contact { display: flex; gap: .6rem; align-items: center; }

/* ---- Header / nav ---- */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .55rem 0; }
.brand img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a {
    font-weight: 600; font-size: .95rem; color: var(--ink);
    padding: .35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--green); }
.site-nav a.active { color: var(--green); border-bottom-color: var(--gold); }

.btn {
    display: inline-block;
    background: var(--green);
    color: #fff !important;
    font-size: 1.1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    padding: .62rem 1.5rem;
    border: 0; border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--green-deep) !important; }
.btn-gold:hover { background: #c98f1b; }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Nav CTA button — needs .site-nav specificity to beat the plain nav-link rules */
.site-nav a.btn-nav {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--green-deep) !important;
    background: linear-gradient(135deg, #f0b93f, var(--gold) 55%, #d29018);
    padding: .55rem 1.4rem;
    border: 0; border-bottom: none; border-radius: 10px;
    box-shadow: 0 3px 10px rgba(226, 165, 46, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.site-nav a.btn-nav::after { content: "\2192"; font-size: 1.05em; transition: transform .15s ease; }
.site-nav a.btn-nav:hover {
    color: var(--green-deep) !important;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(226, 165, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.site-nav a.btn-nav:hover::after { transform: translateX(3px); }
.site-nav a.btn-nav.active { color: var(--green-deep); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---- Hero (with background video) ---- */
.hero {
    position: relative; color: #fff; overflow: hidden; isolation: isolate;
    background: url('/assets/img/hero.jpg') center 40%/cover no-repeat;
    padding: clamp(5rem, 12vw, 9.5rem) 0;
    text-align: center;
}
.hero-video {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(rgba(10, 26, 17, .74), rgba(10, 26, 17, .74));
}
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin-bottom: .5rem; }
.hero .kicker {
    display: inline-block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
    letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.hero p.lead { font-size: 1.15rem; max-width: 620px; margin: 0 auto 2rem; color: #dbe6de; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---- Page hero (interior pages) ---- */
.page-hero {
    background: linear-gradient(rgba(10, 26, 17, .78), rgba(10, 26, 17, .78)), url('/assets/img/hero.jpg') center 35%/cover no-repeat;
    color: #fff; text-align: center; padding: clamp(3rem, 7vw, 5rem) 0;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: #cfe0d5; max-width: 640px; margin: .6rem auto 0; }

/* ---- Sections ---- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.8rem; }
.section-head .kicker {
    font-family: var(--font-display); font-weight: 600; letter-spacing: .25em;
    text-transform: uppercase; color: var(--gold); font-size: 1rem;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: .3rem 0 .7rem; }
.section-head p { color: var(--ink-soft); }

/* ---- Cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.7rem; }
.card {
    background: var(--paper); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .18s ease;
}
.card:hover { transform: translateY(-4px); }
.card img { height: 220px; object-fit: cover; width: 100%; }
.card-body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.5rem; margin-bottom: .55rem; }
.card-body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.card-body .btn { margin-top: 1.2rem; align-self: flex-start; font-size: 1rem; padding: .5rem 1.3rem; }

/* ---- Split (text + image) ---- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse > .split-media { order: -1; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.split .kicker {
    font-family: var(--font-display); font-weight: 600; letter-spacing: .25em;
    text-transform: uppercase; color: var(--gold); font-size: 1rem;
}
.split p + p { margin-top: .9rem; }
.split p { color: var(--ink-soft); }
.split .btn { margin-top: 1.4rem; }

/* ---- Feature list ---- */
.checklist { list-style: none; margin-top: 1rem; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: .5rem; color: var(--ink-soft); }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .38em;
    width: 1.05rem; height: 1.05rem; border-radius: 50%;
    background: var(--green) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/70% no-repeat;
}

/* ---- Stats band ---- */
.stats { background: var(--green-deep); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { color: #cfe0d5; font-size: .95rem; margin-top: .4rem; }

/* ---- CTA band ---- */
.cta-band {
    background: linear-gradient(rgba(14, 43, 28, .88), rgba(14, 43, 28, .88)), url('/assets/img/carts.jpg') center/cover no-repeat;
    color: #fff; text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .6rem; }
.cta-band p { color: #dbe6de; max-width: 560px; margin: 0 auto 1.8rem; }

/* ---- Pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.price-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem 1.6rem; box-shadow: var(--shadow);
}
.price-card h3 {
    font-size: 1.45rem; text-transform: uppercase; letter-spacing: .05em;
    padding-bottom: .8rem; border-bottom: 2px solid var(--gold); margin-bottom: 1rem;
}
.price-card .price-note { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.price-list { list-style: none; }
.price-list li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .97rem;
}
.price-list li span:last-child { font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.price-fine { font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; }
.fine-print { font-size: .9rem; color: var(--ink-soft); background: var(--bg); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.4rem; margin-top: 2rem; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-grid img { width: 100%; height: 230px; object-fit: cover; transition: transform .25s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

.lightbox {
    position: fixed; inset: 0; background: rgba(8, 15, 11, .93); z-index: 300;
    display: none; align-items: center; justify-content: center; padding: 2.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
    font-size: 2.4rem; line-height: 1; padding: .5rem .9rem; opacity: .8;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: .8rem; right: 1rem; }
.lightbox-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: .5rem; top: 50%; transform: translateY(-50%); }

/* ---- Forms ---- */
.form-card {
    background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: clamp(1.6rem, 4vw, 2.6rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
label .req { color: #c0392b; }
input, select, textarea {
    width: 100%; font: inherit; color: var(--ink);
    padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 9px;
    background: #fbfcfb; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(30, 122, 69, .15);
}
textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-actions { margin-top: 1.4rem; }

.alert { padding: 1rem 1.3rem; border-radius: 10px; margin-bottom: 1.6rem; font-size: .95rem; }
.alert-success { background: #e5f4ea; border: 1px solid #bfe3cc; color: #145a32; }
.alert-error { background: #fdecea; border: 1px solid #f5c6c0; color: #922b21; }

/* ---- Contact page ---- */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
.info-card {
    background: var(--green-deep); color: #fff; border-radius: var(--radius);
    padding: 2rem 1.8rem; box-shadow: var(--shadow);
}
.info-card h3 { font-size: 1.5rem; margin-bottom: 1.2rem; color: #fff; }
.info-card ul { list-style: none; }
.info-card li { margin-bottom: 1.1rem; }
.info-card li span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: .15rem; }
.info-card a { color: #fff; font-weight: 600; }
.info-card a:hover { color: var(--gold); }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 2rem; }

/* ---- Download strip ---- */
.download-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--green);
    border-radius: var(--radius); padding: 1.5rem 1.8rem; box-shadow: var(--shadow);
}
.download-strip h3 { font-size: 1.4rem; }
.download-strip p { color: var(--ink-soft); font-size: .93rem; }

/* ---- Footer ---- */
.site-footer { background: #0c1712; color: #b9c8bf; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding: 3.2rem 0 2.5rem; }
.footer-title { font-family: var(--font-display); color: #fff; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .9rem; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a, .footer-contact a { color: #b9c8bf; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li { margin-bottom: .9rem; }
.footer-contact li span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.1rem; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
}
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; font-size: .82rem; color: #7d8f85; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .split, .contact-layout { grid-template-columns: 1fr; }
    .split.reverse > .split-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: .6rem 4%; box-shadow: 0 14px 24px rgba(0,0,0,.08);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
    .site-nav a.btn-nav { margin: .8rem 0; justify-content: center; padding: .7rem 1.4rem; }
    .form-grid { grid-template-columns: 1fr; }
    .topbar-inner { justify-content: center; text-align: center; }
    .brand img { height: 48px; }
}
