﻿/* Locations page styles - Elegant Black & White Theme */
.locations-banner {
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/Content/Img/RM 1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 80px;
    position: relative;
}

.locations-title {
    font-size: 3.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    padding-bottom: 15px;
}

    .locations-title:after {
        content: '';
        position: absolute;
        width: 60px;
        height: 1px;
        background-color: #fff;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

.locations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 100px;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: #222;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

    .section-heading:after {
        content: '';
        position: absolute;
        width: 50px;
        height: 2px;
        background-color: #000;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Locations Grid */
.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
}

.location-card {
    display: flex;
    gap: 50px;
    border: 1px solid #eaeaea;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .location-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    /* Alternate layout for even items */
    .location-card:nth-child(even) {
        flex-direction: row-reverse;
    }

.location-image {
    flex: 1;
    min-height: 500px;
    max-width: 50%;
    overflow: hidden;
}

    .location-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #222;
    font-weight: 400;
}

.location-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

    .location-regions span {
        background-color: #f5f5f5;
        padding: 5px 15px;
        font-size: 0.9rem;
        border-radius: 20px;
        color: #555;
    }

.location-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #666;
}

.location-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f9f9f9;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #eaeaea;
}

    .highlight i {
        color: #000;
        font-size: 1.2rem;
    }

/* Map Section */
.map-section {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 20px; 
    margin-bottom: 80px;
    text-align: center;
}


.map-tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    border-bottom: 1px solid #eaeaea;
}

.map-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    margin: 0 5px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    color: #666;
    transition: all 0.3s ease;
}

    .map-tab:after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #000;
        transition: width 0.3s ease;
    }

    .map-tab.active {
        color: #000;
        font-weight: 500;
    }

        .map-tab.active:after,
        .map-tab:hover:after {
            width: 100%;
        }

.map-container {
    border: 1px solid #eaeaea;
    position: relative;
    height: 450px;
}

.map-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .map-frame.active {
        display: block;
        opacity: 1;
    }

    .map-frame iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

/* CTA Section */
.cta-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #222;
        font-weight: 400;
        letter-spacing: 1px;
    }

    .cta-content p {
        margin-bottom: 30px;
        font-size: 1.1rem;
        color: #666;
    }

.btn-cta {
    display: inline-block;
    padding: 15px 30px;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .btn-cta:hover {
        background-color: #333;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Responsive styles */
@media (max-width: 992px) {
    .location-card,
    .location-card:nth-child(even) {
        flex-direction: column;
    }

    .location-image {
        max-width: 100%;
        min-height: 350px;
    }

    .location-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .locations-banner {
        height: 300px;
        margin-bottom: 60px;
    }

    .locations-title {
        font-size: 2.5rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .location-title {
        font-size: 1.8rem;
    }

    .location-card {
        gap: 0;
    }

    .location-image {
        min-height: 250px;
    }

    .map-tabs {
        flex-wrap: wrap;
    }

    .map-tab {
        flex: 1 0 auto;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .locations-banner {
        height: 200px;
        margin-bottom: 40px;
    }

    .locations-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .locations-grid {
        gap: 40px;
    }

    .location-image {
        min-height: 200px;
    }

    .location-title {
        font-size: 1.5rem;
    }

    .location-content {
        padding: 20px;
    }

    .highlight {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .map-container {
        height: 350px;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }
}

/* Optional scroll animations */
.location-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .location-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger the animations */
    .location-card:nth-child(2) {
        transition-delay: 0.2s;
    }

    .location-card:nth-child(3) {
        transition-delay: 0.4s;
    }
