/* golfnear.io — Visual refresh: Middelhavsferie, lys & luftig */
/* Colors: tropical green #2E9E6A, warm sand #FBF6ED, sun gold #E8B84A */
/* Fonts: DM Sans (body), Plus Jakarta Sans (headings) */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&family=JetBrains+Mono:wght@500&display=swap');

:root {
    --green: #2E9E6A;
    --green-light: #e6f7ef;
    --green-dark: #1a6b48;
    --green-muted: #4db882;
    --sand: #FBF6ED;
    --sand-dark: #f0e8d8;
    --gold: #E8B84A;
    --gold-light: #fdf1d6;
    --sky: #5BA3E6;
    --coral: #E8755A;
    --text: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #888;
    --bg: #FDFAF5;
    --bg-card: #ffffff;
    --border: #ede8df;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --max-width: 1140px;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-sm: 0 1px 4px rgba(140,120,80,0.06);
    --shadow-md: 0 4px 14px rgba(140,120,80,0.09);
    --shadow-lg: 0 8px 28px rgba(140,120,80,0.13);
    --touch-min: 44px;
    /* Comfort score colors */
    --comfort-great: #2E9E6A;
    --comfort-good: #6B9B37;
    --comfort-ok: #E8B84A;
    --comfort-poor: #d35400;
    --comfort-bad: #c0392b;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --text: #e8e4dc;
        --text-secondary: #b0a898;
        --text-muted: #807868;
        --bg: #1c1a17;
        --bg-card: #282520;
        --border: #3d3830;
        --green: #3aaa78;
        --green-light: #1e3a2a;
        --sand: #262218;
        --sand-dark: #222018;
        --gold-light: #3a3020;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
        --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
    }
    header {
        background: #1c1a17;
        border-bottom-color: var(--border);
    }
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }

/* ========================================
   NAV
   ======================================== */
header { background: #ffffff; color: var(--text); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: var(--touch-min);
}
.logo { color: var(--green); font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; }
.logo span { color: var(--gold); }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 0.2rem; }
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
    transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { color: var(--green); background: var(--green-light); text-decoration: none; }
.nav-play-today {
    margin-left: auto;
    background: var(--gold) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 0.4rem 1.2rem !important;
}
.nav-play-today:hover { background: #d4a63e !important; }

/* ========================================
   MAIN LAYOUT
   ======================================== */
main { max-width: var(--max-width); margin: 0 auto; padding: 1.5rem 1rem 3rem; }

/* ========================================
   HERO (homepage)
   ======================================== */
.hero {
    text-align: center;
    padding: 5rem 1.5rem 4.5rem;
    background:
        radial-gradient(ellipse at 30% 100%, rgba(232,184,74,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 0%, rgba(91,163,230,0.15) 0%, transparent 40%),
        linear-gradient(160deg, var(--green) 0%, #3aaa78 50%, var(--sky) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(46,158,106,0.15);
}
.hero h1 { font-size: 2.5rem; margin-bottom: 0.6rem; font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.subtitle { font-size: 1.15rem; opacity: 0.95; font-weight: 400; }

/* Search bar */
.search-bar {
    max-width: 500px;
    margin: 1.5rem auto 0;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 2.8rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    min-height: var(--touch-min);
    backdrop-filter: blur(4px);
    transition: border-color 0.2s, background 0.2s;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.7); }
.search-bar input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.25);
}
.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    font-size: 1.1rem;
}

/* ========================================
   PLAY TODAY STRIPE (homepage)
   ======================================== */
.play-stripe {
    background: linear-gradient(135deg, #fffdf7 0%, var(--gold-light) 100%);
    border: 1px solid rgba(232,184,74,0.25);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.play-stripe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.play-stripe-header h2 { font-size: 1.2rem; color: var(--green-dark); }
.play-stripe-header a { font-size: 0.9rem; font-weight: 600; }
.play-stripe-scroll {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}
.play-stripe-scroll::-webkit-scrollbar { height: 4px; }
.play-stripe-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.play-mini-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s, transform 0.15s;
}
.play-mini-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); text-decoration: none; }
.play-mini-score {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.play-mini-score .num { font-size: 1.1rem; line-height: 1; }
.play-mini-score .lbl { font-size: 0.55rem; text-transform: uppercase; opacity: 0.85; }
.play-mini-info { min-width: 0; }
.play-mini-info .name { font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play-mini-info .meta { font-size: 0.75rem; color: var(--text-muted); }

/* ========================================
   SECTION HEADINGS
   ======================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}
.section-header h2 { font-size: 1.3rem; color: var(--text); }
.section-header a { font-size: 0.9rem; font-weight: 600; }

/* ========================================
   REGION CARDS (homepage)
   ======================================== */
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.region-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.5rem;
    border-left: 4px solid var(--green);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s, transform 0.15s, border-left-color 0.15s;
    min-height: var(--touch-min);
}
.region-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-left-color: var(--gold); text-decoration: none; }
.region-card h3 { font-family: var(--font-heading); color: var(--green); margin-bottom: 0.5rem; font-size: 1.25rem; }
.region-stats { display: flex; gap: 1rem; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.5rem; }
.cta { color: var(--coral); font-weight: 700; font-size: 0.9rem; }

/* ========================================
   BROWSE BY (homepage)
   ======================================== */
.browse-grid { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.browse-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    min-height: var(--touch-min);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
.browse-pill:hover { background: var(--green-light); border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.browse-pill .icon { font-size: 1rem; }

/* ========================================
   COURSE CARDS
   ======================================== */
.course-list { display: flex; flex-direction: column; gap: 1rem; }
.course-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s, transform 0.15s;
    color: var(--text);
}
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.course-card-gradient {
    height: 6px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--green) 0%, var(--green-muted) 100%);
}
.course-card-gradient.championship { background: linear-gradient(90deg, #1B7A4A, #D4A843); }
.course-card-gradient.resort { background: linear-gradient(90deg, #4A90D9, #1B7A4A); }
.course-card-gradient.municipal { background: linear-gradient(90deg, #6B9B37, #4A7A2A); }
.course-card-gradient.par3 { background: linear-gradient(90deg, #D4A843, #B8860B); }
.course-card-gradient.executive { background: linear-gradient(90deg, #8B6914, #D4A843); }
.course-card-gradient.pitch_putt { background: linear-gradient(90deg, #6B9B37, #D4A843); }
.course-card-body { padding: 1.2rem 1.5rem; }
.course-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.course-header h2 { font-size: 1.1rem; font-family: var(--font-heading); }
.comfort-badge {
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius);
    min-width: 48px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.course-meta { display: flex; gap: 0.8rem; color: var(--text-secondary); font-size: 0.85rem; margin: 0.3rem 0; }
.course-details { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin: 0.5rem 0; }
.price { font-weight: 700; color: var(--green-dark); font-family: var(--font-mono); }
.vibe { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.4rem; line-height: 1.5; }
.audience-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ========================================
   TAGS
   ======================================== */
.tag {
    display: inline-flex;
    align-items: center;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
}
.tag-sm { font-size: 0.72rem; padding: 0.15rem 0.5rem; }
.tag-audience { background: var(--gold-light); color: #8B6914; }
.tag-type { background: var(--sand); color: var(--text-secondary); }
.tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.8rem; font-weight: 800; }
.page-header p { color: var(--text-secondary); margin-top: 0.3rem; }

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--green); }

/* ========================================
   SPLIT VIEW (region page)
   ======================================== */
.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.split-list { display: flex; flex-direction: column; gap: 0.8rem; }
.split-map {
    position: sticky;
    top: 60px;
    height: calc(100vh - 80px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.split-map .leaflet-container { height: 100%; width: 100%; }

/* Sticky filter bar */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.8rem 0;
    margin-bottom: 1rem;
    position: sticky;
    top: var(--touch-min);
    z-index: 50;
    background: var(--bg);
}
.filter-btn {
    padding: 0.45rem 1rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-card);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: border-color 0.15s, background 0.15s;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-light);
}

/* ========================================
   COURSE DETAIL PAGE
   ======================================== */
.course-detail { }
.course-detail h1 { font-size: 2rem; margin-bottom: 0.5rem; font-weight: 800; }
.course-detail .course-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

/* Comfort hero */
.comfort-hero {
    background: linear-gradient(135deg, #ffffff 60%, var(--green-light) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.comfort-hero-score {
    width: 110px;
    height: 110px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.comfort-hero-score .big-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.comfort-hero-score .big-label { font-size: 0.7rem; text-transform: uppercase; opacity: 0.85; margin-top: 2px; }
.comfort-hero-details { flex: 1; }
.comfort-hero-details h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.comfort-meta { display: flex; gap: 1.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.comfort-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* Comfort graph */
.comfort-graph {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}
.comfort-graph h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--text); }
.comfort-bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 120px;
}
.comfort-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    height: 100%;
}
.comfort-bar .bar {
    width: 100%;
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: height 0.3s;
}
.comfort-bar .bar-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.comfort-bar .bar-score {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* Main info sections */
.main-info section { margin-bottom: 2rem; }
.main-info h2 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--green-dark);
    font-weight: 700;
}
.main-info h3 { font-size: 1rem; margin: 0.8rem 0 0.4rem; font-weight: 600; }

.vibe-section { }
.vibe-section p { font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); }
.highlights ul, .warnings ul { padding-left: 1.2rem; margin-top: 0.4rem; }
.highlights li { color: var(--green); margin-bottom: 0.3rem; }
.warnings li { color: var(--comfort-poor); margin-bottom: 0.3rem; }

.details-table { width: 100%; border-collapse: collapse; }
.details-table td { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.details-table td:first-child { color: var(--text-muted); width: 40%; font-weight: 500; }

.facilities-section .tags { gap: 0.5rem; }

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar > div {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.3rem;
    box-shadow: var(--shadow-sm);
}
.sidebar h3 { font-size: 1rem; margin-bottom: 0.8rem; color: var(--green-dark); font-weight: 700; }

/* Price card */
.price-card { background: linear-gradient(135deg, var(--green-light), #d4f5e4) !important; border-color: var(--green) !important; }
.price-range { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.5rem; }
.price-big { font-size: 1.6rem; font-weight: 800; color: var(--green-dark); font-family: var(--font-heading); }
.price-sep { color: var(--text-muted); font-size: 1.2rem; }
.twilight { color: var(--text-secondary); font-size: 0.9rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-min);
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-book {
    display: flex;
    background: var(--green);
    color: #fff;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(46,158,106,0.25);
}
.btn-book:hover { background: var(--green-dark); box-shadow: 0 6px 16px rgba(46,158,106,0.35); text-decoration: none; }
.contact { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.6rem; }
.contact-link { font-size: 0.9rem; display: inline-block; margin-top: 0.3rem; }

/* Sidebar card accents */
.comfort-card { border-top: 3px solid var(--green) !important; }
.distance-card { border-top: 3px solid var(--sky); }
.audience-card { border-top: 3px solid var(--gold); }

/* Comfort card (sidebar) */
.comfort-hours { display: flex; flex-direction: column; gap: 0.35rem; }
.comfort-hour { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.comfort-hour .hour { width: 3.2rem; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.8rem; }
.comfort-hour .score {
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 500;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    min-width: 2.8rem;
    text-align: center;
    font-size: 0.8rem;
}
.comfort-hour .temp { color: var(--text-muted); font-size: 0.8rem; }
.comfort-hour .wind { color: var(--text-muted); font-size: 0.75rem; }

/* Distance card */
.distance-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.9rem; }
.distance-row .icon { font-size: 1.1rem; width: 1.5rem; text-align: center; }
.distance-row .target { flex: 1; font-weight: 500; }
.distance-row .dist { color: var(--text-muted); white-space: nowrap; font-family: var(--font-mono); font-size: 0.82rem; }

/* Audience card */
.audience-card .tags { gap: 0.5rem; }

/* ========================================
   PLAY TODAY PAGE
   ======================================== */
.play-today-list { display: flex; flex-direction: column; gap: 0.8rem; }
.play-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    color: var(--text);
    transition: box-shadow 0.15s, transform 0.15s;
    min-height: var(--touch-min);
}
.play-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); text-decoration: none; }
.play-score {
    color: #fff;
    border-radius: var(--radius);
    padding: 0.6rem;
    min-width: 64px;
    text-align: center;
    flex-shrink: 0;
}
.score-num { display: block; font-size: 1.5rem; font-weight: 800; font-family: var(--font-heading); }
.score-label { display: block; font-size: 0.6rem; text-transform: uppercase; opacity: 0.85; letter-spacing: 0.5px; }
.play-info { flex: 1; min-width: 0; }
.play-info h2 { font-size: 1.05rem; font-family: var(--font-heading); }
.play-meta { display: flex; gap: 0.8rem; color: var(--text-secondary); font-size: 0.85rem; }
.play-weather { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.2rem; }
.play-extras { display: flex; gap: 0.4rem; flex-shrink: 0; }

/* ========================================
   NEAR PAGES
   ======================================== */
.near-header {
    background: linear-gradient(135deg, var(--sand) 0%, var(--gold-light) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.near-header h1 { font-size: 1.8rem; font-weight: 800; }
.near-header p { color: var(--text-secondary); margin-top: 0.3rem; }
.near-distance-info {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   FILTER PAGES
   ======================================== */
.filter-header {
    background: linear-gradient(135deg, var(--green-light) 0%, #d4f5e4 100%);
    border: 1px solid rgba(46,158,106,0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.filter-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--green); }
.filter-header p { color: var(--text-secondary); margin-top: 0.3rem; }
.filter-count { font-family: var(--font-mono); color: var(--green); }

/* ========================================
   MAP
   ======================================== */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}
.map-container .leaflet-container { height: 100%; width: 100%; }

/* ========================================
   ABOUT SECTION
   ======================================== */
.about { margin-top: 2.5rem; }
.about h2 { margin-bottom: 0.6rem; }
.about p { color: var(--text-secondary); max-width: 700px; line-height: 1.7; }

/* ========================================
   EMPTY STATE
   ======================================== */
.empty { color: var(--text-muted); text-align: center; padding: 3rem; font-size: 1rem; }

/* ========================================
   FOOTER
   ======================================== */
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: var(--sand);
    border-top: 1px solid var(--border);
}

/* ========================================
   ALTERNATING SECTIONS
   ======================================== */
main > section:nth-child(even) {
    background: var(--sand);
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .split-view { grid-template-columns: 1fr; }
    .split-map { position: static; height: 300px; order: -1; }
}
@media (max-width: 768px) {
    .course-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.6rem; }
    .hero { padding: 2.5rem 1.2rem; }
    nav { flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 1rem; }
    .nav-links { gap: 0; }
    .course-detail h1 { font-size: 1.5rem; }
    .comfort-hero { flex-direction: column; text-align: center; }
    .comfort-meta { flex-wrap: wrap; justify-content: center; }
    .play-card { flex-wrap: wrap; }
    .near-header, .filter-header { padding: 1.5rem; }
}
@media (max-width: 480px) {
    .play-stripe-scroll { gap: 0.5rem; }
    .play-mini-card { flex: 0 0 180px; }
    .comfort-bars { height: 80px; }
}
