﻿/* 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 2.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;
}

/* Country Sections */
.country-section {
    margin-bottom: 80px;
}

.country-heading {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

    .country-heading h2 {
        font-size: 2.2rem;
        letter-spacing: 2px;
        display: inline-block;
        background-color: #fff;
        padding: 0 30px;
        position: relative;
        z-index: 1;
        color: #000;
        font-weight: 400;
    }

.heading-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 0;
}

/* Region Containers */
.region-container {
    margin-bottom: 50px;
    border: 1px solid #eaeaea;
    background-color: #fafafa;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.region-name {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #222;
    letter-spacing: 1px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.region-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Service Categories */
.service-category {
    margin-bottom: 30px;
}

    .service-category h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        font-weight: 500;
        color: #000;
        background-color: #f5f5f5;
        padding: 10px 15px;
        border-left: 3px solid #000;
    }

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .service-list li {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px dotted #eaeaea;
        transition: all 0.3s ease;
    }

        .service-list li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .service-list li:hover {
            background-color: #f9f9f9;
            padding-left: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

    .service-name:after {
        content: '';
        position: absolute;
        width: 30px;
        height: 2px;
        background-color: #333;
        bottom: -1px;
        left: 0;
        transition: width 0.3s ease;
    }

.service-list li:hover .service-name:after {
    width: 60px;
}

/* Estilos para descripciones de servicios */
.service-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    padding: 5px 0;
}

    .service-description p {
        margin: 0;
    }

/* Contact CTA Section */
.contact-cta {
    text-align: center;
    padding: 60px;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

    .contact-cta h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        font-weight: 400;
        color: #222;
        letter-spacing: 1px;
    }

    .contact-cta p {
        max-width: 600px;
        margin: 0 auto 30px;
        color: #555;
        line-height: 1.6;
    }

.btn-contact {
    display: inline-block;
    padding: 15px 30px;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 3px;
}

    .btn-contact:hover {
        background-color: #333;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Responsive styles */
@media (max-width: 992px) {
    .region-services {
        grid-template-columns: 1fr;
    }

    .region-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .locations-banner {
        height: 300px;
        margin-bottom: 60px;
    }

    .locations-title {
        font-size: 2.5rem;
    }

    .country-heading h2 {
        font-size: 1.8rem;
    }

    .region-name {
        font-size: 1.5rem;
    }

    .map-tabs {
        flex-wrap: wrap;
    }

    .map-tab {
        flex: 1 0 auto;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .contact-cta {
        padding: 40px 20px;
    }

        .contact-cta h2 {
            font-size: 1.5rem;
        }

    .service-list li:hover {
        padding-left: 5px;
    }
}

@media (max-width: 576px) {
    .locations-banner {
        height: 200px;
        margin-bottom: 40px;
    }

    .locations-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .region-container {
        padding: 20px;
    }

    .service-category h4 {
        font-size: 1.1rem;
    }

    .map-container {
        height: 350px;
    }

    .service-description {
        font-size: 0.9rem;
    }
}
@media (max-width: 576px) {
    .locations-title {
        font-size: 2rem; /* Ya lo tienes */
        text-align: center; /* Forzar centrado del texto */
        margin: 0 auto; /* Asegura que no haya desplazamiento */
        width: 100%; /* Si necesitas que ocupe el ancho completo */
    }
}
