/* ===========================
   LOCATION SECTION
   =========================== */

.location-section {
    background: rgb(5, 82, 136);
    height: 100%;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.location-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100%;
}

/* Left Column: Gradient Text Area */
.location-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3rem;
    padding-right: 3rem;
    color: white;
    z-index: 2;
    flex: 0 0 auto;
    width: 30%;
    max-width: 500px;
    position: relative;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.location-content-wrapper {
    margin-bottom: 2rem;
}

.location-content-wrapper h2 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
    color: var(--blessed-light);
    font-size: 2.5rem;
    display: none;
}

/* Title Image Styling */
.location-title-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.location-title-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 80vh;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

/* Right Column: Map Area */
.location-map-col {
    position: relative;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.location-map-wrapper {
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.location-base-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .location-container {
        flex-direction: column;
    }

    .location-text-col {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 30vh;
    }

    .location-title-img img {
        max-height: 50vh;
    }

    .location-map-col {
        height: 50vh;
        /* Remaining height */
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .location-content-wrapper h2 {
        font-size: 1.8rem;
    }
}

.location-map-inner img.loaded {
    opacity: 1;
}