/* Team Directory Styles */

/* Team Hero */
.team-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(35, 45, 75, 0.05), rgba(255, 106, 0, 0.05));
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: 60px 0 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(35, 45, 75, 0.1), rgba(255, 106, 0, 0.1));
}

.team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(35, 45, 75, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.view-profile {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-profile i {
    transition: transform var(--transition-normal);
}

.team-card:hover .view-profile i {
    transform: translateX(5px);
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.team-title {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-tagline {
    font-size: 0.9375rem;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    min-height: 2.5rem;
}

.team-contact {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.team-contact a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(35, 45, 75, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
}

.team-contact a:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: scale(1.1);
    border-color: var(--accent);
}

/* Team CTA */
.team-cta {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .team-info {
        padding: 1rem;
    }
}
