/* ========================================
   WHERE WE SERVE SECTION STYLES
   ======================================== */

/* Section Background - Matching Services Section */
.areas-section-modern {
    background: linear-gradient(rgba(255,255,255,0.97), rgba(255,255,255,0.97));
    position: relative;
    overflow: hidden;
    min-height: 800px;
    padding: 80px 0;
}

.areas-overlay-modern {
    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 1440 320"><path fill="%23f8f9fa" fill-opacity="0.3" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

/* Section Badge */
.section-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeInDown 0.8s ease-out;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.section-badge-modern i {
    color: #3498db;
    font-size: 1.2rem;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section Title */
.section-title-modern {
    animation: fadeInUp 0.8s ease-out;
    color: #2c3e50 !important;
}

.text-gradient-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.section-subtitle-modern {
    animation: fadeInUp 1s ease-out;
    max-width: 700px;
    margin: 0 auto;
    color: #7f8c8d !important;
}

.text-white-90 {
    color: #7f8c8d !important;
}

/* Map Container */
.map-container-modern {
    position: relative;
    animation: fadeInUp 1.4s ease-out;
}

.map-glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.map-glass-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.world-map-modern {
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Modern Legend Card */
.map-legend-modern {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.legend-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.legend-single {
    min-width: 400px;
    padding: 25px 30px;
}

.legend-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transition: width 0.4s ease;
}

.legend-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.legend-card-modern:hover::before {
    width: 100%;
    opacity: 0.1;
}

.legend-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.legend-card-modern:hover .legend-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
}

.legend-content {
    flex: 1;
}

.legend-content h6 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.legend-content p {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

/* Location Tags */
.locations-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    animation: fadeInUp 1.6s ease-out;
}

.location-tag-modern {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.location-tag-modern i {
    color: #3498db;
}

.location-tag-modern:hover {
    background: #f8f9fa;
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.location-tag-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    font-weight: 600;
    color: white;
}

.location-tag-more:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .areas-section-modern {
        padding: 60px 0;
        min-height: auto;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .section-subtitle-modern {
        font-size: 1rem;
    }
    
    .map-glass-effect {
        padding: 15px;
        border-radius: 20px;
    }
    
    .world-map-modern {
        height: 350px;
    }
    
    .map-legend-modern {
        flex-direction: column;
        gap: 12px;
    }
    
    .legend-card-modern {
        min-width: auto;
        width: 100%;
        padding: 15px 20px;
    }
    
    .legend-single {
        min-width: auto;
        padding: 20px;
    }
    
    .location-tag-modern {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

