.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

/* Ambient light pool behind each section */
.section::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 130%;
    background: radial-gradient(ellipse, rgba(27, 77, 62, 0.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.3),
        transparent
    );
}

.section:first-of-type::before {
    display: none;
}

.section + .section {
    border-top: none;
}

/* Hero */
.hero-banner-custom {
    min-height: 28em;
    width: 100%;

    /* Background - case-sensitive path fixed for deployment */
    background-image: url("/images/GCC-Banner.webp");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;

    /* Layout */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    /* Spacing */
    margin-bottom: 0.5rem;
}

/* Protect banner from dark mode extensions */
.hero-banner-custom {
    /* Isolate stacking context to prevent external manipulation */
    isolation: isolate;
    /* Prevent DarkReader and similar extensions from inverting */
    filter: none !important;
}

/* Ensure the banner element itself is exempt from dark mode filters */
.hero-banner-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Additional protection layer */
    background-color: transparent;
}

@media (max-width: 768px) {
    .hero-banner-custom {
        min-height: 35vh;
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

    .section {
        padding: var(--spacing-md) 0;
    }

    .section:first-of-type {
        padding-top: 0.25rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Footer */
footer {
    background: linear-gradient(
        180deg,
        rgba(27, 77, 62, 0.1) 0%,
        rgba(15, 15, 15, 0.5) 100%
    );
    color: var(--color-light);
    padding: var(--spacing-xl);
    text-align: center;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    margin-top: var(--spacing-xxl);
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-accent),
        transparent
    );
}

footer p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.9rem;
}

/* Location Section */
.location-map {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.location-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(212, 175, 55, 0.15);
    pointer-events: none;
}

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

.location-address {
    position: absolute;
    /* Anchor from bottom - pin is ~12% from bottom, so stay above it */
    bottom: 18%;
    left: 3%;
    z-index: 2;
    max-width: 45%;
    background: rgba(10, 16, 12, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-md);
    /* Scale padding with container width */
    padding: clamp(0.35rem, 1.2vw, 0.75rem) clamp(0.5rem, 1.8vw, 1rem);
}

.location-address p {
    /* Scale font with container - min 0.5rem, max 0.95rem */
    font-size: clamp(0.5rem, 1.6vw, 0.95rem);
    line-height: 1.4;
    margin-bottom: 0;
    color: rgba(245, 245, 245, 0.95);
}

.location-address p + p {
    margin-top: clamp(0.2rem, 0.8vw, 0.5rem);
}
