@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --primary: #0284c7; /* Brand Blue */
    --primary-dark: #0369a1;
    --accent: #e0f2fe;
    
    /* Water Quality (WCAG AA Contrast Compliant) */
    --wq-excellent: #047857; /* Darker emerald for contrast */
    --wq-excellent-bg: #ecfdf5;
    --wq-good: #1d4ed8; /* Darker blue */
    --wq-good-bg: #eff6ff;
    --wq-sufficient: #b45309; /* Darker amber */
    --wq-sufficient-bg: #fffbeb;
    --wq-poor: #b91c1c; /* Darker red */
    --wq-poor-bg: #fef2f2;
    --wq-unknown: #475569;
    --wq-unknown-bg: #f1f5f9;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

body:has(.sticky-footer) {
    padding-bottom: 80px; /* Space for sticky footer */
}

/* ================================================
   NAVIGATION — Unified Responsive Header
   ================================================ */
.premium-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem; /* Fallback for pages without .nav-inner (e.g. beach.php) */
    color: white;
}
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.premium-header .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.premium-header .logo:hover { opacity: 0.85; }

.premium-header .logo img,
.nav-drawer-logo img,
.logo img,
.header-logo-img,
.footer-logo-img {
    height: 38px;
    width: auto;
    max-height: 38px;
    object-fit: contain;
    display: block;
}

.header-logo-img.logo-white,
.logo-white {
    filter: brightness(0) invert(1);
}

.premium-header nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    flex: 1;
    justify-content: center;
}
.premium-header nav a {
    text-decoration: none;
    color: inherit;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.premium-header nav a:hover {
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
}
.premium-header nav a.active {
    background: rgba(2, 132, 199, 0.12);
    color: var(--primary);
    font-weight: 600;
}

.premium-header .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.premium-header .nav-actions a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.premium-header .nav-actions a:hover {
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
}
.premium-header .nav-cta {
    background: var(--primary) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: var(--radius-sm) !important;
}
.premium-header .nav-cta:hover {
    background: var(--primary-dark) !important;
    color: white !important;
}

/* Hamburger — hidden on desktop, shown on mobile via media query */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: inherit;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: background 0.18s;
    flex-shrink: 0;
}
.mobile-menu-toggle:hover { background: rgba(0,0,0,0.08); }

/* Legacy .actions alias */
.premium-header .actions {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 520px;
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.hero-text {
    color: white;
    max-width: 800px;
}
.back-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: none; /* Hidden on desktop; .premium-header displays the top-right Back link */
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    transition: color 0.18s;
}
.back-link:hover {
    color: white;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.hero-location {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.hero-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
}
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

/* Floating Water Quality Card */
.wq-floating-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 280px;
    text-align: center;
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255,255,255,1);
    color: var(--text-primary);
}
.wq-floating-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.wq-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid var(--wq-excellent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}
.wq-status-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wq-excellent);
}
.wq-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}
.wq-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Main Content Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Today's Conditions Row */
.conditions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.condition-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    flex: 1 1 200px;
}
.condition-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.condition-info h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.condition-info .value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.condition-info .sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Overview & Map Grid */
.split-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.overview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.overview-item i {
    font-size: 1.75rem;
    color: var(--text-secondary);
}
.overview-item span {
    font-size: 0.85rem;
    font-weight: 500;
}
.map-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 400px;
    position: relative;
}

/* Beach Information Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Businesses Grid */
.business-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.biz-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    flex: 0 0 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
}
.biz-photo {
    height: 125px;
    flex-shrink: 0;
    background-color: #e2e8f0;
    background-size: cover;
    background-position: center;
}
.biz-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.biz-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.biz-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: capitalize;
    margin-bottom: 0.75rem;
}
.biz-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}
.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    flex: 1;
    text-decoration: none;
}

/* Stay Near Container */
.stay-near-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.stay-near-container > a {
    flex: 1;
    min-width: 200px;
}
.stay-near-container > .seo-ad-wrapper {
    flex: 0 1 728px;
    min-width: 320px;
}

/* Accommodation Affiliate Buttons with Rich Photo Backgrounds */
.btn-hoseasons {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.3) 0%, rgba(15, 23, 42, 0.5) 100%), url('/images/hoseasons_bg.png') center / cover no-repeat !important;
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}
.btn-hoseasons img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}
.btn-hoseasons:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    filter: brightness(1.15) !important;
}

.btn-cottages {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(15, 23, 42, 0.5) 100%), url('/images/cottages_bg.png') center / cover no-repeat !important;
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}
.btn-cottages img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}
.btn-cottages:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    filter: brightness(1.15) !important;
}

/* Bottom Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #0f172a;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    z-index: 100;
}
.sticky-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

@media (min-width: 1024px) {
    .stay-near-container {
        flex-wrap: nowrap;
        height: 90px;
    }
    .stay-near-container > a {
        min-width: 150px;
    }
    .stay-near-container > .seo-ad-wrapper {
        min-width: 0;
    }
}


/* ================================================
   MOBILE SLIDE-IN NAV DRAWER (Base Styles)
   ================================================ */

/* Backdrop overlay */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Drawer panel */
.nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 9999;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

/* Drawer header */
.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.nav-drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}
.nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: background 0.18s, color 0.18s;
}
.nav-drawer-close:hover {
    background: var(--bg-page);
    color: var(--text-primary);
}

/* Drawer nav links */
.nav-drawer-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 0.75rem;
    flex: 1;
    gap: 0.25rem;
}
.nav-drawer-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    transition: background 0.18s, color 0.18s;
}
.nav-drawer-links a:hover {
    background: var(--bg-page);
    color: var(--text-primary);
}
.nav-drawer-links a.active {
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
}
.nav-drawer-links a i {
    font-size: 1.2rem;
    width: 1.5rem;
    flex-shrink: 0;
}

/* Drawer CTA footer */
.nav-drawer-footer {
    padding: 1rem 1.25rem 2rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}
.nav-drawer-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.18s;
}
.nav-drawer-footer a:hover {
    background: var(--primary-dark);
}



/* ================================================
   MODALS & LIGHTBOX (Base Styles)
   ================================================ */
.ad-modal-overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.ad-modal-overlay.open {
    visibility: visible;
    opacity: 1;
}
.ad-modal-container {
    background: var(--bg-card);
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}
.ad-modal-overlay.open .ad-modal-container {
    transform: translateY(0);
}
.ad-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.ad-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}
.btn-close-ad-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}
.btn-close-ad-modal:hover {
    color: var(--text-primary);
}
.ad-modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.ad-form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}
.ad-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.ad-form-group input,
.ad-form-group select,
.ad-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg-body);
    color: var(--text-primary);
    box-sizing: border-box;
}
.ad-form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.ad-form-row {
    display: flex;
    gap: 1rem;
}
.ad-form-row .ad-form-group {
    flex: 1;
}
.btn-local-ad {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}
.btn-local-ad:hover {
    background-color: var(--primary-dark);
}
.ad-success-msg {
    display: none;
    background: #ecfdf5;
    color: #059669;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}



@media (max-width: 1024px) {
    .split-grid { grid-template-columns: 1fr; }
}



@media (max-width: 768px) {
    /* ---- Mobile Nav Overrides ---- */
    .premium-header {
        padding: 1.25rem 1.5rem; /* Fallback for pages without .nav-inner on mobile (e.g. beach.php) */
    }
    .premium-header:has(.nav-inner) {
        padding: 0; /* Let nav-inner handle padding if present */
    }
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .nav-inner {
        padding: 0.85rem 1rem;
        gap: 0.5rem;
    }
    .premium-header .logo img,
    .nav-drawer-logo img,
    .header-logo-img {
        height: 32px;
        max-height: 32px;
    }

    /* Hide the desktop nav & actions on mobile — they live in the drawer */
    .premium-header nav,
    .premium-header .nav-actions {
        display: none !important;
    }

    /* Legacy .actions alias */
    .premium-header .actions {
        display: none;
    }

    /* Activate backdrop & drawer */
    .nav-drawer {
        display: flex;
    }

    /* Open state */
    body.nav-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    body.nav-open .nav-drawer {
        transform: translateX(0);
    }
    /* Prevent body scroll when drawer open */
    body.nav-open {
        overflow: hidden;
    }

    /* ---- Hero ---- */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 6rem;
        padding-bottom: 2rem;
        align-items: stretch;
    }
    .hero-content { 
        flex-direction: column; 
        justify-content: flex-end; 
        align-items: flex-start; 
        gap: 2rem; 
        width: 100%;
        padding: 2rem 1.25rem; /* Reduced mobile padding */
    }
    .hero-title { font-size: 2.5rem; line-height: 1.1; }
    .back-link { display: flex; }
    .wq-floating-card {
        align-self: center;
        margin: 0 auto;
        max-width: 100%;
    }
    .info-grid { grid-template-columns: 1fr; }
    .business-grid {
        flex-direction: column;
        width: 100%;
    }
    .biz-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 280px;
    }
    .sticky-footer { gap: 1rem; justify-content: space-between; padding: 1rem; }
    .sticky-action span { display: none; }

    /* ---- Mobile Padding Reductions ---- */
    .container {
        padding: 2rem 1.25rem; /* Reduced mobile padding */
    }
    .premium-footer {
        padding: 3rem 1.25rem 1.5rem 1.25rem; /* Reduced mobile padding */
    }
    .dashboard-container {
        padding: 0 1.25rem;
        margin: 2rem auto;
    }
    .home-hero-section > div {
        padding: 2rem 1.25rem !important; /* Override inline padding on mobile */
    }
}

/* ================================================
   NAV DROPDOWN & ACCORDION (Collections Menu)
   ================================================ */
.nav-item-dropdown { position: relative; display: inline-block; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 320px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 1rem;
    z-index: 1000;
    border: 1px solid var(--border-color, #e2e8f0);
}
.nav-item-dropdown:hover .dropdown-menu { display: block; }
.dropdown-group-title {
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    color: var(--text-muted, #94a3b8); 
    font-weight: 700; 
    margin: 0.5rem 0 0.25rem 0.5rem;
}
.dropdown-menu a {
    display: flex !important; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem !important;
    color: var(--text-primary, #334155) !important; 
    text-decoration: none; 
    border-radius: 6px; 
    font-size: 0.85rem !important; 
    font-weight: 500 !important;
    background: transparent !important;
}
.dropdown-menu a:hover { 
    background: var(--accent, #f1f5f9) !important; 
    color: var(--primary, #0284c7) !important; 
}

/* Responsive Mobile Accordion Sub-Menu Styles */
.mobile-nav-accordion {
    width: 100%;
}
.mobile-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary, #0f172a);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}
.mobile-accordion-toggle span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mobile-accordion-toggle .accordion-arrow {
    transition: transform 0.2s ease;
}
.mobile-nav-accordion.open .accordion-arrow {
    transform: rotate(180deg);
}
.mobile-accordion-content {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin: 0.25rem 0.5rem 0.5rem;
}
.mobile-nav-accordion.open .mobile-accordion-content {
    display: flex;
}
.mobile-subgroup-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 700;
    margin: 0.75rem 0 0.25rem 0.5rem;
}
.mobile-sublink {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
}
.mobile-sublink:hover, .mobile-sublink.bold {
    color: #0284c7;
    font-weight: 700;
}

/* Mobile map marker zoom transitions & touch styling */
.mobile-map-marker {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
    transition: r 0.25s cubic-bezier(0.4, 0, 0.2, 1), stroke-width 0.25s ease;
    cursor: pointer;
}

/* ================================================
   PREMIUM FOOTER GLOBAL STYLES
   ================================================ */
.premium-footer {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    padding: 4rem 3rem 2rem 3rem;
    margin-top: 4rem;
}
.premium-footer a {
    color: #94a3b8;
    text-decoration: none;
}
.premium-footer a:hover {
    color: #ffffff !important;
}
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}
.footer-col h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 700;
}
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links a:hover {
    color: #ffffff !important;
}
.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}
.footer-socials {
    display: flex;
    gap: 1rem;
}
.footer-socials a {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.2s;
}
.footer-socials a:hover {
    color: #ffffff;
}




