/* ============================================================
   Tamihi Meadows — "Homie" Campground & Cabin Booking
   Unified teal palette — calm, natural, beautiful 🌿🌊
   ============================================================ */

/* ─── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Raleway:wght@400;500;600;700;800&display=swap');

/* ─── CSS Variables — Teal + Slate ─────────────────────── */
:root {
    --teal-50:  var(--teal-50);
    --teal-100: var(--teal-100);
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50:  var(--slate-50);
    --slate-100: var(--slate-100);
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --primary:        var(--teal-600);
    --primary-hover:  var(--teal-700);
    --primary-light:  var(--teal-100);
    --primary-soft:   var(--teal-50);
    --accent:         var(--teal-400);
    --accent-light:   var(--teal-100);
    --surface:        #ffffff;
    --bg:             var(--teal-50);
    --bg-warm:        #f5fdfc;
    --text:           #000;
    --text-soft:      #000;
    --text-muted:     #000;

    /* Legacy color aliases — all black for readability */
    --cedar:          #000;
    --stone:          #000;
    --bark:           #000;
    --moss:           #000;
    --pecan:          #000;
    --sand:           #e2e8f0;
    --off-white:      #ffffff;
    --linen:          #f1f1f1;
    --copper:         #0d9488;
    --sky:            #3b82f6;
    --border:         var(--slate-200);
    --border-hover:   var(--slate-400);
    --shadow-color:   rgba(15,118,110,0.05);

    --radius:         1rem;
    --radius-sm:      0.625rem;
    --radius-lg:      1.25rem;
    --radius-xl:      2rem;
    --shadow:         0 2px 8px rgba(15,118,110,0.06);
    --shadow-md:      0 4px 16px rgba(15,118,110,0.08);
    --shadow-lg:      0 8px 32px rgba(15,118,110,0.10);
    --transition:     0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; }

/* Warm rustic background with subtle pattern */
body {
    font-family: 'Raleway', 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(13,148,136,0.03) 3px,
            rgba(13,148,136,0.03) 6px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 3px,
            rgba(13,148,136,0.03) 3px,
            rgba(13,148,136,0.03) 6px
        );
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.section-header h2 span, .section-header h1 span,
.feature-card h3 span, .form-card h3 span,
.logo span, .hero-logo-name span, .stat-value span,
.calendar-cta-text strong span, .footer-col h4 span {
    font-weight: 700 !important;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Site-wide: no thin/light fonts — minimum weight 500 (medium) */
body, p, a, li, td, th, label, input, select, textarea, button, div {
    font-weight: 500;
}
strong, b, th, .btn, label, h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ─── Page Frame — full-width, solid, starts under navbar ── */
.page-frame {
    position: relative; z-index: 1;
    width: 100%; max-width: none;
    flex: 1;
    margin: 0 auto 0;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(15,118,110,0.08), 0 1px 4px rgba(15,118,110,0.04);
    overflow: clip;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.container { width: 100%; max-width: none; margin: 0 auto; padding: 0 2rem; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700 !important; color: var(--text); }
h1 { font-family: 'Amatic SC', cursive; font-size: 3.5rem; font-weight: 700 !important; }
h2 { font-family: 'Amatic SC', cursive; font-size: 2.8rem; font-weight: 700 !important; }
h3 { font-family: 'Raleway', sans-serif; font-size: 1.2rem; font-weight: 700; }
h4 { font-family: 'Raleway', sans-serif; font-size: 1.1rem; font-weight: 700; }
h5 { font-family: 'Raleway', sans-serif; font-size: 1rem; font-weight: 700; }
h6 { font-family: 'Raleway', sans-serif; font-size: 0.9rem; font-weight: 700; }

code { background: var(--border); padding: 0.15em 0.5em; border-radius: 0.375rem; font-size: 0.875em; font-family: 'SF Mono', 'Fira Code', monospace; color: var(--primary); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1.5rem; border-radius: var(--radius-xl); font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 0.9375rem; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-decoration: none; line-height: 1.4; }
.btn-primary { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: var(--teal-600); color: #fff !important; border-color: var(--teal-500); }
.btn-outline:hover { background: var(--teal-700); border-color: var(--teal-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-danger { background: #ef4444; color: #fff !important; border-color: #ef4444; }
.btn-danger:hover { background: #dc2626; }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }

.site-header { background: #3d505f; border-bottom: 1px solid #334155; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.site-header .container { max-width: none; padding: 0 2rem; }
.admin-header .container { max-width: none; padding: 0 2rem; }
.header-inner { display: flex; align-items: center; height: 4.5rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Amatic SC', cursive; font-size: 2.4rem; font-weight: 700; color: #fff !important; text-decoration: none !important; letter-spacing: 0.02em; white-space: nowrap; flex-shrink: 0; }
.logo-icon { font-size: 2rem; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg); flex-shrink: 0; }
.logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.logo-text strong { color: var(--primary); }
.mobile-menu { display: flex; align-items: center; flex: 1; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 0.25rem; flex: 1; }
.main-nav a { padding: 0.5rem 0.875rem; border-radius: var(--radius-xl); font-weight: 600; font-size: 0.9375rem; color: #fff; text-decoration: none; transition: all var(--transition); font-family: 'Raleway', sans-serif; }
.main-nav a:hover { background: #334155; color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; white-space: nowrap; }
.nav-actions a { padding: 0.5rem 0.875rem; border-radius: var(--radius-xl); font-weight: 600; font-size: 0.9375rem; color: #fff; text-decoration: none; transition: all var(--transition); font-family: 'Raleway', sans-serif; }
.nav-actions a:hover { background: #334155; color: #fff; }
.nav-actions .btn { padding: 0.5rem 1rem; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 24px; height: 2.5px; background: #cbd5e1; border-radius: 2px; transition: all var(--transition); }

/* ─── User Dropdown ────────────────────────────────────── */
.user-dropdown {
    position: relative;
}
.user-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9375rem;
    color: #fff;
    background: none;
    border: 1px solid #475569;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    transition: all var(--transition);
}
.user-dropdown-toggle:hover {
    background: #334155;
    border-color: var(--primary);
    color: #fff;
}
.user-avatar {
    font-size: 1.1rem;
    line-height: 1;
}
.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform var(--transition);
}
.user-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    z-index: 300;
    overflow: hidden;
}
.user-dropdown.open .user-dropdown-menu {
    display: block;
}
.user-dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    transition: background var(--transition);
    font-family: 'Raleway', sans-serif;
}
.user-dropdown-menu a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.user-dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ─── Nav Dropdown (blends as a nav link, no border) ──── */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9375rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    transition: all var(--transition);
}
.nav-dropdown-toggle:hover {
    background: #334155;
    color: #fff;
}
.nav-dropdown.open .nav-dropdown-toggle {
    background: #334155;
    color: #fff;
}
.nav-dropdown .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform var(--transition);
}
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    z-index: 300;
    overflow: hidden;
}
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    transition: background var(--transition);
    font-family: 'Raleway', sans-serif;
}
.nav-dropdown-menu a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.nav-dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ─── Hero Carousel ─────────────────────────────────────── */
.hero-inline {
    position: relative; text-align: center;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 4.5rem);
    width: 100%;
    display: flex; align-items: center; justify-content: center;
}
@media (max-width: 768px) {
    .hero-inline {
        aspect-ratio: 4 / 3;
        max-height: 70vh;
    }
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
.hero-overlay-light { position: absolute; inset: 0; background: transparent; pointer-events: none; z-index: 1; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px); line-height: 1;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow-left { left: 1.5rem; }
.hero-arrow-right { right: 1.5rem; }
.hero-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0.6rem; }
.hero-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.hero-dots .dot:hover { transform: scale(1.3); }
.hero-dots .dot.active { background: #fff; transform: scale(1.2); }
.hero-content { position: relative; z-index: 2; padding: 2rem 1.5rem; max-width: 800px; }
.hero-logo-circle {
    width: 150px; height: 150px; border-radius: 50%;
    background: rgba(20,20,20,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin: 0 auto 2rem; padding: 0.6rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.12);
}
.hero-logo-circle img { width: 55%; height: auto; border-radius: 0; }
.hero-logo-name {
    font-family: 'Amatic SC', cursive; font-size: 2.4rem; font-weight: 700;
    color: #fff; line-height: 1; margin-top: 2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hero-logo-sub {
    font-size: 0.7rem; color: rgba(255,255,255,0.7); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    font-family: 'Raleway', sans-serif; line-height: 1;
}
.hero-content h1 { font-size: 5rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; letter-spacing: -0.01em; text-shadow: 0 3px 12px rgba(0,0,0,0.40), 0 6px 24px rgba(0,0,0,0.25); }
.hero-content h1 span { color: var(--accent); text-shadow: 0 3px 12px rgba(0,0,0,0.45), 0 6px 24px rgba(0,0,0,0.30); }
.hero-subtitle { font-size: 1.3rem; color: #fff; max-width: 600px; margin: 0 auto 2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.45); font-weight: 500; font-family: 'Raleway', sans-serif; }
.hero-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-actions .btn-primary { background: var(--primary); color: #fff !important; border-color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.35); font-size: 1.125rem; padding: 1rem 2.5rem; border-radius: var(--radius-xl); }
.hero-actions .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.hero-actions .btn-outline { color: #fff !important; border-color: rgba(255,255,255,0.65); background: rgba(15,23,42,0.25); backdrop-filter: blur(4px); font-size: 1.125rem; padding: 1rem 2.5rem; border-radius: var(--radius-xl); }
.hero-actions .btn-outline:hover { background: rgba(15,23,42,0.45); border-color: #fff; transform: translateY(-2px); }

/* When heading is hidden (slide 0), place buttons at bottom to avoid logo */
.hero-content-bottom {
    position: static !important;
}
.hero-content-bottom .hero-actions {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
}

section { padding: 5rem 0; position: relative; }
.campsites-page { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 3.2rem; margin-bottom: 0.5rem; color: var(--text); position: relative; display: inline-block; font-weight: 700 !important; }
.section-header h2::after {
    content: '';
    display: block;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}
.section-header p { color: var(--text-soft); font-size: 1.15rem; font-weight: 500; max-width: 560px; margin: 0 auto; font-family: 'Raleway', sans-serif; }
.section-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.section-header-row h1, .section-header-row h2 { margin: 0; }

/* ─── Alternating Section Backgrounds ─────────────────── */
.section-warm { background: #f1f1f1; }
.section-warm .feature-card,
.section-warm .campsite-card,
.section-warm .good-to-know-card,
.section-warm .form-card { background: #3d505f; color: #fff; }
.section-warm .feature-card h3,
.section-warm .campsite-card h3,
.section-warm .good-to-know-card h3,
.section-warm .form-card h3 { color: #fff; }
.section-warm .campsite-card .campsite-desc,
.section-warm .campsite-card .campsite-location,
.section-warm .feature-card p,
.section-warm .good-to-know-card p,
.section-warm .form-card p { color: #fff; }
.section-warm .campsite-price { color: #5eead4; }
.section-light { background: #fff; }
.section-alt { background: #ffffff; }

/* Wavy divider */
.section-alt::before {
    content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C200,25 400,0 600,25 C800,50 1000,25 1200,50 L1200,0 L0,0 Z' fill=.%23ccfbf1./%3E%3C/svg%3E") bottom/100% 100% no-repeat;
    pointer-events: none; z-index: 1;
}

.features { background: var(--teal-100); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
    text-align: center;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-lg);
    background: #3d505f;
    border: 2px solid #4a6275;
    box-shadow: 0 2px 12px rgba(13,148,136,0.08);
    transition: all 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13,148,136,0.10);
    border-color: var(--teal-400);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    width: 72px; height: 72px;
    line-height: 72px;
    border-radius: 50%;
}
.feature-card h3 { margin-bottom: 0.5rem; font-family: 'Amatic SC', cursive; font-size: 2.8rem; font-weight: 700 !important; color: #fff; }
.feature-card p { color: #fff; font-size: 1.2rem; line-height: 1.8; font-weight: 700; }

.section-light .campsites-grid { /* campsites on white bg */ }

.section-light .campsites-grid { /* campsites on white bg */ }
.campsites-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.campsite-card {
    background: #3d505f;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid #4a6275;
    box-shadow: 0 2px 16px rgba(13,148,136,0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.campsite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(13,148,136,0.14);
    border-color: var(--teal-400);
}
.campsite-image { height: 240px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--teal-100), var(--teal-100), var(--teal-100)); }
.campsite-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; border-radius: 0; position: absolute; inset: 0; }
.campsite-card:hover .campsite-image img { transform: scale(1.06); }
.campsite-image .main-photo { z-index: 1; }
.campsite-image .view-photo { z-index: 2; }
.view-toggle {
    position: absolute; bottom: 8px; right: 8px; z-index: 3;
    background: rgba(15,23,42,0.7); color: #fff; border: none;
    border-radius: var(--radius-xl); padding: 0.35rem 0.85rem;
    font-size: 0.75rem; font-weight: 600; cursor: pointer;
    backdrop-filter: blur(6px); transition: all 0.2s;
    letter-spacing: 0.02em;
}
.view-toggle:hover { background: rgba(13,148,136,0.85); transform: scale(1.05); }
.campsite-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 50%, #80cbc4 100%); color: var(--primary); font-size: 3rem; gap: 0.25rem; }
.campsite-placeholder span { font-size: 2.5rem; }
.campsite-placeholder strong { font-size: 1rem; font-weight: 700; color: #0d9488; text-transform: uppercase; letter-spacing: 0.05em; }
.campsite-placeholder small { font-size: 0.8rem; font-weight: 600; color: #0f766e; opacity: 0.8; }
.campsite-placeholder.cabin-style { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%); }
.campsite-placeholder.cabin-style strong { color: #92400e; }
.campsite-placeholder.cabin-style small { color: #a16207; }
.campsite-placeholder.large { height: 350px; font-size: 5rem; }
.campsite-placeholder.large span { font-size: 4rem; }
.campsite-placeholder.large strong { font-size: 1.25rem; }
.campsite-placeholder.large small { font-size: 0.95rem; }
.campsite-image.large { height: 350px; background: var(--slate-900); }
.campsite-image.large img { object-fit: contain; }
.campsite-view-image { height: 160px; overflow: hidden; position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.campsite-view-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.view-image-tag { position: absolute; bottom: 6px; left: 8px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 3px; font-weight: 600; }

/* ─── Interactive Map Markers ──────────────────────────── */
.campsite-map-block { position: relative; }
.map-marker {
    position: absolute;
    display: block;
    width: 40px; height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    z-index: 2;
    text-decoration: none;
    cursor: pointer;
}
.map-marker:hover { z-index: 20; }
.map-marker-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--slate-900);
    color: #fff;
    border-radius: var(--radius-lg);
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 0 0 4px rgba(45,212,191,0.35), 0 16px 48px rgba(0,0,0,0.65);
    border: 3px solid var(--teal-400);
    z-index: 20;
    pointer-events: none;
    text-align: left;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
}
.map-marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: var(--teal-400);
}
.map-tooltip-img {
    display: block;
    height: 180px;
    overflow: hidden;
    background: var(--slate-800);
}
.map-tooltip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.map-tooltip-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 2px;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 50%, #80cbc4 100%);
    color: var(--primary);
    padding: 10px;
}
.map-tooltip-placeholder-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.map-tooltip-placeholder strong {
    font-size: 0.5rem;
    font-weight: 700;
    color: #0d9488;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-align: center;
}
.map-tooltip-placeholder small {
    font-size: 0.45rem;
    font-weight: 600;
    color: #0f766e;
    opacity: 0.85;
    line-height: 1.2;
}
.map-tooltip-body {
    display: block;
    padding: 1rem 1.25rem;
    line-height: 1.5;
}
.map-tooltip-body strong {
    display: block;
    font-family: 'Amatic SC', cursive !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #5eead4 !important;
    line-height: 1.1 !important;
    margin-bottom: 0.4rem;
    white-space: normal;
}
.map-tooltip-body small {
    display: block;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.map-tooltip-body em {
    display: block;
    color: #5eead4;
    font-style: normal;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    line-height: 1.4;
    white-space: normal;
}
.map-tooltip-desc {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    white-space: normal;
    word-wrap: break-word;
}
.map-marker:hover .map-marker-tooltip {
    display: block;
}
@media (max-width: 768px) {
    .map-marker-dot { width: 24px; height: 24px; }
    .map-marker-tooltip { width: 220px; }
    .map-tooltip-img { height: 100px; }
    .map-tooltip-body strong { font-size: 1.2rem; }
}

/* ─── Lightbox ─────────────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; cursor: pointer; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 4px 32px rgba(0,0,0,0.5); cursor: default; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 3rem; color: #fff; cursor: pointer; z-index: 1; line-height: 1; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 0.7; }
.campsite-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.campsite-info .btn { margin-top: auto; }
.campsite-info h3 { font-size: 1.2rem; margin-bottom: 0.25rem; color: #fff; font-weight: 700; }
.campsite-location { color: #fff; font-size: 0.85rem; margin-bottom: 0.375rem; }
.campsite-dimensions { color: var(--accent); font-size: 0.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.campsite-desc { color: #fff; font-size: 0.9375rem; margin-bottom: 1rem; line-height: 1.6; }
.campsite-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; font-size: 0.875rem; color: #fff; }
.campsite-price { font-weight: 800; color: #5eead4; font-size: 1.05rem; font-family: 'Raleway', sans-serif; }
.campsite-amenities { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1rem; }
.campsite-guests { color: #fff !important; }
.amenity-tag { background: #2d3d4f; color: #fff; padding: 0.3rem 0.85rem; border-radius: var(--radius-xl); font-size: 0.75rem; font-weight: 700; border: 1.5px solid #4a6275; display: inline-block; }
.amenity-tag.large { font-size: 0.875rem; padding: 0.4rem 1.1rem; border: 2px solid #5a7285; }

.cabins-intro { background: #0d9488; border: none; border-radius: var(--radius-lg); padding: 2rem 2.25rem; margin-bottom: 2.5rem; line-height: 1.8; color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.cabins-intro .cabins-intro-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.cabins-intro strong { color: #fff; }
.cabins-intro a { color: #ccfbf1; }

.campsite-detail { padding: 2rem 0 4rem; }
.breadcrumb { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary-hover); }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.detail-description h2 { font-family: 'Amatic SC', cursive; font-size: 2.8rem; font-weight: 700; margin: 1.5rem 0 0.75rem; color: var(--text); }
.detail-description p { color: var(--text); margin-bottom: 1rem; line-height: 1.7; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; }
.meta-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--text); }
.meta-icon { font-size: 1.25rem; }

.booking-card, .summary-card { background: #3d505f; border-radius: var(--radius-lg); padding: 1.75rem; border: 2px solid #4a6275; box-shadow: 0 4px 24px rgba(13,148,136,0.08), 0 1px 3px rgba(0,0,0,0.04); color: #fff; }
/* All text inside booking/summary cards — white and legible */
.booking-card *,
.summary-card * { color: #fff !important; }
/* Form inputs keep black text on white */
.booking-card input,
.booking-card select,
.booking-card textarea,
.summary-card input,
.summary-card select,
.summary-card textarea { color: #000 !important; background: #fff !important; }
/* Links and buttons keep their own styles */
.booking-card .btn-primary,
.booking-card .btn-primary *,
.summary-card .btn-primary,
.summary-card .btn-primary * { color: #fff !important; }
.booking-card .booking-price .price,
.summary-card .booking-price .price { color: #fff; }
.booking-card .booking-price .per,
.summary-card .booking-price .per { color: rgba(255,255,255,0.7); }
.booking-card .booking-note,
.summary-card .booking-note { border-top-color: rgba(255,255,255,0.15); }
.booking-card .booking-note p,
.summary-card .booking-note p { color: rgba(255,255,255,0.7); }
.booking-card label,
.summary-card label { color: #fff; }
.sticky { position: sticky; top: 5rem; }
.booking-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.25rem; }
.booking-price .price { font-size: 2rem; font-weight: 800; color: var(--text); }
.booking-price .per { color: var(--text-muted); }
.booking-note { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 2px dashed var(--border); }
.booking-note p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.25rem; }

.form-group { margin-bottom: 1rem; min-width: 0; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 0.375rem; font-family: 'Raleway', sans-serif; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.7rem 0.875rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-family: 'Raleway', sans-serif; font-weight: 700; color: #000; background: #fff; transition: border-color var(--transition), box-shadow var(--transition); }
/* All text on dark card backgrounds must be white */
.feature-card, .feature-card *,
.form-card, .form-card *,
.campsite-card, .campsite-card *,
.good-to-know-card, .good-to-know-card *,
.stat-card, .stat-card * {
    color: #fff;
}
/* Form inputs always black on white */
.feature-card input, .feature-card select, .feature-card textarea,
.form-card input, .form-card select, .form-card textarea,
.campsite-card input, .campsite-card select, .campsite-card textarea,
.good-to-know-card input, .good-to-know-card select, .good-to-know-card textarea,
.stat-card input, .stat-card select, .stat-card textarea {
    color: #000 !important;
    background: #fff !important;
    font-weight: 700 !important;
}
/* Exceptions: buttons keep their own colors */
.feature-card .btn-primary, .feature-card .btn-primary *,
.form-card .btn-primary, .form-card .btn-primary *,
.campsite-card .btn-primary, .campsite-card .btn-primary *,
.good-to-know-card .btn-primary, .good-to-know-card .btn-primary * { color: #fff; }
.feature-card .btn-outline, .feature-card .btn-outline *,
.form-card .btn-outline, .form-card .btn-outline *,
.campsite-card .btn-outline, .campsite-card .btn-outline * { color: #fff; }
/* Preserve link and accent colors */
.feature-card a, .form-card a, .campsite-card a, .good-to-know-card a { color: #5eead4; }
.feature-card .campsite-price, .campsite-card .campsite-price { color: #5eead4; }
.feature-card .amenity-tag, .campsite-card .amenity-tag { color: #fff; background: #2d3d4f; }
.feature-card code, .form-card code { color: #5eead4; background: rgba(255,255,255,0.1); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.7rem 0.875rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-family: 'Raleway', sans-serif; font-weight: 700; color: #000; background: #fff; transition: border-color var(--transition), box-shadow var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.booking-form .form-group input { padding: 0.6rem 0.5rem; font-size: 0.85rem; }
.form-hint { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.form-card { background: #3d505f; border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; border: 2px solid #4a6275; box-shadow: 0 2px 12px rgba(13,148,136,0.08); color: #fff; }
.form-card h3 { margin-bottom: 1rem; font-family: 'Amatic SC', cursive; font-size: 2.2rem; font-weight: 700; color: #fff; }
.form-card h2 { color: #fff; }
.form-card p, .form-card div, .form-card li, .form-card a { color: #fff; }
.form-card.highlight { background: var(--teal-600); border-color: var(--teal-500); }
.form-card.highlight p { color: #fff; font-size: 0.9375rem; }
.form-card.highlight a { color: #fff; text-decoration: underline; font-weight: 700; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.vehicle-row { padding: 0.75rem; background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 0.5rem; }

.reservation-page { padding: 2rem 0 4rem; }
.reservation-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.reservation-grid .summary-card.sticky { position: sticky; top: 5rem; }
.summary-card h3 { font-size: 1.125rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px dashed rgba(255,255,255,0.2); color: #fff; }
.summary-site { margin-bottom: 1rem; }
.summary-site p,
.summary-site strong { color: #fff; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9375rem; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.15); }
.summary-row.total { font-weight: 700; font-size: 1.125rem; color: #fff; border-bottom: none; padding-top: 0.75rem; margin-top: 0.25rem; border-top: 2px solid rgba(255,255,255,0.2); }

.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background: linear-gradient(135deg, var(--primary-soft), var(--surface)); }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 460px; border: 2px solid var(--border); box-shadow: var(--shadow-lg); }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-header h1 { margin-bottom: 0.5rem; }
.auth-header p { color: var(--text-soft); }
.auth-footer { text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px dashed var(--border); }
.auth-footer p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 0.5rem; }

.account-page { padding: 3rem 0; }
.account-header { margin-bottom: 2rem; }
.account-header h1 { margin-bottom: 0.25rem; }
.account-header p { color: var(--text-soft); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.account-card { background: #3d505f; border-radius: var(--radius-lg); padding: 1.5rem; border: 2px solid #4a6275; box-shadow: var(--shadow); color: #fff; }
.account-card h3 { font-size: 1.125rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px dashed rgba(255,255,255,0.2); color: #fff; }
.account-card p, .account-card strong { color: #fff; }
.account-card a { color: #5eead4; }
.profile-details p { margin-bottom: 0.5rem; color: #fff; }
.quick-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.reservations-section h2 { margin-bottom: 1rem; }
.empty-state { text-align: center; padding: 3rem; background: #3d505f; border-radius: var(--radius-lg); border: 2px dashed #4a6275; color: #fff; }
.empty-state p { font-size: 1.125rem; margin-bottom: 1rem; color: #fff; }

.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--border); }
.table thead { background: var(--primary-soft); border-bottom: 2px solid var(--border); }
.table th { text-align: left; padding: 0.875rem 1rem; font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Raleway', sans-serif; }
.table td { padding: 0.875rem 1rem; font-size: 0.9375rem; border-bottom: 1px solid var(--border); color: var(--text); }
.table tbody tr:hover { background: var(--primary-soft); }
.table tbody tr:last-child td { border-bottom: none; }

/* Drag-and-drop reorder */
.drag-handle { cursor: grab; text-align: center; font-size: 1.2rem; color: var(--text-muted); user-select: none; padding: 0.875rem 0.25rem !important; }
.drag-handle:active { cursor: grabbing; }
.draggable-row.dragging { opacity: 0.4; background: var(--accent-light); }
.draggable-row.drag-over { border-top: 3px solid var(--primary); background: var(--primary-soft); }

/* Upload zone cards */
.upload-zone {
    background: #fff;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.upload-zone:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(13,148,136,0.12); }
.upload-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.upload-label { font-family: 'Amatic SC', cursive; font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.upload-hint { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.upload-caption {
    width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border);
    border-radius: var(--radius-sm); margin-bottom: 0.75rem; font-size: 0.85rem;
}
.upload-btn {
    display: inline-block; padding: 0.5rem 1.25rem; background: var(--primary-soft);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--text);
    transition: background 0.2s;
}
.upload-btn:hover { background: var(--border); }
.upload-btn input[type="file"] { display: none; }
.upload-filename { display: block; margin-top: 0.4rem; font-size: 0.75rem; color: var(--text-muted); }
@media (max-width: 768px) {
    .upload-zone { padding: 1rem; }
    .upload-icon { font-size: 2rem; }
    .upload-label { font-size: 1.25rem; }
}

.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: var(--radius-xl); font-size: 0.75rem; font-weight: 700; text-transform: capitalize; font-family: 'Raleway', sans-serif; }
.status-pending { background: var(--primary-light); color: #0d9488; }
.status-confirmed { background: var(--teal-100); color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.alert { padding: 0.875rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.9375rem; font-weight: 600; }
.alert-success { background: var(--teal-50); color: #065f46; border: 2px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 2px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 2px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 2px solid #fde68a; }

.confirmation-page { padding: 3rem 1rem; min-height: 70vh; display: flex; align-items: center; }
.confirmation-card { background: #fff; border-radius: var(--radius-lg); padding: 3rem; max-width: 640px; margin: 0 auto; text-align: center; border: 2px solid var(--border); box-shadow: var(--shadow-lg); }
.confirmation-icon { font-size: 4rem; margin-bottom: 1rem; }
.confirmation-subtitle { color: var(--text-soft); margin-bottom: 2rem; }
.confirmation-code-box { background: var(--primary-soft); border: 2px dashed var(--border-hover); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 2rem; }
.confirmation-code-box span { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.confirmation-code-box strong { font-size: 2rem; color: var(--primary); letter-spacing: 0.1em; }
.confirmation-details { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; text-align: left; border: 2px solid var(--border); }
.detail-row { display: flex; justify-content: space-between; padding: 0.625rem 0; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-row span { color: var(--text-muted); }
.detail-row strong { color: var(--text); }
.detail-row .price { color: var(--primary); font-size: 1.25rem; }
.confirmation-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.confirmation-note { font-size: 0.875rem; color: var(--text-muted); padding-top: 1.5rem; border-top: 2px dashed var(--border); }

/* ─── Availability Result Page ─────────────────────────── */
.availability-result { max-width: 640px; margin: 0 auto; }
.availability-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; border: 2px solid var(--border); box-shadow: var(--shadow-lg); }
.availability-status { margin-bottom: 2rem; }
.availability-status .status-icon { font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.availability-status h2 { color: #065f46; margin: 0; font-size: 1.5rem; }
.availability-details { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; text-align: left; border: 2px solid var(--border); }
.availability-details .price-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; text-align: center; }
.call-to-book { background: var(--primary-soft); border-radius: var(--radius); padding: 2rem; border: 2px dashed var(--border-hover); }
.call-to-book h3 { margin: 0 0 0.5rem; color: var(--primary); }
.call-to-book p { color: var(--stone); margin-bottom: 1rem; }

/* ─── CTA Section — parallax beach photo ───────────────── */
.cta {
    position: relative;
    background: url('/assets/images/cta-beach.jpg') center/cover no-repeat fixed;
    text-align: center; color: #fff; padding: 6rem 0;
}
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.75), rgba(13,148,136,0.65));
    z-index: 0;
}
.cta-content { position: relative; z-index: 1; }
.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-xl);
    font-weight: 700; font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.25);
}
.cta h2 { color: #fff; font-size: 3.5rem; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-phone { margin-top: 1.5rem; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.cta-phone strong { color: #fff; }

/* ─── Story text spacing ────────────────────────────────── */
.story-text {
    max-width: 900px;
    margin: 0 auto;
}
.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

/* ─── Rules / Fine Print grid ──────────────────────────── */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.rules-grid .form-card {
    margin-bottom: 0;
}

/* ─── Good to Know (home page) cards ───────────────────── */
.good-to-know-grid {
    column-count: 3;
    column-gap: 1rem;
    margin-bottom: 1rem;
}
.good-to-know-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    background: #3d505f;
    border: 2px solid #4a6275;
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    box-shadow: 0 2px 12px rgba(13,148,136,0.08);
    transition: all var(--transition);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
    break-inside: avoid;
    margin-bottom: 1rem;
}
.good-to-know-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.good-to-know-card p { color: #fff; }
.good-to-know-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-bottom: 0.25rem;
}

/* ─── Site Image Gallery ────────────────────────────────── */
.site-gallery { margin-bottom: 1.5rem; }
.site-gallery-main {
    height: 400px; overflow: hidden;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-hover);
    background: var(--slate-900);
    display: flex; align-items: center; justify-content: center;
}
.site-gallery-main img {
    width: 100%; height: 100%;
    object-fit: contain;
    cursor: pointer;
}
.site-gallery-thumbs {
    display: flex; gap: 0.5rem; margin-top: 0.5rem;
    overflow-x: auto; padding-bottom: 0.25rem;
}
.site-gallery-thumb {
    width: 90px; height: 65px; flex-shrink: 0;
    border-radius: var(--radius-sm); overflow: hidden;
    border: 2px solid transparent; cursor: pointer;
    opacity: 0.6; transition: all var(--transition);
}
.site-gallery-thumb.active,
.site-gallery-thumb:hover { opacity: 1; border-color: var(--primary); }
.site-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* ─── Admin Inline Content Editing ─────────────────────── */
body.admin-logged-in [data-cms-section] {
    transition: outline 0.15s ease, background 0.3s ease;
    cursor: default;
}
body.admin-logged-in [data-cms-section]:hover {
    outline: 2px dashed var(--primary);
    outline-offset: 4px;
}
body.admin-logged-in [data-cms-section].cms-editing {
    outline: 2px solid var(--primary) !important;
    outline-offset: 4px;
    background: rgba(13,148,136,0.05);
    cursor: text;
}
body.admin-logged-in [data-cms-section].cms-saved {
    outline: 2px solid var(--primary) !important;
    outline-offset: 4px;
}

/* ─── CMS Editing Toolbar ──────────────────────────────── */
.cms-toolbar {
    position: fixed; z-index: 10000;
    display: none; align-items: center; gap: 4px;
    background: #1e1e1e; padding: 6px 8px;
    border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.cms-toolbar button {
    background: transparent; color: #ccc; border: none;
    border-radius: 6px; padding: 6px 10px;
    font-size: 0.85rem; cursor: pointer; transition: all 0.15s;
    line-height: 1; font-family: 'Raleway', sans-serif;
}
.cms-toolbar button:hover { background: #333; color: #fff; }
.cms-toolbar .cms-toolbar-sep {
    width: 1px; height: 20px; background: #444; margin: 0 4px;
}
.cms-emoji-picker {
    position: fixed; z-index: 10001;
    background: #fff; border: 1px solid #ddd;
    border-radius: 10px; padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px;
    max-width: 320px;
}
.cms-emoji-picker span {
    font-size: 1.3rem; padding: 4px 6px; cursor: pointer;
    text-align: center; border-radius: 4px; transition: background 0.1s;
}
.cms-emoji-picker span:hover { background: #f0f0f0; }
.story-text p:last-child { margin-bottom: 0; }

/* ─── Fun Section Dividers ──────────────────────────────── */
/* All dividers use ::after at section bottom. One divider per boundary. */
/* Sand sections use ::before wavy; light/sections use ::after where needed. */

/* Tree line divider */
.divider-trees::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 35px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 35' preserveAspectRatio='none'%3E%3Cpath fill='%230d9488' opacity='0.12' d='M0,35 L25,15 L50,35 L75,8 L100,35 L125,18 L150,35 L175,10 L200,35 L225,14 L250,35 L275,6 L300,35 L325,16 L350,35 L375,12 L400,35 L425,8 L450,35 L475,14 L500,35 L525,10 L550,35 L575,16 L600,35 L625,6 L650,35 L675,14 L700,35 L725,10 L750,35 L775,8 L800,35 L825,16 L850,35 L875,12 L900,35 L925,14 L950,35 L975,6 L1000,35 L1025,18 L1050,35 L1075,10 L1100,35 L1125,16 L1150,35 L1175,8 L1200,35 Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
    pointer-events: none; z-index: 1;
}

/* Bumpy/cloud divider */
.divider-bumps::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath fill=.%23ccfbf1. d='M0,20 Q75,0 150,20 Q225,40 300,20 Q375,0 450,20 Q525,40 600,20 Q675,0 750,20 Q825,40 900,20 Q975,0 1050,20 Q1125,40 1200,20 L1200,40 L0,40 Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
    pointer-events: none; z-index: 1;
}

.cta .btn-primary {
    box-shadow: 0 4px 20px rgba(13,148,136,0.4), 0 0 40px rgba(13,148,136,0.15);
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(13,148,136,0.4), 0 0 40px rgba(13,148,136,0.15); }
    50% { box-shadow: 0 4px 28px rgba(13,148,136,0.55), 0 0 55px rgba(13,148,136,0.25); }
}

.site-footer { background: #0f172a; color: #fff; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 2.5rem; align-items: start; }
.footer-col h4 { color: #fff; font-family: 'Amatic SC', cursive; font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #1e3a5f; }
.footer-col p { font-size: 1rem; color: #cbd5e1; line-height: 1.7; margin-bottom: 0; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 1rem; font-weight: 500; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: #5eead4; padding-left: 4px; }
.footer-contact-info p { color: #cbd5e1; font-size: 1rem; margin-bottom: 0.5rem; }
.footer-contact-info a { color: #cbd5e1; text-decoration: none; }
.footer-contact-info a:hover { color: #5eead4; }
.footer-social-row { display: flex; gap: 1.5rem; justify-content: center; padding: 1.5rem 0; border-top: 1px solid #1e3a5f; border-bottom: 1px solid #1e3a5f; margin-bottom: 1.5rem; }
.footer-social-row a { color: #cbd5e1; text-decoration: none; font-size: 1rem; font-weight: 600; padding: 0.5rem 1.25rem; border: 1px solid #334155; border-radius: 8px; transition: all 0.2s; }
.footer-social-row a:hover { color: #5eead4; border-color: #5eead4; background: rgba(94,234,212,0.08); }
.footer-bottom { text-align: center; padding-bottom: 2rem; font-size: 0.85rem; color: #64748b; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-social-row { flex-direction: column; align-items: center; gap: 0.75rem; }
}

.admin-body { background: var(--surface); }
.admin-header { background: #0d2818; border-bottom: 1px solid #0f766e; }
.admin-header .logo { color: #fff !important; }
.admin-header .logo strong { color: #2dd4bf; }
.admin-header .logo-icon {
    border-radius: 0;
    width: auto;
    height: 36px;
    background: none;
}
.admin-header .logo-img {
    border-radius: 0;
}
.admin-header .main-nav a { color: #99f6e4; }
.admin-header .main-nav a:hover { background: #0f766e; color: #fff; }
.admin-header .nav-actions a { color: #99f6e4; }
.admin-header .nav-actions a:hover { background: #0f766e; color: #fff; }
.admin-header .btn-outline { color: #99f6e4 !important; border-color: #0f766e; }
.admin-header .user-dropdown-toggle {
    color: #99f6e4;
    border-color: #0f766e;
}
.admin-header .user-dropdown-toggle:hover,
.admin-header .user-dropdown.open .user-dropdown-toggle {
    background: #0f766e;
    color: #fff;
}
.admin-header .user-dropdown-menu {
    background: #0d2818;
    border-color: #0f766e;
}
.admin-header .user-dropdown-menu a {
    color: #99f6e4;
}
.admin-header .user-dropdown-menu a:hover {
    background: #0f766e;
    color: #fff;
}
.admin-header .user-dropdown-menu hr {
    border-color: #0f766e;
}
.admin-header .mobile-toggle span { background: #99f6e4; }
@media (max-width: 768px) {
    .admin-header .mobile-menu {
        background: #3d505f;
        border-bottom-color: #4a6275;
        max-height: calc(100vh - 4.5rem);
        overflow-y: auto;
    }
    .admin-header .main-nav a {
        color: #fff;
        font-size: 1rem;
    }
    .admin-header .main-nav a:hover {
        background: #334155;
        color: #fff;
    }
    .admin-header .nav-actions {
        border-top-color: #4a6275;
        padding-top: 0.75rem;
    }
    .admin-header .nav-actions a {
        color: #fff;
        padding: 0.75rem;
    }
    .admin-header .nav-actions a:hover {
        background: #334155;
        color: #fff;
    }
    .admin-header .user-dropdown {
        width: 100%;
    }
    .admin-header .user-dropdown-toggle {
        width: 100%;
        justify-content: center;
        color: #fff;
        border-color: #4a6275;
    }
    .admin-header .user-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #4a6275;
        margin-top: 0.25rem;
        border-radius: 0;
        background: transparent;
    }
    .admin-header .user-dropdown-menu a {
        padding: 0.75rem;
        color: #fff;
    }
}
.admin-main { padding: 2rem 0 4rem; min-height: 80vh; font-size: 1.2rem; color: #000; }
.admin-main .container { max-width: none; padding: 0 2rem; }
/* Admin — all text big, bold for readability */
.admin-main,
.admin-main * { color: #000 !important; font-weight: 600 !important; }
/* Cards with dark teal backgrounds get white text */
.admin-main .stat-card,
.admin-main .stat-card *,
.admin-main .admin-section,
.admin-main .admin-section *,
.admin-main .quick-action-card,
.admin-main .quick-action-card *,
.admin-main .quick-action-card span,
.admin-main .quick-action-card .quick-action-icon { color: #fff !important; background: #3d505f; }
.admin-main .quick-action-card:hover,
.admin-main .quick-action-card:hover * { color: #5eead4 !important; background: #4a6275; }
.admin-main .form-card,
.admin-main .form-card *,
.admin-main .feature-card,
.admin-main .feature-card *,
.admin-main .good-to-know-card,
.admin-main .good-to-know-card * { color: #fff !important; }
.admin-main a,
.admin-main .btn-primary,
.admin-main .btn-primary * { color: #fff !important; }
.admin-main .btn-outline,
.admin-main .btn-outline * { color: #fff !important; }
.admin-main .btn-danger,
.admin-main .btn-danger * { color: #fff !important; }
.admin-main h1 { font-size: 2.2rem !important; font-weight: 800 !important; }
.admin-main h2 { font-size: 1.6rem !important; font-weight: 800 !important; }
.admin-main h3 { font-size: 1.4rem !important; font-weight: 700 !important; }
.admin-main .table th { font-size: 1rem !important; font-weight: 700 !important; }
.admin-main .table td { font-size: 1.1rem !important; }
.admin-main label { font-size: 1.1rem !important; font-weight: 700 !important; }
.admin-main input,
.admin-main select,
.admin-main textarea { font-size: 1.2rem !important; font-weight: 700 !important; color: #000 !important; background: #fff !important; }
.admin-main .btn { font-size: 1.1rem !important; font-weight: 700 !important; }
.admin-main .btn-sm { font-size: 1rem !important; }
/* Admin tables — dark teal, white text */
.admin-main .table { background: #3d505f; border-color: #4a6275; }
.admin-main .table thead { background: #2d3d4f; border-color: #4a6275; }
.admin-main .table th { color: #5eead4 !important; border-color: #4a6275; }
.admin-main .table td { color: #fff !important; border-color: #4a6275; }
.admin-main .table td * { color: #fff !important; }
.admin-main .table td strong { color: #fff !important; font-weight: 700 !important; }
.admin-main .table tbody tr:hover { background: #4a6275; }
.admin-main .table code { color: #5eead4 !important; background: rgba(255,255,255,0.1); }
.admin-main .table .status-badge { color: #fff !important; }
.admin-main .table .btn-outline,
.admin-main .table .btn-outline * { color: #fff !important; }
.admin-main .table a { color: #5eead4 !important; }
/* Admin form-cards: white text on dark background */
.admin-main .form-card,
.admin-main .form-card *,
.admin-main .feature-card,
.admin-main .feature-card *,
.admin-main .good-to-know-card,
.admin-main .good-to-know-card * { color: #fff !important; }
.admin-main .form-card .btn-primary,
.admin-main .form-card .btn-primary * { color: #fff !important; }
.admin-main .form-card .btn-outline,
.admin-main .form-card .btn-outline * { color: #fff !important; }
.admin-main .form-card .btn-danger,
.admin-main .form-card .btn-danger * { color: #fff !important; }
.admin-main .form-card a { color: #5eead4 !important; }
.admin-main .form-card code { color: #5eead4 !important; background: rgba(255,255,255,0.1); }
/* Admin summary/booking cards: white text */
.admin-main .summary-card,
.admin-main .summary-card *,
.admin-main .booking-card,
.admin-main .booking-card * { color: #fff !important; }
.admin-main .summary-card input,
.admin-main .summary-card select,
.admin-main .summary-card textarea,
.admin-main .booking-card input,
.admin-main .booking-card select,
.admin-main .booking-card textarea { color: #000 !important; background: #fff !important; }
/* Admin form inputs: black on white */
.admin-main .form-card input,
.admin-main .form-card select,
.admin-main .form-card textarea { color: #000 !important; background: #fff !important; font-weight: 700 !important; font-size: 1.2rem !important; }
.admin-main .status-badge { font-size: 0.95rem !important; font-weight: 700 !important; }
.admin-main small,
.admin-main .form-hint,
.admin-main .upload-hint,
.admin-main .upload-label,
.admin-main .drag-handle { font-size: 1.05rem !important; font-weight: 700 !important; }
.admin-main .alert { font-size: 1.05rem !important; font-weight: 700 !important; }
.admin-calendar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0.75rem 1rem 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 72px);
    overflow: hidden;
}
.admin-calendar .section-header-row {
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}
.admin-calendar #glanceWrapper { height: auto; flex: 1; min-height: 0; }
.admin-dashboard h1 { margin-bottom: 1.5rem; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
    background: #3d505f;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    border: 2px solid #4a6275;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    color: #fff;
}
.stat-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.stat-icon { font-size: 2rem; margin-bottom: 0.25rem; }
.stat-value { font-family: 'Amatic SC', cursive; font-size: 3rem; font-weight: 700; color: #5eead4; line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-section { background: #3d505f; border-radius: var(--radius-lg); padding: 1.5rem; border: 2px solid #4a6275; box-shadow: var(--shadow); margin-bottom: 2rem; color: #fff; }
.admin-section h3 { margin-top: 0; margin-bottom: 1rem; font-size: 1.1rem; color: #fff; }
.admin-section p, .admin-section li, .admin-section span, .admin-section strong, .admin-section code { color: #fff; }
.admin-section a { color: #5eead4; }
.admin-actions { display: flex; gap: 0.75rem; }

/* Calendar CTA — prominent callout */
.calendar-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary), #5a8a5e);
    color: #fff !important;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(122,158,126,0.35);
    transition: all 0.3s ease;
}
.calendar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(122,158,126,0.45);
    color: #fff !important;
}
.calendar-cta-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}
.calendar-cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.calendar-cta-text strong {
    font-family: 'Amatic SC', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff !important;
}
.calendar-cta-text small {
    font-size: 0.85rem;
    opacity: 0.85;
    color: #fff !important;
}
.calendar-cta-arrow {
    font-size: 1.5rem;
    flex-shrink: 0;
    opacity: 0.7;
    color: #fff !important;
}

/* Quick action cards */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}
.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: #3d505f;
    border: 2px solid #4a6275;
    border-radius: var(--radius);
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
}
.quick-action-card:hover {
    border-color: var(--teal-400);
    background: #4a6275;
    color: #5eead4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.quick-action-icon {
    font-size: 1.75rem;
    line-height: 1;
}
.admin-edit h1 { margin-bottom: 1.5rem; }

/* ─── Admin Booking Form ───────────────────────────────── */
.admin-booking-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}
.admin-booking-left .form-card {
    margin-bottom: 1.25rem;
}
.reservation-form-col input[type="date"],
.admin-edit input[type="date"] {
    font-size: 1rem;
    padding: 0.7rem 0.875rem;
}
.form-row-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
    .admin-booking-grid {
        grid-template-columns: 1fr;
    }
    .form-row-4 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .form-row-4 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   Availability Calendar
   ═══════════════════════════════════════════════════════════ */

.calendar-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.calendar-grid {
    background: var(--surface);
    border: 2px solid var(--border-hover);
    border-radius: var(--radius);
    overflow: hidden;
}
.calendar-dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--primary-soft);
    border-bottom: 2px solid var(--border-hover);
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    padding: 0.5rem 0;
}
.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid var(--border);
}
.calendar-week:last-child { border-bottom: none; }
.calendar-day {
    min-height: 80px;
    padding: 0.35rem;
    border-right: 1px solid var(--border);
    position: relative;
    background: #fff;
    transition: background var(--transition);
}
.calendar-day:last-child { border-right: none; }
.calendar-day.empty { background: var(--surface); }
.calendar-day.today { background: var(--primary-soft); box-shadow: inset 0 0 0 2px var(--primary); }
.calendar-day.past { opacity: 0.5; }
.calendar-day.booked {
    background: color-mix(in srgb, var(--book-color, #888) 12%, #fff);
    border-left: 3px solid var(--book-color, #888);
}
.day-num {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
    display: block;
    margin-bottom: 0.2rem;
}
.calendar-day.today .day-num { color: var(--primary); }
.day-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


#glanceWrapper:active { cursor: grabbing; }




.glance-table { border-collapse: separate; border-spacing: 0; font-size: 0.8rem; background: #fff; table-layout: fixed; user-select: none; -webkit-user-select: none; margin: 0; line-height: 1; }
.glance-table th,
.glance-table td {
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
}
.glance-table th:last-child,
.glance-table td:last-child {
    border-right: none;
}
.glance-table tr:last-child td {
    border-bottom: none;
}
.glance-table thead {}


.glance-day-col { text-align: center; padding: 0.4rem 0.2rem; width: 72px; min-width: 72px; font-weight: 600; font-size: 0.8rem; color: #000; line-height: 1.25; white-space: nowrap; position: sticky; top: 0; z-index: 3; background: var(--teal-200); border-bottom: 2px solid var(--teal-400); }

.glance-day-col.today 
.glance-day-col.fri-sat 
.glance-day-col.today.fri-sat 


.glance-site-cell 
.glance-site-num {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

/* ─── Calendar two-table layout ─────────────────────── */
.calendar-panel {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.frozen-col {
    flex-shrink: 0;
    overflow: hidden;
    background: var(--teal-200);
    z-index: 2;
    border: none;
}
.frozen-table {
    line-height: 1;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    user-select: none;
    -webkit-user-select: none;
    margin: 0;
}
.frozen-table td {
    box-shadow: inset 0 -1px 0 var(--primary);
    padding: 0;
    vertical-align: middle;
}
.frozen-header {
    vertical-align: middle;
    padding: 0 0.4rem;
    font-weight: 700;
    color: #000;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    background: var(--teal-300);
    box-shadow: inset 0 -1px 0 var(--teal-400);
    min-width: 80px;
    width: 80px;
    height: 44px;
    line-height: 44px;
    box-sizing: border-box;
}
.frozen-cell {
    vertical-align: middle;
    padding: 0 0.4rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--teal-200);
    height: 44px;
    line-height: 44px;
    box-sizing: border-box;
}

.scroll-area {
    flex: 1;
    overflow: auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scroll-area::-webkit-scrollbar { display: none; }
.scroll-area:active { cursor: grabbing; }

.calendar-panel {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-top: 1px solid var(--teal-300);
    border-bottom: 1px solid var(--teal-300);
}

.glance-table {
    margin: 0;
    line-height: 1;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8rem;
    background: #fff;
    table-layout: fixed;
    user-select: none;
    -webkit-user-select: none;
}
.glance-table th, .glance-table td {
    box-shadow: 1px 0 0 var(--primary), inset 0 -1px 0 var(--primary);
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
}
.glance-table th:last-child, .glance-table td:last-child { box-shadow: inset 0 -1px 0 var(--primary); }
.glance-table tr:last-child td { box-shadow: 1px 0 0 var(--primary); }
.glance-table tr:last-child td:last-child { box-shadow: none; }

.glance-day-col {
    text-align: center;
    padding: 0 0.4rem;
    width: 72px;
    min-width: 72px;
    height: 44px;
    line-height: 1.1;
    font-weight: 600;
    font-size: 0.8rem;
    color: #000;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--teal-200);
    box-shadow: 1px 0 0 var(--primary), inset 0 -1px 0 var(--teal-400);
    box-sizing: border-box;
}
.glance-day-col:last-child { box-shadow: inset 0 -1px 0 var(--teal-400); }
.glance-day-col .day-month { display: block; font-size: 0.6rem; font-weight: 600; color: #000; text-transform: uppercase; letter-spacing: 0.5px; }
.glance-day-col .day-num { font-size: 0.85rem; }
.glance-day-col.today { background: var(--primary); color: #fff; }
.glance-day-col.fri-sat { background: var(--teal-200); color: #000; font-weight: 700; }
.glance-day-col.today.fri-sat { background: var(--primary); color: #fff; }
.glance-cell {
    width: 72px;
    height: 44px !important;
    max-height: 44px;
    min-height: 44px;
    padding: 0 !important;
    line-height: 1;
    font-size: 0;
    text-align: center;
    transition: background 0.15s;
    overflow: hidden;
    vertical-align: middle;
}
.glance-cell.past { opacity: 0.35; }
.glance-cell.today { background: var(--primary-light); }
.glance-cell.fri-sat { background: #e0f7fa; }
.glance-cell.fri-sat.today { background: var(--primary-light); }
.glance-cell.booked { box-shadow: inset 0 0 0 3px var(--book-color, #dc2626); font-weight: 700; }
.glance-cell.booked.today { box-shadow: inset 0 0 0 3px var(--book-color, #dc2626); }
.glance-cell.booked.fri-sat { box-shadow: inset 0 0 0 3px var(--book-color, #dc2626); }
.glance-cell.booked.fri-sat.today { box-shadow: inset 0 0 0 3px var(--book-color, #dc2626); }

/* Admin hover tooltip */
.admin-cell { cursor: pointer; position: relative; height: 44px !important; }
.admin-cell:hover { filter: brightness(0.92); }
.admin-cell .cell-tooltip {
    display: none;
    position: fixed;
    background: #fff;
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: normal;
    min-width: 220px;
    max-width: 300px;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border: 2px solid var(--primary);
    line-height: 1.5;
    text-align: left;
}
.admin-cell .cell-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--primary);
}
.admin-cell:hover .cell-tooltip { display: block; }
.admin-cell.booked:hover .cell-tooltip { display: block; }

/* Flagged / needs attention */
.admin-cell.flagged {
    box-shadow: inset 0 0 0 3px #f97316 !important;
    animation: flagPulse 2s infinite;
}
@keyframes flagPulse {
    0%, 100% { box-shadow: inset 0 0 0 3px #f97316; }
    50% { box-shadow: inset 0 0 0 5px #f97316; }
}

/* First name label on booked cells */
.cell-firstname {
    position: absolute;
    top: 0;
    left: 1px;
    right: 1px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

/* Range selection highlighting */
.admin-cell.range-highlight {
    background: var(--primary) !important;
    opacity: 0.5;
    box-shadow: inset 0 0 0 1px var(--primary) !important;
}
.admin-cell.range-start,
.admin-cell.range-end {
    background: var(--primary) !important;
    opacity: 0.7;
    box-shadow: inset 0 0 0 2px var(--text) !important;
}
.admin-cell.move-mode {
    cursor: pointer;
    background: rgba(59,130,246,0.15) !important;
    box-shadow: inset 0 0 0 1px #3b82f6 !important;
}
.admin-cell.move-mode:hover {
    background: rgba(59,130,246,0.3) !important;
}

/* ─── Modals ─────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 95vw;
    max-height: 90vh;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}
.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* ─── Color picker buttons ───────────────────────── */
.color-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
}
.color-btn:hover { transform: scale(1.2); }
.color-btn.active { border-color: #1e293b; transform: scale(1.25); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1e293b; }

@media (max-width: 768px) {
    .glance-site-num { font-size: 0.7rem; }
    .glance-day-col { width: 48px; min-width: 48px; padding: 0.2rem 0.05rem; font-size: 0.65rem; height: 36px; }
    .glance-cell { width: 48px; height: 30px !important; max-height: 30px; min-height: 30px; }
    .admin-cell { height: 30px !important; }
    .cell-firstname { font-size: 0.65rem; }
    .frozen-header { min-width: 60px; width: 60px; height: 36px; font-size: 0.65rem; }
    .frozen-cell { height: 30px; font-size: 0.7rem; }
    .glance-day-col .day-month { font-size: 0.5rem; }
    .glance-day-col .day-num { font-size: 0.7rem; }
    .calendar-panel { font-size: 0.7rem; }
}

/* ─── Discount Toggle ──────────────────────────────────── */
.discount-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    user-select: none;
}
.discount-toggle input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary);
    cursor: pointer;
}
.discount-label {
    font-family: 'Raleway', sans-serif;
}

.text-center { text-align: center; }

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-logo-circle { width: 130px; height: 130px; }
}

@media (max-width: 900px) {
    .detail-grid, .reservation-grid { grid-template-columns: 1fr; }
    .sticky { position: static; }
    .account-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.75rem; }
    .section-header h2 { font-size: 2.25rem; }
    section { padding: 3.5rem 0; }
    .container { padding: 0 1rem; }
    .site-header .container { padding: 0 1rem; }
    .admin-header .container { padding: 0 1rem; }
    .page-frame { width: 100%; }
    /* Calendar mobile — tight & aligned */
    .admin-calendar { width: 100%; margin-left: 0; margin-right: 0; padding: 0.5rem 0.25rem 0; }
    .frozen-header { min-width: 55px; width: 55px; font-size: 0.65rem; height: 38px; line-height: 38px; padding: 0 0.2rem; }
    .glance-day-col { width: 50px; min-width: 50px; font-size: 0.65rem; padding: 0 0.1rem; height: 38px; line-height: 1.1; }
    .glance-cell { width: 50px; height: 32px !important; max-height: 32px; min-height: 32px; line-height: 32px; }
    .admin-cell { height: 32px !important; }
    .frozen-cell { height: 32px; line-height: 32px; font-size: 0.7rem; font-weight: 700; padding: 0 0.2rem; }
    .cell-firstname { font-size: 0.65rem; line-height: 32px; }
    .glance-day-col .day-month { font-size: 0.5rem; }
    .glance-day-col .day-num { font-size: 0.65rem; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .header-inner { display: flex; justify-content: space-between; }
    .mobile-menu { display: none; position: absolute; top: 4.5rem; left: 0; right: 0; background: #3d505f; flex-direction: column; padding: 1rem; border-bottom: 2px solid #334155; box-shadow: var(--shadow-lg); z-index: 200; max-height: calc(100vh - 4.5rem); overflow-y: auto; }
    .mobile-menu.active { display: flex; }
    .main-nav { flex-direction: column; width: 100%; flex: none; }
    .main-nav a { width: 100%; padding: 0.75rem; font-size: 1rem; }
    .nav-actions { flex-direction: column; width: 100%; border-top: 1px solid #4a6275; margin-top: 0.5rem; padding-top: 0.75rem; }
    .nav-actions a { width: 100%; padding: 0.75rem; }
    .nav-actions .btn { width: 100%; text-align: center; margin-top: 0.5rem; font-size: 1rem; padding: 0.75rem; }
    .nav-actions .btn-primary { background: var(--teal-600); color: #fff !important; border-color: var(--teal-500); }
    .user-dropdown { width: 100%; }
    .user-dropdown-toggle { width: 100%; justify-content: center; }
    .user-dropdown-menu { position: static; box-shadow: none; border: none; border-top: 1px solid var(--border); margin-top: 0.25rem; border-radius: 0; }
    .user-dropdown-menu a { padding: 0.75rem; }
    .campsites-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.25rem; }
    .hero-actions { gap: 0.75rem; }
    .hero-actions .btn { padding: 0.75rem 1.5rem; font-size: 1rem; }
    .hero-content-bottom .hero-actions {
        bottom: 3.5rem;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    .hero-subtitle { font-size: 1.05rem; }
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1rem; }
    section { padding: 2.5rem 0; }
    .story-text { text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .good-to-know-grid { column-count: 1; }
    .confirmation-card { padding: 1.5rem; }
    .container { padding: 0 0.75rem; }
    .header-inner { padding: 0 0.5rem; }
    .site-header .container { padding: 0 0.75rem; }
    .admin-header .container { padding: 0 0.75rem; }
    .admin-main .container { padding: 0 0.75rem; }
    .page-frame { width: 100%; margin: 0; border-radius: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-social-row { flex-direction: column; align-items: center; gap: 0.75rem; }
    .divider-trees::after { height: 20px; }
    .divider-bumps::after { height: 25px; }
    .section-alt::before { height: 30px; }
    /* Calendar — tight & aligned */
    .frozen-header { min-width: 48px; width: 48px; font-size: 0.6rem; height: 34px; line-height: 34px; padding: 0 0.15rem; }
    .glance-day-col { width: 44px; min-width: 44px; font-size: 0.6rem; padding: 0 0.05rem; height: 34px; line-height: 1.1; }
    .glance-cell { width: 44px; height: 28px !important; max-height: 28px; min-height: 28px; line-height: 28px; }
    .admin-cell { height: 28px !important; }
    .frozen-cell { height: 28px; line-height: 28px; font-size: 0.65rem; font-weight: 700; padding: 0 0.15rem; }
    .cell-firstname { font-size: 0.6rem; line-height: 28px; }
    .glance-day-col .day-month { font-size: 0.45rem; }
    .glance-day-col .day-num { font-size: 0.6rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.75rem; }
    .hero-logo-circle { width: 110px; height: 110px; margin-bottom: 1rem; }
    .hero-logo-name { font-size: 1.35rem; }
    .hero-logo-sub { font-size: 0.6rem; }
    .view-toggle { padding: 0.25rem 0.6rem; font-size: 0.7rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions .btn { font-size: 0.85rem; padding: 0.5rem 1rem; }
    .hero-content-bottom .hero-actions {
        bottom: 3rem;
        gap: 0.5rem;
    }
    .hero-content-bottom .hero-actions .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .section-header h2 { font-size: 1.75rem; }
    .feature-card { padding: 1.25rem; }
    section { padding: 2rem 0; }
    .campsites-page { padding: 2rem 0; }
    .campsite-info { padding: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .cta h2 { font-size: 2.25rem; }
    .container { padding: 0 0.5rem; }
    .site-header .container { padding: 0 0.5rem; }
    .page-frame { width: 100%; margin: 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    /* Calendar — smallest screens */
    .frozen-header { min-width: 42px; width: 42px; font-size: 0.5rem; height: 30px; line-height: 30px; padding: 0 0.1rem; }
    .glance-day-col { width: 38px; min-width: 38px; font-size: 0.5rem; padding: 0 0.02rem; height: 30px; line-height: 1.1; }
    .glance-cell { width: 38px; height: 26px !important; max-height: 26px; min-height: 26px; line-height: 26px; }
    .admin-cell { height: 26px !important; }
    .frozen-cell { height: 26px; line-height: 26px; font-size: 0.6rem; font-weight: 700; padding: 0 0.1rem; }
    .cell-firstname { font-size: 0.55rem; line-height: 26px; }
    .glance-day-col .day-month { font-size: 0.4rem; }
    .glance-day-col .day-num { font-size: 0.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   Photo Gallery — Infinite Scroll + Lightbox
   ═══════════════════════════════════════════════════════════ */

.gallery-hero {
    padding: 3rem 1.5rem 1.5rem;
    background: #fff;
}

.gallery-section {
    padding: 1rem 1.5rem 4rem;
}

.gallery-grid {
    column-count: 4;
    column-gap: 1rem;
}

.gallery-item {
    break-inside: avoid-column;
    page-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.gallery-item a {
    display: block;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    transition: transform 0.35s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    background: #3d505f;
}
}

/* ── Infinite Scroll Loader ─────────────────────────────── */
.gallery-loader {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
}
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 0.75rem;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.gallery-end {
    text-align: center;
    padding: 2rem 0;
    font-size: 1.1rem;
    color: var(--primary);
}

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.lightbox-desc {
    color: #eee;
    margin-top: 0.75rem;
    font-size: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 10;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .gallery-grid {
        column-count: 2;
        column-gap: 0.5rem;
    }
}

/* ── Admin Gallery ──────────────────────────────────────── */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.admin-gallery-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.admin-gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.admin-gallery-card-body {
    padding: 0.75rem;
}
.month-tab.active { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
