/* Service Area Coverage Map Styles */

.service-area {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.service-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.area-content {
    position: relative;
    z-index: 1;
}

.coverage-map {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.1);
    margin-bottom: 40px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.map-container {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 15px;
    padding: 30px;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="2" fill="%2310b981" opacity="0.6"/><circle cx="60" cy="20" r="1.5" fill="%2310b981" opacity="0.4"/><circle cx="80" cy="60" r="1" fill="%2310b981" opacity="0.3"/><circle cx="30" cy="70" r="1.5" fill="%2310b981" opacity="0.5"/></svg>');
    animation: mapFloat 20s ease-in-out infinite;
}

@keyframes mapFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.coverage-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 100%;
}

.zone {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.zone:hover::before {
    transform: translateX(100%);
}

.zone:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.primary-zone {
    border-left: 4px solid #10b981;
}

.secondary-zone {
    border-left: 4px solid #fbbf24;
}

.zone-marker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: white;
}

.zone-marker i {
    font-size: 20px;
    color: #10b981;
}

.zone-marker span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zone-details h4 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.zone-details p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 14px;
}

.coverage-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-tag {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.stat-info p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Enhanced Contact Links */
.contact-link {
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: #10b981;
    text-decoration: underline;
}

.btn-email {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-area {
        padding: 60px 0;
    }
    
    .coverage-map {
        padding: 20px;
    }
    
    .coverage-zones {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zone {
        padding: 20px;
    }
    
    .zone-details h4 {
        font-size: 20px;
    }
    
    .service-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
}