/* ===== DESIGN SYSTEM ===== */
        :root {
            /* Colors - Heritage Palette */
            --forest-green: #184c3a;
            --forest-green-dark: #0f3527;
            --heritage-blue: #0e4a7a;
            --heritage-blue-dark: #083557;
            --warm-cream: #f5f1e8;
            --warm-tan: #d4c5a9;
            --warm-tan-dark: #b8a888;
            --charcoal: #2c2c2c;
            --soft-white: #fafaf8;

            /* Typography */
            --font-serif: 'Playfair Display', Georgia, serif;
            --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

            /* Spacing */
            --section-padding: 5rem 0;
            --section-padding-sm: 3rem 0;
        }

        /* ===== GLOBAL STYLES ===== */
        * {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            font-weight: 300;
            color: var(--charcoal);
            background: var(--soft-white);
            line-height: 1.7;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-serif);
            font-weight: 600;
            line-height: 1.3;
            color: var(--forest-green-dark);
        }

        h1 { font-size: 3rem; }
        h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
        h3 { font-size: 1.75rem; }
        h4 { font-size: 1.5rem; }

        @media (max-width: 768px) {
            h1 { font-size: 2rem; }
            h2 { font-size: 1.75rem; }
            h3 { font-size: 1.5rem; }
            :root {
                --section-padding: 3rem 0;
                --section-padding-sm: 2rem 0;
            }
        }

        a {
            color: var(--heritage-blue);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        a:hover {
            color: var(--heritage-blue-dark);
        }

        p a:not(.btn),
        li a:not(.btn),
        .contact-info a:not(.btn),
        .lodging-card-body a:not(.btn) {
            text-decoration: underline;
            text-underline-offset: 0.15em;
            text-decoration-thickness: 1.5px;
        }

        .navbar a,
        .navbar li a:not(.btn) {
            text-decoration: none;
        }

        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        textarea:focus-visible,
        select:focus-visible,
        [tabindex]:focus-visible {
            outline: 3px solid #f3c969 !important;
            outline-offset: 3px;
            box-shadow: 0 0 0 4px rgba(14, 74, 122, 0.25) !important;
        }

        /* Skip Link for Accessibility */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--heritage-blue);
            color: white;
            padding: 8px;
            z-index: 100;
        }

        .skip-link:focus {
            top: 0;
        }

        /* ===== NAVIGATION ===== */
        .navbar {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            min-width: 0;
            font-family: var(--font-serif);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--forest-green-dark) !important;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 520px;
        }

        .navbar-brand img {
            flex: 0 0 auto;
            height: 40px;
            margin-right: 0.75rem;
        }

        .navbar-brand span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .brand-short { display: none; }

        .navbar-nav {
            align-items: center;
            gap: 0.1rem;
        }

        @media (max-width: 1399.98px) {
            .brand-full { display: none; }
            .brand-short { display: inline; }
        }

        @media (max-width: 1199.98px) {
            .navbar {
                padding: 0.7rem 0;
            }

            .navbar-brand {
                max-width: calc(100% - 72px);
            }

            .brand-full { display: none; }
            .brand-short { display: inline; }

            .navbar-collapse {
                margin-top: 0.6rem;
                padding: 0.35rem 0 0.2rem;
                border-top: 1px solid rgba(24, 76, 58, 0.14);
            }

            .navbar-nav {
                align-items: stretch;
                gap: 0;
            }

            .navbar-collapse .nav-link {
                padding: 0.45rem 0.25rem !important;
                line-height: 1.25;
            }

            .navbar-collapse .nav-link::after {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .navbar-brand {
                font-size: 1.2rem;
            }
            .navbar-brand img {
                height: 32px;
                margin-right: 0.5rem;
            }
        }

        .nav-link {
            color: var(--charcoal) !important;
            font-weight: 400;
            padding: 0.45rem 0.55rem !important;
            font-size: 0.95rem;
            line-height: 1.2;
            white-space: nowrap;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--heritage-blue);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 70%;
        }

        .nav-link.active {
            color: var(--heritage-blue) !important;
        }

        /* ===== HERO ===== */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 600px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.7);
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.62);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            max-width: 900px;
            padding: 2rem;
        }

        .hero-content h1 {
            font-size: 4rem;
            font-weight: 700;
            color: white;
            text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
            margin-bottom: 1.5rem;
        }

        .hero-quote {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            font-style: italic;
            line-height: 1.6;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-quote::before {
            content: '"';
            font-size: 3rem;
            line-height: 0;
            vertical-align: -0.4em;
        }

        .hero-quote::after {
            content: '"';
            font-size: 3rem;
            line-height: 0;
            vertical-align: -0.4em;
        }

        .btn-hero {
            background: var(--heritage-blue);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 400;
            border-radius: 0;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-hero:hover {
            background: var(--heritage-blue-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        }

        /* ===== SECTIONS ===== */
        section {
            padding: var(--section-padding);
        }

        .section-alt {
            background: var(--warm-cream);
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--warm-tan-dark);
        }

        .section-lead {
            font-size: 1.2rem;
            color: #555;
            max-width: 800px;
            margin: 0 auto 3rem;
            text-align: center;
        }

        /* ===== MARY SECTION ===== */
        .timeline {
            border-left: 3px solid var(--warm-tan-dark);
            padding-left: 2rem;
            margin: 2rem 0;
        }

        .timeline-item {
            margin-bottom: 2rem;
            position: relative;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2.5rem;
            top: 0.3rem;
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            background: var(--heritage-blue);
            border: 3px solid var(--warm-cream);
        }

        .timeline-year {
            font-weight: 700;
            color: var(--heritage-blue);
            font-size: 1.1rem;
        }

        /* ===== LODGING CARDS ===== */
        .lodging-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 2rem;
        }

        .lodging-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }

        .lodging-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .lodging-card-body {
            padding: 1.5rem;
        }

        .lodging-card h4 {
            color: var(--forest-green-dark);
            margin-bottom: 1rem;
        }

        /* ===== IMAGE PLACEHOLDER ===== */
        .lodging-img-placeholder {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--warm-cream) 0%, var(--warm-tan) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--warm-tan-dark);
            gap: 0.5rem;
        }

        .lodging-img-placeholder i {
            font-size: 2.5rem;
            opacity: 0.6;
        }

        .lodging-img-placeholder span {
            font-size: 0.85rem;
            font-style: italic;
            opacity: 0.7;
        }

        /* ===== VENUE SECTION ===== */
        .venue-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .venue-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }

        .venue-card-body {
            padding: 2rem;
        }

        .venue-card h4 {
            color: var(--forest-green-dark);
            margin-bottom: 1rem;
        }

        .venue-features {
            list-style: none;
            padding: 0;
            margin: 1rem 0;
        }

        .venue-features li {
            padding: 0.4rem 0;
            border-bottom: 1px solid #f0ece3;
        }

        .venue-features li i {
            color: var(--heritage-blue);
            margin-right: 0.5rem;
        }

        /* ===== EXPERIENCE GRID ===== */
        .experience-item {
            text-align: center;
            padding: 2rem 1rem;
            transition: transform 0.3s ease;
        }

        .experience-item:hover {
            transform: translateY(-5px);
        }

        .experience-icon {
            font-size: 3rem;
            color: var(--heritage-blue);
            margin-bottom: 1rem;
        }

        .experience-item h4 {
            font-size: 1.3rem;
            margin-bottom: 0.75rem;
        }

        /* ===== GALLERY ===== */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            cursor: pointer;
            aspect-ratio: 4/3;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0);
            transition: background 0.3s ease;
        }

        .gallery-item:hover::after {
            background: rgba(0,0,0,0.2);
        }

        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 40px;
            font-size: 3rem;
            color: white;
            cursor: pointer;
            background: none;
            border: none;
            transition: opacity 0.3s ease;
        }

        .lightbox-close:hover {
            opacity: 0.7;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 3rem;
            color: white;
            cursor: pointer;
            background: rgba(0,0,0,0.3);
            border: none;
            padding: 1rem 1.5rem;
            transition: background 0.3s ease;
        }

        .lightbox-nav:hover {
            background: rgba(0,0,0,0.6);
        }

        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }

        /* ===== QUOTES ===== */
        .quote-card {
            background: white;
            padding: 2.5rem;
            border-left: 4px solid var(--heritage-blue);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 2rem;
        }

        .quote-text {
            font-family: var(--font-serif);
            font-size: 1.3rem;
            font-style: italic;
            line-height: 1.7;
            color: var(--charcoal);
            margin-bottom: 1rem;
        }

        .quote-attribution {
            text-align: right;
            font-size: 1rem;
            color: #666;
            font-weight: 400;
        }

        /* ===== CONTACT SECTION ===== */
        .contact-info {
            background: var(--forest-green-dark);
            color: white;
            padding: 2rem;
            border-radius: 8px;
            height: 100%;
        }

        .contact-info h3,
        .contact-info h4 {
            color: white;
            margin-bottom: 1.5rem;
        }

        .contact-info h4 {
            margin-top: 1rem;
            margin-bottom: 1rem;
        }

        .contact-info p {
            margin-bottom: 0.75rem;
        }

        .contact-info i {
            margin-right: 0.5rem;
            color: var(--warm-tan);
        }

        .contact-form {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .form-control {
            border-radius: 0;
            border: 1px solid #ddd;
            padding: 0.75rem;
        }

        .form-control:focus {
            border-color: var(--heritage-blue);
            box-shadow: 0 0 0 0.2rem rgba(14,74,122,0.15);
        }

        .btn-primary {
            background: var(--heritage-blue);
            border: none;
            border-radius: 0;
            padding: 0.75rem 2rem;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-primary:hover {
            background: var(--heritage-blue-dark);
        }

        .btn-donate {
            background: var(--forest-green);
            color: #ffffff;
            border: none;
            border-radius: 0;
            padding: 1rem 2rem;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 1rem;
        }

        .btn-donate:hover {
            background: var(--forest-green-dark);
            color: #ffffff;
        }

        /* ===== MAP ===== */
        .map-placeholder {
            background: var(--warm-cream);
            border: 2px dashed var(--warm-tan-dark);
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            margin: 2rem 0;
        }

        .map-placeholder p {
            color: #666;
            font-style: italic;
        }

        /* ===== FOOTER ===== */
        footer {
            background: var(--charcoal);
            color: white;
            padding: 3rem 0 1.5rem;
        }

        footer h5 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }

        footer p {
            font-size: 0.95rem;
            line-height: 1.8;
        }

        footer a {
            color: var(--warm-tan);
        }

        footer a:hover {
            color: white;
        }

        .social-links a {
            font-size: 1.5rem;
            margin-right: 1rem;
            transition: transform 0.3s ease;
            display: inline-block;
        }

        .social-links a:hover {
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 2rem;
            padding-top: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
            color: #999;
        }

        /* ===== PRINT STYLES ===== */
        @media print {
            .navbar, .btn, footer, .lightbox {
                display: none !important;
            }

            section {
                page-break-inside: avoid;
            }

            body {
                background: white;
            }
        }

        /* ===== INTERACTIVE PROPERTY MAP ===== */
        .property-map-wrapper {
            position: relative;
        }

        .property-map-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }

        .property-map-img {
            width: 100%;
            height: auto;
            display: block;
        }

        .map-hotspot {
            position: absolute;
            width: 36px;
            height: 36px;
            transform: translate(-50%, -50%);
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 10;
        }

        .hotspot-dot {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
            background: var(--forest-green);
            border: 3px solid white;
            border-radius: 50%;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .map-hotspot:hover .hotspot-dot,
        .map-hotspot.active .hotspot-dot {
            transform: translate(-50%, -50%) scale(1.3);
            background: var(--heritage-blue);
        }

        .hotspot-ping {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 36px;
            height: 36px;
            background: rgba(24, 76, 58, 0.25);
            border-radius: 50%;
            animation: hotspot-pulse 2.5s ease-out infinite;
        }

        @keyframes hotspot-pulse {
            0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
            100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
        }

        .map-hotspot-minor .hotspot-dot {
            width: 12px;
            height: 12px;
            background: var(--warm-tan-dark);
            border-width: 2px;
        }

        .map-hotspot-minor .hotspot-ping {
            width: 28px;
            height: 28px;
            background: rgba(212, 197, 169, 0.25);
        }

        .map-info-panel {
            display: none;
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            max-width: 400px;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            z-index: 20;
            animation: slideUp 0.3s ease;
        }

        .map-info-panel.visible {
            display: block;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .map-info-close {
            position: absolute;
            top: 8px;
            right: 12px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #999;
            line-height: 1;
        }

        .map-info-close:hover {
            color: var(--charcoal);
        }

        .map-info-panel h4 {
            margin-bottom: 0.25rem;
            color: var(--forest-green-dark);
        }

        .map-info-address {
            font-size: 0.85rem;
            color: #888;
            margin-bottom: 0.75rem;
        }

        .map-info-panel p {
            font-size: 0.95rem;
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            .map-hotspot {
                width: 28px;
                height: 28px;
            }
            .hotspot-dot {
                width: 12px;
                height: 12px;
                border-width: 2px;
            }
            .hotspot-ping {
                width: 28px;
                height: 28px;
            }
            .map-info-panel {
                position: relative;
                bottom: auto;
                left: auto;
                right: auto;
                max-width: 100%;
                margin-top: 1rem;
                border-radius: 8px;
            }
        }


/* ===== MULTI-PAGE HELPERS ===== */
body {
    padding-top: 76px;
}

body.home-page {
    padding-top: 0;
}

.page-hero {
    padding: 7rem 0 4rem;
    background:
        linear-gradient(rgba(15, 53, 39, 0.82), rgba(15, 53, 39, 0.82)),
        url('../images/hero/BigHouse.jpg') center/cover no-repeat;
    color: white;
}

.page-hero h1,
.page-hero p {
    color: white;
}

.page-hero .lead {
    max-width: 760px;
    font-size: 1.25rem;
}

.home-gateway .gateway-card {
    height: 100%;
    background: white;
    border: 1px solid rgba(24, 76, 58, 0.14);
    border-top: 4px solid var(--forest-green);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.home-gateway .gateway-card h3 {
    margin-bottom: 0.75rem;
}

.home-gateway .gateway-card .btn {
    margin-top: 0.75rem;
}

.nav-link.active-page {
    color: var(--heritage-blue) !important;
    font-weight: 700;
}

.nav-link.active-page::after {
    width: 70%;
}

@media (max-width: 991px) {
    body {
        padding-top: 68px;
    }

    body.home-page {
        padding-top: 0;
    }

    .page-hero {
        padding: 5rem 0 3rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 16vw, 3.35rem);
        line-height: 1.08;
        overflow-wrap: normal;
    }

    .hero-quote {
        font-size: 1.25rem;
    }

    #events > .container > .section-header {
        display: none;
    }
}
