/* Google Maps Integration Styles */
.location-section {
    margin-bottom: 30px;
    text-align: center;
}

.location-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.map-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    transform: translateY(-2px);
}

.map-embed {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

.location-info {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin: 15px auto;
    max-width: 600px;
    border: 1px solid var(--border-color);
}

.location-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9em;
    line-height: 1.5;
}

.location-info .location-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Location contact item styling */
.location-item {
    transition: all 0.3s ease;
    position: relative;
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.location-item:active {
    transform: translateY(-1px);
}

/* Dark mode adjustments */
body.dark-mode .map-container {
    border-color: var(--border-color);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

body.dark-mode .map-container:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 10px 10px -5px rgb(0 0 0 / 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .map-embed {
        height: 200px;
    }
    
    .location-info {
        margin: 15px 10px;
        padding: 12px;
    }
    
    .location-section h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .map-embed {
        height: 180px;
    }
    
    .location-info {
        font-size: 0.85em;
    }
}

/* Loading state */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: var(--bg-light);
    color: var(--text-light);
    font-style: italic;
}

.map-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced contact grid spacing */
.contact-section-with-map .contact-grid {
    margin-top: 20px;
}
