/* 
* Proyecto Inmobiliaria Riquelme - Condominio Doña Teresa
* Estilos para la sección de ubicación - ACTUALIZADO con iconos negros
*/

.location-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    transform: translate(100px, -100px);
    z-index: 0;
}

.location-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    transform: translate(-100px, 100px);
    z-index: 0;
}

.location-info {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h3 {
    color: var(--color-dark-gray);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.location-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
}

.location-info p {
    color: var(--color-medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.location-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.location-features li {
    margin-bottom: 1.2rem;
    color: var(--color-medium-gray);
    display: flex;
    align-items: center;
}

.location-features li i {
    color: var(--color-black);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    padding: 1.2rem;
}

.location-map-container {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 1;
}

.location-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--color-blue-rgb), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.location-map-container.loading .location-map-overlay {
    opacity: 1;
}

.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-black);
}

.map-loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.location-map {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 0;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .location-info {
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .location-map-container {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .location-map-container {
        height: 350px;
    }
    
    .location-info h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .location-map-container {
        height: 300px;
    }
}