﻿/* Locations Section Styles */
.locations-section {
    /*background: rgba(240, 249, 255, 1);*/ /* white */
    background: rgba(7, 120, 167, .8);
    color: #fff !important; /* sky-950 text - force override */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    /* Remove gradient overlays */
    .locations-section::before,
    .locations-section::after {
        display: none;
    }

.locations-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.locations-title {
    text-align: center;
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 60px;
    color: #fff !important; /* sky-950 - force override */
    text-shadow: none; /* Remove text shadow for light background */
    letter-spacing: -0.5px;
    position: relative;
}

    /*.locations-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: #38bdf8;*/ /* sky-400 */
        /*border-radius: 2px;
        box-shadow: none;
    }*/

/* Update map container for light background */
.map-container {
    /* background: rgba(8, 47, 73, 0.05); light sky-950 tint */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    /*padding: 30px;*/
    margin-bottom: 20px;
    /*border: 1px solid rgba(8, 47, 73, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);*/
    position: relative;
    overflow: hidden;
}

.interactive-map {
    width: 100%;
    height: 350px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .interactive-map iframe {
        width: 100%;
        height: 100%;
        border: none;
        /*filter: grayscale(100%) contrast(1.2);*/
        transition: filter 0.3s ease;
    }

    

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.location-card {
    background: #082f49;/* rgba(8, 47, 73, 0.05) !important; light sky-950 tint */
    backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 30px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(8, 47, 73, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

    .location-card:hover {
        transform: translateY(-8px);
        background: #082f49; /* rgba(8, 47, 73, 0.08) !important;*/
        border-color: rgba(8, 47, 73, 0.15) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

        .location-card:hover::before {
            opacity: 1;
        }

.location-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f8f9fa !important; /* sky-950 - force override */
    text-align: center;
    text-shadow: none;
    letter-spacing: 0.3px;
    position: relative;
}

    /*.location-name::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: #38bdf8;*/ /* sky-400 */
        /*border-radius: 1px;
    }*/


.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-group {
    position: relative;
}

.info-label {
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important; /* sky-950 - force override */
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .info-label i {
        font-size: 1.1rem;
        opacity: 0.8;
        color: #38bdf8; /* sky-400 for icons */
    }

.info-text {
    font-size: 1.1rem;
    color: #fff !important; /* sky-950 - force override */
    line-height: 1.5;
    text-shadow: none;
    padding-left: 24px;
}

.phone-link {
    color: #fff !important; /* sky-950 - force override */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

    .phone-link:hover {
        color: #38bdf8 !important; /* sky-400 on hover */
        text-shadow: none;
        transform: translateX(2px);
    }

    .phone-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1px;
        background: #38bdf8; /* sky-400 */
        transition: width 0.3s ease;
    }

    .phone-link:hover::after {
        width: 100%;
    }

/* Responsive Design */
@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }

    .locations-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 968px) {
    .locations-section {
        padding: 80px 0;
    }

    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .locations-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .map-container {
        padding: 20px;
        margin-bottom: 40px;
    }

    .interactive-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .locations-section {
        padding: 60px 0;
    }

    .locations-container {
        padding: 0 15px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .locations-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .location-card {
        padding: 25px 20px;
    }

    .location-name {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .map-container {
        padding: 20px 15px;
        margin-bottom: 40px;
    }

    .interactive-map {
        height: 300px;
    }

    .map-tabs {
        gap: 6px;
        margin-bottom: 15px;
    }

    .map-tab {
        padding: 8px 14px;
        font-size: 0.85rem;
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    /* Two-row layout for mobile */
    .map-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .locations-section {
        padding: 50px 0;
    }

    .locations-title {
        font-size: 1.9rem;
    }

    .location-card {
        padding: 20px 15px;
    }

    .location-name {
        font-size: 1.4rem;
    }

    .info-text {
        font-size: 1rem;
        padding-left: 20px;
    }

    .map-container {
        padding: 15px;
    }

    .interactive-map {
        height: 250px;
    }
}

/* Animation keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-card {
    animation: slideInUp 0.6s ease-out forwards;
}

    .location-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .location-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .location-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .location-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .location-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .location-card:nth-child(6) {
        animation-delay: 0.6s;
    }
