/* Modern Team Section Styles */

/* Team Section */
.team-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.team-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/01_pattern.png') repeat;
    opacity: 0.03;
    z-index: 1;
}

.team-modern .container {
    position: relative;
    z-index: 2;
}

/* Section Title */
.team-modern .sec-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #262B3E;
    margin-bottom: 1rem;
    position: relative;
}

.team-modern .sec-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #C89D66, #B8860B);
    border-radius: 2px;
}

.team-modern .sec-title h3 {
    font-size: 1.25rem;
    color: #C89D66;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-modern .sec-title p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Team Stats */
.team-stats {
    background: rgba(200, 157, 102, 0.1);
    border-radius: 15px;
    padding: 2rem 1rem;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C89D66;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #262B3E;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Cards */
.team-card-modern {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.team-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.team-card-modern:hover .card-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 157, 102, 0.8), rgba(184, 134, 11, 0.8));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-modern:hover .image-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #ffffff;
    color: #C89D66;
    transform: scale(1.1);
}

/* Card Content */
.card-content {
    padding: 2rem;
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #262B3E;
    margin-bottom: 0.5rem;
}

.member-position {
    display: inline-block;
    background: linear-gradient(135deg, #C89D66, #B8860B);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.specialty-tag {
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.member-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.member-achievements {
    display: flex;
    justify-content: center;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(200, 157, 102, 0.1), rgba(184, 134, 11, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #C89D66;
    font-size: 0.9rem;
    font-weight: 600;
}

.achievement i {
    font-size: 1rem;
}

/* Call to Action */
.team-cta {
    background: linear-gradient(135deg, #262B3E, #1a1f2e);
    padding: 3rem 2rem;
    border-radius: 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.team-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 157, 102, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.team-cta h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.team-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.team-cta .btn {
    position: relative;
    z-index: 2;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #C89D66, #B8860B);
    border: none;
    transition: all 0.3s ease;
}

.team-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 157, 102, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-modern .sec-title h2 {
        font-size: 2rem;
    }
    
    .team-modern .sec-title h3 {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .team-stats {
        padding: 1.5rem 0.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .team-cta {
        padding: 2rem 1rem;
    }
    
    .team-cta h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .team-stats .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .member-specialties {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Animation for cards on scroll */
.team-card-modern {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.team-card-modern:nth-child(1) { animation-delay: 0.1s; }
.team-card-modern:nth-child(2) { animation-delay: 0.2s; }
.team-card-modern:nth-child(3) { animation-delay: 0.3s; }
.team-card-modern:nth-child(4) { animation-delay: 0.4s; }
.team-card-modern:nth-child(5) { animation-delay: 0.5s; }
.team-card-modern:nth-child(6) { animation-delay: 0.6s; }

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

/* Stats animation */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.stat-item:nth-child(4) { animation-delay: 0.8s; }
