/* Team Section Styles */

.team-section {
    position: relative;
    min-height: 100vh;
    padding: var(--section-spacing) 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Europe Map as Background */
.europe-map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/3d/europe-map.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: var(--z-background);
    filter: blur(2px);
}

.team-section .container {
    position: relative;
    z-index: var(--z-glass-ui);
}

.team-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.team-section .section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.team-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Value Cards Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.value-card {
    position: relative;
    padding: var(--spacing-2xl);
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all var(--duration-medium) var(--ease-float);
}

/* Background icon for each card */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    filter: blur(2px);
    transition: all var(--duration-medium) var(--ease-float);
    z-index: 0;
}

/* Individual card backgrounds */
.value-card[data-icon="technical-excellence"]::before {
    background-image: url('/assets/tech/Technical Excellence.png');
}

.value-card[data-icon="radical-innovation"]::before {
    background-image: url('/assets/tech/Radical Innovation.png');
}

.value-card[data-icon="unique-experience"]::before {
    background-image: url('/assets/tech/Unique Experience.png');
}

.value-card[data-icon="european-scale"]::before {
    background-image: url('/assets/tech/European Scale.png');
}

.value-card[data-icon="agile-methodology"]::before {
    background-image: url('/assets/tech/Agile Methodology.png');
}

.value-card[data-icon="future-focused"]::before {
    background-image: url('/assets/tech/Future-Focused.png');
}

/* Hover animations */
.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(51, 153, 255, 0.3);
}

.value-card:hover::before {
    opacity: 0.25;
    filter: blur(1px);
    transform: scale(1.1);
}

.value-card h3 {
    position: relative;
    z-index: 1;
    font-size: var(--text-lg);
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .europe-map-background {
        background-size: cover;
    }

    .value-card {
        min-height: 160px;
    }
}

@media (max-width: 768px) {
    .team-section .section-title {
        font-size: var(--text-3xl);
    }

    .team-subtitle {
        font-size: var(--text-lg);
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .value-card {
        padding: var(--spacing-xl);
        min-height: 140px;
    }

    .value-card h3 {
        font-size: var(--text-base);
    }

    .europe-map-background {
        opacity: 0.2;
        filter: blur(3px);
    }
}
