








/* --- 1. Global Setup & Background --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: url('../background/background3.jpg') no-repeat center center fixed;
    background-size: cover;
    padding-left: 60px; /* Space for desktop sidebar */
    color: white;
    min-height: 100vh;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 37, 62, 0.4);
    z-index: -1;
}

.hamburger {
    display: none;
}

/* --- 2. Header & Navigation --- */
header {
    background-color: #11253E;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    min-height: 140px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.mobile-logo-link {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #b88c5c;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 12px;
    transition: 0.3s;
    white-space: nowrap;
}
.nav-links li a:not(.adv-btn):hover {
    background-color: darkblue;
    color: lightskyblue;
    border-radius: 5px;
}
.logo-inline {
    height: 100px;
    width: auto;
    display: block;
    transition: 0.3s;
}

.logo-inline:hover {
    transform: scale(1.05);
}

.nav-logo-item a:hover {
    background-color: transparent !important;
}

/* --- 3. Search Bar --- */
.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(184, 140, 92, 0.4);
    border-radius: 50px;
    padding: 8px 20px;
    transition: all 0.3s ease; /* Transition for the glow */
}

/* The Gold Glow Effect on Focus */
.search-form:focus-within {
    border-color: #ceb888;
    box-shadow: 0 0 15px rgba(206, 184, 136, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    padding: 5px;
    outline: none;
    width: 250px; /* Bigger Desktop Width */
    font-size: 1rem;
}

.search-btn {
    background: transparent;
    border: none;
    color: #b88c5c;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Mobile Search Adjustment (1/3 smaller) */
@media (max-width: 768px) {
    .search-input {
        width: 85px;
        font-size: 0.9rem;
    }
    .search-form {
        padding: 5px 12px;
    }
}
/* --- 4. CLICK-ONLY DROPDOWNS & MEGA MENU --- */
.dropdown {
    position: relative;
}

/* Standard Dropdown Hidden by default */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #11253e;
    min-width: 200px;
    box-shadow: 0px 12px 24px rgba(0,0,0,0.5);
    border-radius: 8px;
    top: 100%;
    left: 0;
    z-index: 1001;
    border: 1px solid rgba(184, 140, 92, 0.2);
}

/* Districts Mega Menu Hidden by default */
.districts-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 650px;
    background-color: #11253e;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(206, 184, 136, 0.3);
    border-top: 3px solid #b88c5c;
    border-radius: 0 0 10px 10px;
    z-index: 2001;
    overflow: hidden;
}

/* THE CLICK TRIGGER: Only show when JS adds .sticky-open */
.dropdown-content.sticky-open,
.districts-mega.sticky-open {
    display: flex !important; /* Use flex to accommodate the sidebar wrapper */
}
/* --- 5. MEGA MENU INTERNAL LAYOUT --- */
.mega-wrapper {
    display: flex;
    height: 400px;
}

.district-sidebar {
    width: 200px;
    background: #0d1b2e;
    border-right: 1px solid rgba(206, 184, 136, 0.2);
    padding: 10px 0;
}

.district-item {
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

/* Sidebar Item Hover (Visual feedback only, no logic trigger) */
.district-item:hover {
    background: darkblue;
    color: lightskyblue;
}

/* THE CLICK TRIGGER for District Selection */
.district-item.active-district {
    background: rgba(206, 184, 136, 0.1) !important;
    color: #ceb888 !important;
    border-left: 3px solid #ceb888 !important;
}

.district-item i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.active-district i {
    opacity: 1;
    color: #ceb888;
}

/* RIGHT TOWN DISPLAY */
.town-display {
    flex: 1;
    padding: 25px;
    background: #11253E;
    overflow-y: auto;
}

.town-group {
    display: none;
}

.town-group.active-group {
    display: block;
}

.district-hub-link {
    display: inline-block;
    color: #ceb888;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ceb888;
    text-decoration: none;
}

.town-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.town-grid a {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.town-grid a:hover {
    color: #ceb888;
    opacity: 1;
}
/* --- 4. Dropdowns & Mega Menu --- */
.dropdown {
    position: relative;
}

/* 4a. Standard Dropdown (Help, Legal, etc.) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #11253e;
    min-width: 200px;
    box-shadow: 0px 12px 24px rgba(0,0,0,0.5);
    border-radius: 8px;
    top: 100%;
    left: 0;
    z-index: 1001;
    border: 1px solid rgba(184, 140, 92, 0.2);
}

/* 4b. Districts Menu - Reconfigured to be Vertical for Desktop */
.districts-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; /* Aligns to the left of the Districts link */
    width: 250px; /* Thinner width for a vertical list */
    background-color: #11253e;
    padding: 10px 0; /* Vertical padding for the list */
    flex-direction: column; /* FORCES VERTICAL STACKING */
    box-shadow: 0px 15px 35px rgba(0,0,0,0.6);
    border-radius: 8px;
    border: 1px solid rgba(184, 140, 92, 0.3);
    border-top: 3px solid #b88c5c; /* Gold top accent bar */
    z-index: 1001;
}

/* --- 4c. Updated Hover & Sticky Triggers --- */

/* Only trigger hover if the menu is NOT already locked/clicked open */
.dropdown:hover .dropdown-content:not(.sticky-open) {
    display: block;
    animation: fadeInSimple 0.2s ease-in-out;
}

/* Updated Mega Menu Hover: Removed !important so JS can control it */
.dropdown:hover .districts-mega:not(.sticky-open) {
    display: flex;
    animation: fadeInSimple 0.2s ease-in-out;
}

/* This is the class our JS adds when you CLICK.
   We use !important here to LOCK it open */
.districts-mega.sticky-open {
    display: flex !important;
    border-top: 3px solid #ceb888;
    box-shadow: 0px 20px 50px rgba(0,0,0,0.8);
}

/* Optional: Make the "Explore Places" link stay gold when the menu is locked */
.mega-dropdown.is-locked > .dropbtn {
    color: white !important;
    background-color: rgba(206, 184, 136, 0.2);
    border-radius: 5px;
}
/* --- 5. Social Sidebar (Desktop) --- */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 60px;
    background-color: #0a1625;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2000;
}

.social-icon { color: #b88c5c; font-size: 1.3rem; transition: 0.3s; }
.social-icon:hover { color: white; transform: scale(1.2); }

/* --- 6. Search Results --- */
.results-header {
    text-align: center;
    padding: 60px 20px;
    background-color: #11253E;
    border-bottom: 2px solid #b88c5c;
}

.results-container {
    max-width: 1000x;
    margin: 40px auto;
    min-height: 400px;
    padding: 0 20px;
}

.search-result-item {
    background-color: #11253E;
    border: 1px solid rgba(184, 140, 92, 0.3);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.search-result-item:hover {
    background-color: #00008B !important;
}

/* --- 7. Footer & Interactive Footer Menu --- */
.site-footer {
    background: #11253E;
    padding: 60px 20px;
    border-top: 2px solid #b88c5c;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    position: relative;
    min-width: 220px;
}

/* Unified Footer Headings - Consistency is key */
.footer-column h3 {
    color: #b88c5c;
    padding: 12px 15px;
    font-size: 1.1rem; /* All headings now forced to this size */
    cursor: pointer;
    border-bottom: 2px solid #b88c5c;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px 5px 0 0;
    margin: 0; /* Reset margins to ensure alignment */
}

.footer-column:hover h3,
.footer-column.active h3 {
    background-color: darkblue;
    color: lightskyblue;
}

.footer-icon {
    font-size: 0.8rem;
    color: #b88c5c;
    transition: transform 0.4s ease, color 0.3s ease;
}

.footer-column:hover .footer-icon,
.footer-column.active .footer-icon {
    transform: rotate(180deg);
    color: lightskyblue;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    background: #11253E;
    width: 100%;
    z-index: 10;
    border: 1px solid rgba(184, 140, 92, 0.1);
    border-top: none;
    overflow: hidden;
}

.footer-column:hover .footer-links,
.footer-column.active .footer-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-links li a, .footer-links p {
    color: #b88c5c;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 15px;
    display: block;
    transition: 0.3s;
    font-size: 0.95rem; /* Consistent link size */
}

.footer-links li a:hover {
    background-color: darkblue;
    color: lightskyblue;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 150px;
    padding-top: 20px;
    border-top: 1px solid rgba(184, 140, 92, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Slide-Down & Responsiveness */
@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 10px; }

    .footer-links {
        position: relative;
        max-height: 0;
        display: block;
        opacity: 0;
        transform: none;
    }

    .footer-column.active .footer-links {
        max-height: 300px;
        opacity: 1;
        padding: 10px 0;
    }

    .footer-bottom { margin-top: 40px; }
}
/* --- 8. MOBILE RESPONSIVENESS (Logo Left, Hamburger Right) --- */
@media (max-width: 768px) {
    body {
        padding-left: 0;
        padding-bottom: 80px;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        min-height: auto;
    }

    /* Allows LI items to be ordered directly by .navbar flexbox */
    .nav-links {
        display: contents;
    }

    /* Order 1: Logo (Top Left) */
    .mobile-logo-link {
        display: block;
        order: 1;
        margin: 0;
    }

    .logo-mobile {
        height: 60px; /* Forced smaller height to keep logo and hamburger on one line */
        width: auto;
    }

    /* Order 2: Hamburger (Top Right) */
    .hamburger {
        display: block !important;
        order: 2;
        margin: 0;
        font-size: 2rem;
        color: #b88c5c;
        cursor: pointer;
    }

    /* Order 3: Search Bar (Full Width Below) */
    .search-container {
        display: block !important;
        order: 3;
        width: 100%;
        margin: 10px 0;
    }

    .search-form {
        width: 100%;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.15);
        display: flex !important;
        justify-content: space-between;
    }

    .search-input {
        width: 100%;
        font-size: 0.9rem;
    }

    /* Order 4: The Dropdown Menu Links */
    .nav-links li:not(.search-container):not(.nav-logo-item) {
        display: none; /* Hidden until hamburger clicked */
        width: 100%;
        text-align: center;
        background: #11253E;
        padding: 15px 0;
        order: 4;
        border-bottom: 1px solid rgba(184, 140, 92, 0.2);
    }

    /* When mobile menu is open */
    .nav-links.active li:not(.nav-logo-item) {
        display: block;
    }

    /* Vertical Dropdown Menu Fix */
    .dropdown-content.districts-mega {
        position: static; /* Removes absolute floating */
        display: none;
        flex-direction: column; /* Vertical stack */
        width: 100%;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        transform: none;
        padding: 0;
    }

    .dropdown-content.districts-mega.show {
        display: flex !important;
    }

    .dropdown-item {
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-item img {
        display: none; /* Hide images in vertical mobile menu to save space */
    }

    .desktop-only {
        display: none !important;
    }

    .social-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        top: auto;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: space-around;
        background-color: #0a1625;
        border-top: 2px solid #b88c5c;
        padding: 0 10px;
        z-index: 999;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --- 9. Utility --- */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #b88c5c;
    color: #11253E;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* --- 10. Featured Districts Section --- */
.districts-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.section-header p {
    font-size: 1.1rem;
    color: #ceb888;
    margin-bottom: 40px;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.district-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(206, 184, 136, 0.2);
}

.district-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: #ceb888;
}

.district-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

.district-card:hover .district-image {
    transform: scale(1.1);
}

.district-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: linear-gradient(transparent, rgba(17, 37, 62, 0.9));
    width: 100%;
    text-align: left;
}

.district-info h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.district-info span {
    color: #ceb888;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ===== SLIDESHOW & GRID MERGE ===== */
.slideshow-container {
    position: relative;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    height: 450px;
    border: 2px solid #b88c5c;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    background: linear-gradient(to top, #11253E, transparent);
    color: #b88c5c;
}

/* AD BOX */
.ad-box {
    background: linear-gradient(135deg, #11253E 0%, #0d1b2e 100%);
    border: 1px solid #b88c5c;
    border-radius: 12px;
    padding: 40px;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.ad-btn {
    background-color: #b88c5c;
    color: #11253E;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

/* GRID ITEMS */
.grid-item {
    background-color: rgba(17, 37, 62, 0.9);
    border: 1px solid rgba(184, 140, 92, 0.3);
    border-radius: 10px;
}

.grid-item-title { color: #b88c5c; }
.grid-item-text { color: #e0e0e0; }

.section-title {
    color: #b88c5c;
    border-bottom: 3px solid #b88c5c;
}

/* --- 6. Business Submission Form --- */
.submission-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(17, 37, 62, 0.8), rgba(17, 37, 62, 0.8)), url('../background/form-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(206, 184, 136, 0.3);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
}

.form-intro h2 { font-size: 2.5rem; margin-bottom: 10px; color: white; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    color: #ceb888;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ceb888;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-submit-btn {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.form-submit-btn:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.4);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .form-wrapper { padding: 30px 20px; }
}

//* --- Promo Bar Styles (Tighter Version) --- */
.promo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* REDUCE TOP/BOTTOM PADDING HERE */
    padding: 10px 0;
    width: 100%;
}

.promo-btn {
    background: #e67e22;
    color: white;
    /* REDUCE VERTICAL PADDING (First number) */
    padding: 8px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    /* REDUCE THE GAP BETWEEN LOGO AND TEXT HERE */
    gap: 10px;
    transition: 0.3s;
}
.promo-nav {
    border: 1px solid rgba(230, 126, 34, 0.5); /* Small orange/gold border */
    padding: 15px;
    border-radius: 25px;
    display: inline-block;
}
.promo-btn:hover {
    background: #d35400;
    transform: scale(1.02);
}

/* Mobile fix for the long button */
@media (max-width: 600px) {
    .promo-btn {
        padding: 10px 40px; /* Reduces width on small screens so it doesn't break */
    }
}

/* --- 6. Business Submission Form --- */
.submission-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(17, 37, 62, 0.8), rgba(17, 37, 62, 0.8)), url('../background/form-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(206, 184, 136, 0.3);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
}

.form-intro h2 { font-size: 2.5rem; margin-bottom: 10px; color: white; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    color: #ceb888;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ceb888;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-submit-btn {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: #e67e22; /* High contrast orange */
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.form-submit-btn:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.4);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 20px;
}

/* Mobile Fix */
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .form-wrapper { padding: 30px 20px; }
}
/* --- 5. Updates & Events Row --- */
.updates-section {
    background: rgba(17, 37, 62, 0.6);
    padding: 60px 20px;
    margin-top: 40px;
}

.updates-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.update-col h3 {
    color: #ceb888;
    margin-bottom: 25px;
    border-bottom: 2px solid #ceb888;
    display: inline-block;
}



.event-mini-card {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.event-date {
    background: #ceb888;
    color: #11253e;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    margin-right: 15px;
}

.event-date span { display: block; font-size: 0.7rem; }
.event-title { font-weight: bold; }

@media (max-width: 768px) {
    .updates-container { grid-template-columns: 1fr; }
}
.pricing-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
}

.pricing-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.price-card {
    background: #11253E;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 40px 30px;
    width: 350px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

/* Make the paid one stand out */
.price-card.featured {
    border: 2px solid #e67e22;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e67e22;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price { font-size: 2.5rem; font-weight: bold; margin: 20px 0; color: #2c3e50; }
.price span { font-size: 1rem; color: #777; }

.features { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; }
.features li { margin-bottom: 12px; font-size: 0.95rem; }

.btn-solid {
    background: #e67e22;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    display: block;
    font-weight: bold;
}

.btn-outline {
    border: 1px solid #e67e22;
    color: #e67e22;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    display: block;
}
/* --- 3. Hero Welcome Section --- */
.hero-welcome {
    position: relative;
    height: 50vh; /* Takes up 70% of the screen height */
    min-height: 450px;
    background: url('../background/hero-landscape.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay to make the text pop against the image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 37, 62, 0.5); /* Navy tint */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 40px;
    background: rgba(17, 37, 62, 0.25); /* Glass effect */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gold-text {
    color: #ceb888; /* Your gold color */
}

.hero-content p {
    font-size: 1.4rem;
    color: #f4f4f4;
    margin-bottom: 35px;
}

/* Call to Action Buttons */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-primary {
    background-color: #ceb888;
    color: #11253E;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    transition: 0.3s;
}

.cta-secondary {
    border: 2px solid #ceb888;
    color: #ceb888;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    transition: 0.3s;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Mobile Fix for Hero */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; }
}

.biz-badge {
    display: inline-block;
    background: rgba(184, 140, 92, 0.2);
    color: #b88c5c;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    border: 1px solid #b88c5c;
}
/* --- Directory Grid (Health & Medical) --- */
.business-grid {
    display: grid;
    /* Forces exactly 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px; /* Reduced slightly to keep 3 cards snug */
    margin: 40px auto;
    padding: 0 20px;

    /* Centers the entire grid and the cards inside it */
    justify-content: center;
    justify-items: center;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards for tablets */
    }
}

@media (max-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr; /* 1 card for phones */
        max-width: 400px;
    }
}

.biz-card {
    width: 100%;
    max-width: 350px; /* Ensures cards don't get too wide on large screens */
    background: rgba(17, 37, 62, 0.8);
    border: 1px solid rgba(184, 140, 92, 0.3);
    border-radius: 15px;
    padding: 20px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    position: relative;
}
/* --- Biz Card Image Styles --- */

/* The container for the image */
.biz-card-img-wrapper {
    width: 100%;
    /* Creates a fixed aspect ratio (e.g., 16:9 for a modern look) */
    aspect-ratio: 16 / 9;
    overflow: hidden; /* Keeps the zoom inside the card */
    position: relative;
    border-top-left-radius: 10px; /* Matches standard card corners */
    border-top-right-radius: 10px;
}

/* The actual image inside the wrapper */
.biz-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Important: Ensures image fills the space without stretching */
    transition: transform 0.4s ease; /* Adds the smooth zoom on hover */
}

/* Hover effect on the wrapper makes the image zoom */
.biz-card-img-wrapper:hover .biz-card-img {
    transform: scale(1.05); /* Slight 5% zoom */
}
/* Reset Button Styling */
.reset-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #aaa;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    display: none; /* Hidden by default */
}

.reset-btn:hover {
    color: #ceb888;
    border-color: #ceb888;
}

.biz-card {
    /* Fixed width behavior */
    width: 100%;
    max-width: 380px; /* Adjust this to match your preferred 3-card width */
    background: rgba(17, 37, 62, 0.8);
    border: 1px solid rgba(184, 140, 92, 0.3);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.biz-card:hover {
    transform: translateY(-5px);
    border-color: #ceb888;
    background: rgba(17, 37, 62, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.biz-info h2 {
    color: #ceb888;
    margin: 10px 0;
    font-size: 1.4rem;
}

.biz-location {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.biz-location i {
    color: #ceb888;
    margin-right: 5px;
}

.biz-tags {
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
    margin-top: auto;
}
.directory-container {
    padding-top: 50px;
    padding-bottom: 100px;
}
/* --- Filter Bar Styling --- */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Essential for mobile */
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #b88c5c;
    color: #b88c5c;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(184, 140, 92, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #b88c5c;
    color: #11253E;
    box-shadow: 0 4px 15px rgba(184, 140, 92, 0.4);
}

/* --- Updated Business Modal Wrapper --- */
.pub-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Darker for better focus */
    display: none;
    justify-content: center;
    align-items: flex-start; /* Changed from center to allow top margin */
    z-index: 3000;
    padding: 40px 20px; /* This creates the top/bottom "room" you asked for */
    backdrop-filter: blur(8px);
    overflow-y: auto; /* Allows you to scroll the card if it's longer than the screen */
}

.pub-modal.show {
    display: flex; /* Shown via JavaScript */
}

.modal-content {
    background: #11253E;
    border: 2px solid #b88c5c;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    color: white;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(184, 140, 92, 0.3);
}

.modal-content .back-btn {
    cursor: pointer;
    color: #ceb888;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    transition: 0.3s;
}

.modal-content .back-btn:hover {
    text-decoration: underline;
}

#modalDesc {
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}
/* --- Centered Back Link Container --- */
.back-link-container {
    width: 100%;
    display: flex;
    justify-content: center; /* This centers the button horizontally */
    margin-bottom: 25px;    /* Space between button and H1 */
    padding-top: 20px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ceb888;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase; /* Makes it look more professional/UI-like */
    letter-spacing: 1px;
    padding: 10px 24px;
    border: 1px solid rgba(206, 184, 136, 0.4);
    border-radius: 50px; /* Pill shape looks great for "Back" buttons */
    background: rgba(17, 37, 62, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.back-btn:hover {
    color: white;
    background: #ceb888; /* Flips to gold on hover */
    border-color: #ceb888;
    transform: translateX(-5px); /* Subtle "moving back" animation */
}

.back-btn:hover i {
    color: #11253E; /* Arrow turns navy to match gold background */
}
/* Professional No Results Box - Matches your Navy/Gold theme */
.no-results {
    padding: 60px 40px;
    text-align: center;
    background: rgba(17, 37, 62, 0.8); /* Your Navy background */
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 140, 92, 0.4); /* Your Gold border */
    border-radius: 20px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.no-results h3 {
    color: #ceb888; /* Gold title */
    font-size: 2rem;
    margin-bottom: 15px;
}

.no-results p {
    color: #f4f4f4;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.no-results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Reusing your site's button style for consistency */
.no-results-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.no-results-btn.primary {
    background: #ceb888;
    color: #11253E;
}

.no-results-btn.secondary {
    border: 1px solid #ceb888;
    color: #ceb888;
}

.no-results-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* Professional Results Box - Consistency with your Navy/Gold theme */
.search-result-item {
    background: rgba(17, 37, 62, 0.8); /* Matches your Navy Background */
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 140, 92, 0.3); /* Subtle Gold border */
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    text-decoration: none;
}

.search-result-item:hover {
    border-color: #ceb888; /* Brightens on hover */
    background: rgba(17, 37, 62, 1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.result-content h3 {
    color: #ceb888;
    font-size: 1.4rem;
    margin-top: 5px;
}

.result-content p {
    color: #f4f4f4;
    font-size: 0.95rem;
    opacity: 0.8;
}

.result-arrow {
    color: #ceb888;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.search-result-item:hover .result-arrow {
    transform: translateX(5px);
}
/* --- District Category Cards --- */
.category-card {
    background: linear-gradient(135deg, #11253E 0%, #0a1625 100%);
    border: 1px solid rgba(184, 140, 92, 0.3);
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s all ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #b88c5c;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.cat-icon {
    font-size: 3rem;
    color: #b88c5c;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.category-card p {
    color: #ceb888;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Search Header Styling */
.search-header-container {
    max-width: 1000px;
    margin: 40px auto 20px auto;
    padding: 30px;
    background: rgba(17, 37, 62, 0.6);
    backdrop-filter: blur(10px);
    border-left: 4px solid #ceb888; /* Gold accent bar */
    border-radius: 10px;
}

.search-header-container h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.search-header-container .query-text {
    color: #ceb888; /* Gold color for the actual word searched */
    font-style: italic;
}

.search-header-container .results-count {
    color: #aaa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* --- Consistent Search UI --- */

/* 1. Header Summary */
.search-header-container {
    max-width: 1000px;
    margin: 40px auto 20px auto;
    padding: 30px;
    background: rgba(17, 37, 62, 0.6);
    backdrop-filter: blur(10px);
    border-left: 4px solid #ceb888;
    border-radius: 10px;
    text-align: left;
}

.search-header-container h2 { color: white; font-size: 1.8rem; margin-bottom: 5px; }
.search-header-container .query-text { color: #ceb888; font-style: italic; }
.search-header-container .results-count { color: #aaa; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* 2. Unified Result & No-Result Boxes */
.search-result-item, .no-results {
    background: rgba(17, 37, 62, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 140, 92, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.search-result-item:hover {
    border-color: #ceb888;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.result-content h3 { color: #ceb888; font-size: 1.4rem; margin: 5px 0; }
.result-content p { color: #f4f4f4; opacity: 0.8; font-size: 0.95rem; }
.result-arrow { color: #ceb888; font-size: 1.2rem; }

/* 3. No Results Specifics */
.no-results { text-align: center; }
.no-results h3 { color: #ceb888; font-size: 1.8rem; margin-bottom: 15px; }
.no-results-actions { display: flex; gap: 15px; justify-content: center; margin-top: 25px; }

.no-results-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.no-results-btn.primary { background: #ceb888; color: #11253E; }
.no-results-btn.secondary { border: 1px solid #ceb888; color: #ceb888; }

/* Styling for the Back Button on Results Page */
.back-link-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ceb888;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 15px;
    border: 1px solid rgba(206, 184, 136, 0.3);
    border-radius: 5px;
    background: rgba(17, 37, 62, 0.4);
    transition: 0.3s;
}

.back-btn:hover {
    background: #ceb888;
    color: #11253E;
    border-color: #ceb888;
}

.back-btn i {
    font-size: 0.8rem;
}

/* --- Search Loading Spinner --- */
.search-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(184, 140, 92, 0.2);
    border-top: 5px solid #b88c5c; /* Your Gold Color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #ceb888;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
/* --- Featured Search Result Styling --- */
.search-result-item.featured-result {
    border: 2px solid #ceb888; /* Solid Gold Border */
    background: linear-gradient(135deg, rgba(17, 37, 62, 1) 0%, rgba(26, 54, 89, 1) 100%);
    box-shadow: 0 0 15px rgba(184, 140, 92, 0.3);
    position: relative;
    overflow: hidden;
}

.search-result-item.featured-result::after {
    content: "PROMOTED";
    position: absolute;
    top: 10px;
    right: -30px;
    background: #11263E;
    color: #11253E;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 2px 40px;
    transform: rotate(45deg);
}

.search-result-item.featured-result .biz-badge {
    background: #ceb888;
    color: #11253E;
}

.search-result-item.featured-result h3 {
    color: white; /* Contrast against the gold badge */
}

/* --- Premium Verified Card Badge (Matches Crown Style) --- */
.verified-tick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #ceb888, #b88c5c); /* Solid Gold Gradient */
    color: #11253E; /* High-Contrast Navy Text */
    padding: 4px 12px;
    border-radius: 4px; /* Matches the slightly squared look of the crown badge */
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: none;
}

.verified-tick i {
    font-size: 0.8rem;
}


/* Enhances the "Featured" badge for paid users */
.featured-card .featured-badge {
    background: linear-gradient(45deg, #ceb888, #b88c5c);
    color: #11253E;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* --- Position the X in the top right corner --- */
.close-x {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #ceb888;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
    z-index: 100;
}

.close-x:hover {
    color: white;
    transform: scale(1.2);
}

/* --- Ensure the modal handles scrolling correctly --- */
.pub-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    justify-content: center;
    align-items: flex-start; /* Allows top margin on long cards */
    padding: 50px 20px;      /* Vertical room at top and bottom */
    overflow-y: auto;        /* The whole screen scrolls if card is long */
    backdrop-filter: blur(8px);
}

.modal-content {
    background: #11253E;
    border: 2px solid #ceb888;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    padding: 40px;
    position: relative; /* Essential for the absolute X button */
    margin: 0 auto;     /* Centers horizontally */
}
/* The Premium Glow Effect */
.biz-card.verified-glow {
    border: 2px solid #ceb888 !important; /* Gold Border */
    box-shadow: 0 0 15px rgba(206, 184, 136, 0.3); /* Subtle Gold Shadow */
    position: relative;
    overflow: visible; /* Allows the glow to spill out slightly */
    transition: all 0.3s ease;
}

/* Make it pulse slightly to draw the eye */
.biz-card.verified-glow:hover {
    box-shadow: 0 0 25px rgba(206, 184, 136, 0.6);
    transform: translateY(-5px); /* Lift it up on hover */
}

/* Add a "Verified" corner sash or extra styling to the tick */
.verified-glow .verified-tick {
    background: rgba(206, 184, 136, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    color: #ceb888;
    font-weight: bold;
    font-size: 0.75rem;
    margin-bottom: 8px;
}
@keyframes gold-shimmer {
    0% { box-shadow: 0 0 5px rgba(206, 184, 136, 0.2); }
    50% { box-shadow: 0 0 20px rgba(206, 184, 136, 0.5); }
    100% { box-shadow: 0 0 5px rgba(206, 184, 136, 0.2); }
}

.biz-card.verified-glow {
    animation: gold-shimmer 3s infinite ease-in-out;
}
#no-results-message {
    background: rgba(17, 37, 62, 0.4); /* Dark Navy tint to match your theme */
    border: 1px dashed rgba(206, 184, 136, 0.3); /* Subtle gold dashed border */
    border-radius: 15px;
    margin: 20px 0;
    backdrop-filter: blur(5px); /* Optional: adds a modern frosted look */
}

/* Forces the news into two side-by-side columns */
.updates-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* The News Box - Matches your Search Results exactly */
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #11253E; /* Solid Navy - No more see-through */
    border: 2px solid rgba(184, 140, 92, 0.3); /* Match Search Result Border */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.news-item:hover {
    border-color: #ceb888; /* Bright Gold on hover */
    background: #1a3557; /* Slightly lighter blue on hover */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.news-date {
    color: #ceb888;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.news-link {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.news-snippet {
    color: #f4f4f4;
    opacity: 0.8;
    font-size: 0.95rem;
    margin-top: 5px;
}

/* Mobile: Stack columns */
@media (max-width: 768px) {
    .updates-container { grid-template-columns: 1fr; }
}

/* Container to handle the outer spacing */
.news-centered-wrapper {
    display: flex;
    justify-content: center; /* Centers the card horizontally */
    align-items: center;
    border-left: none !important; /* Optional: removes the side bar for a cleaner centered look */
    background: transparent !important; /* Removes the double background */
    box-shadow: none !important;
}

/* The actual Box containing the news */
.news-feature-card {
    max-width: 800px;
    width: 100%;
    background: rgba(17, 37, 62, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid #ceb888;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center; /* Centers the text and inline elements */
}

.feature-title {
    display: inline-block;
    border-bottom: 2px solid #ceb888;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: white;
    font-size: 1.8rem;
}


/* Specific styling for the Event Box */
.event-card {
    border-color: #ceb888; /* Keeps the gold theme */
    background: linear-gradient(rgba(17, 37, 62, 0.9), rgba(17, 37, 62, 0.95)),
                url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

.event-card .feature-title i {
    color: #ffcc00; /* Brighten the calendar icon slightly */
    margin-right: 10px;
}

/* Optional: Make the event dates stand out more */
#local-events-container .news-date {
    background: #ceb888;
    color: #11253E;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Events Hero Section */
.events-hero {
    height: 40vh;
    background: linear-gradient(rgba(17,37,62,0.6), rgba(17,37,62,0.6)), url('pics/events/hero.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.event-badge {
    background: #ceb888;
    color: #11253E;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Date Tag on Cards */
.event-date-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ceb888;
    color: #11253E;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.event-date-tag span {
    font-size: 1.4rem;
}

/* Event Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.event-card {
    background: rgba(17, 37, 62, 0.8);
    border: 1px solid rgba(184, 140, 92, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: #ceb888;
}

.event-img-wrapper {
    position: relative;
    height: 200px;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    padding: 20px;
}

.event-desc {
    color: #ccc;
    font-size: 0.9rem;
    margin: 15px 0;
    line-height: 1.5;
}

/* Filters */
.events-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    flex-wrap: wrap;
}
.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(184, 140, 92, 0.4);
    color: #ceb888;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn.active {
    background: #ceb888;
    color: #11253E;
    border-color: #ceb888;
}

.filter-btn:hover {
    background: rgba(184, 140, 92, 0.2);
}

.reset-btn:hover {
    background: rgba(206, 184, 136, 0.1);
    color: white !important;
}
/* Event-specific badge color to differentiate from businesses */
[data-category="music"] .biz-badge,
[data-category="festival"] .biz-badge {
    background: rgba(206, 184, 136, 0.1);
    color: #ceb888;
    border: 1px solid #ceb888;
}

/* Ensure the image wrapper stays consistent with directory pages */
.biz-card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.biz-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.biz-card:hover .biz-card-img {
    transform: scale(1.05);
}
/* Target all links within your business cards */
.biz-card {
    text-decoration: none; /* Removes the underline */
    color: inherit;        /* Tells the link to use the parent's text color */
}

/* Ensure the title stays gold and doesn't turn purple after clicking */
.biz-card h2 {
    color: #ceb888 !important;
    text-decoration: none;
}

/* Handle the 'Hover' state so users know it's clickable */
.biz-card:hover h2 {
    color: #ffffff !important; /* Turns white when hovered for feedback */
    transition: 0.3s;
}

/* Global Reset for any other links in your body */
a, a:visited, a:hover, a:active {
    text-decoration: none;
}

/* --- MEGA MENU FIX: STOPS JUMPING & ANCHORS TO LINK --- */
.mega-dropdown {
    position: relative; /* This is the anchor */
}

.districts-mega {
    display: none; /* JS toggles this to 'block' */
    position: absolute;
    top: 100%;
    left: 0;    /* Aligns exactly to the 'S' in 'Search Places' */
    width: 550px;
    background-color: #11253e;
    padding: 25px;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(184, 140, 92, 0.3);
    border-top: 3px solid #b88c5c;
    border-radius: 0 0 10px 10px;
    z-index: 2001;
}

/* Internal Town Grid */
.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mega-column h4 {
    color: #ceb888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(184, 140, 92, 0.2);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.mega-column a {
    display: block;
    color: #f4f4f4 !important;
    padding: 5px 0 !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    transition: 0.2s;
}

.mega-column a:hover {
    color: #ceb888 !important;
    padding-left: 5px;
}
.category-badge {
    background: rgba(206, 184, 136, 0.15);
    color: #ceb888;
    border: 1px solid rgba(206, 184, 136, 0.3);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
}

.districts-mega {
    min-width: 650px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(206, 184, 136, 0.3);
}

.mega-wrapper {
    display: flex;
    height: 400px;
}

/* --- MEGA MENU LAYOUT --- */
.districts-mega {
    min-width: 650px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(206, 184, 136, 0.3); /* Gold tinted border */
    background: #11253E; /* Matches site theme */
}

.mega-wrapper {
    display: flex;
    height: 400px; /* Fixed height for consistent look */
}

/* --- SHARED THEME --- */
:root {
    --bg-dark: #0d1b2e;       /* The deep navy you chose */
    --gold: #ceb888;          /* Your signature gold */
    --text-faded: rgba(255, 255, 255, 0.5);
}

/* Apply the same background to both containers */
.district-sidebar, .town-display {
    background-color: var(--bg-dark) !important;
}

/* --- LEFT DISTRICT SIDEBAR --- */
.district-sidebar {
    width: 200px;
    border-right: 1px solid rgba(206, 184, 136, 0.2);
    padding: 10px 0;
}

.district-item {
    padding: 15px 20px;
    color: var(--text-faded);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

/* Hover state: Just a slight brighten */
.district-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* --- THE "OBVIOUS" ACTIVE STATE --- */
/* This triggers when the item is clicked */
.district-item.active-district {
    background: rgba(206, 184, 136, 0.2) !important; /* Noticeable gold tint */
    color: var(--gold) !important;                   /* Bright Gold text */
    border-left: 4px solid var(--gold) !important;   /* Thick gold bar */
}

.active-district i {
    color: var(--gold);
    opacity: 1;
}

/* --- RIGHT TOWN DISPLAY --- */
.town-display {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Ensure these classes match your JavaScript logic */
.town-group {
    display: none;
}

.town-group.active-group {
    display: block;
}

.district-hub-link {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gold);
    text-decoration: none;
}

.town-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.town-grid a {
    color: #ffffff;
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

.town-grid a:hover {
    color: var(--red);
    opacity: 1;
}
body {
    /* Adjust '80px' to the actual height of your universal-header */
    padding-top: 0px;
}

/* This ensures that when you click a link to an ID,
   it doesn't get hidden behind the header */
#mainGrid,
#advertise,
#join-form {
    scroll-margin-top: 275px; /* Header height + some extra breathing room */
}

/* Optional: Smooth scrolling for a premium feel */
html {
    scroll-behavior: smooth;
}
/* Styling for the Orange Advertise button - Standard Case */
.nav-links li a.adv-btn {
    background-color: #ff8c00; /* Deep Orange */
    color: #ffffff !important; /* Pure White text */
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600; /* Slightly bold for visibility */

    /* This ensures it follows "Advertise" instead of "ADVERTISE" */
    text-transform: none;

    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
}

.nav-links li a.adv-btn:hover {
    background-color: #e67e00; /* Darker orange on hover */
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}
.districts-mega.sticky-open {
    display: flex !important;
}

/* The container that holds the image */
.biz-card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9; /* Sets a consistent height relative to width */
    overflow: hidden;    /* Prevents image from spilling out */
    border-radius: 10px 10px 0 0; /* Matches card top corners */
}

/* The actual image */
.biz-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Magic property: crops rather than stretches */
    display: block;      /* Removes extra bottom spacing */
}
/* 1. The Card Container */
.biz-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden; /* Clips the image to the card's rounded corners */
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    margin-bottom: 20px;
}

/* 2. The Image Wrapper (Prevents Stretching) */
.biz-card-img-wrapper {
    width: 100%;
    /* Sets a consistent height-to-width ratio (16:9 is standard) */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0f0f0; /* Fallback color while loading */
}

/* 3. The Image Itself */
.biz-card-img {
    width: 100%;
    height: 100%;
    /* 'cover' scales the image to fill the box without squishing it */
    object-fit: cover;
    /* 'center' ensures the most important part of the photo stays visible */
    object-position: center;
    display: block;
}

/* 4. Content Area */
.biz-info {
    padding: 15px;
    flex-grow: 1;
}

/* 5. Mobile Responsiveness */
@media (max-width: 600px) {
    .business-grid {
        display: grid;
        grid-template-columns: 1fr; /* Single column on small screens */
        gap: 15px;
        padding: 10px;
    }

    .biz-card {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}