/* Map Section Styles */
.map-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.map-container {
    margin-top: 60px;
}

/* Responsive Map Wrapper */
.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    margin-bottom: 60px;
    background: #fff;
}

.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    transition: all 0.3s ease;
}

/* Map Overlay Card */
.map-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.map-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 320px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.map-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.map-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
}

.map-info-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.map-info-content p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.map-info-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-info-actions .btn {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

/* Map Details Grid */
.map-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.map-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.map-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.map-detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.map-detail-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.map-detail-content p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-section {
        padding: 80px 0;
    }
    
    .map-wrapper iframe {
        height: 400px;
    }
    
    .map-overlay {
        position: static;
        margin-top: 20px;
    }
    
    .map-info-card {
        max-width: 100%;
        margin: 20px;
    }
    
    .map-details {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .map-detail-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .map-wrapper iframe {
        height: 300px;
    }
    
    .map-info-card {
        padding: 20px;
        margin: 15px;
    }
    
    .map-info-actions {
        flex-direction: column;
    }
    
    .map-info-actions .btn {
        justify-content: center;
    }
}

/* Loading Animation for Map */
.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: mapLoading 2s linear infinite;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

@keyframes mapLoading {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}
