/* Team Page Styles */

/* Team Page Section */
.team-page {
    width: 100%;
    background-color: #F8F8F8;
    padding: 120px 0 100px;
    margin-top: var(--header-height);
}

.team-page-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Page Title */
.team-page-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 50px 0;
    letter-spacing: -0.5px;
}

/* Team Tabs */
.team-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    border-bottom: 1px solid #D0D0D0;
}

.team-tab {
    padding: 15px 30px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -1px;
}

.team-tab:hover {
    color: var(--primary-color);
}

.team-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Filter Controls */
.team-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.filter-group {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #D0D0D0;
    background-color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.3s ease;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Search Filter */
.search-group {
    display: flex;
    align-items: center;
    gap: 0;
}

.filter-search {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #D0D0D0;
    border-right: none;
    background-color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
}

.filter-search:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-search::placeholder {
    color: #999;
}

.search-filter-btn {
    padding: 15px 20px;
    border: 1px solid #D0D0D0;
    border-left: none;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-filter-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.search-filter-btn:hover i {
    color: #FFFFFF;
}

.search-filter-btn i {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

/* Team Members Grid */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member-card {
    background-color: #FFFFFF;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-member-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.member-photo {
    width: 410px;
    height: 410px;
    overflow: hidden;
    background-color: #E8E8E8;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
}

.member-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.member-title {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.member-location {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-page-container {
        padding: 0;
    }
    
    .team-page-title {
        font-size: 36px;
    }
    
    .member-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .team-page {
        padding: 100px 0 60px;
    }
    
    .team-page-container {
        padding: 0;
    }
    
    .team-page-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    .team-tabs {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .team-tab {
        font-size: 11px;
        padding: 12px 20px;
    }
    
    .team-filters {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .member-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .team-page {
        padding: 80px 0 40px;
    }
    
    .team-page-container {
        padding: 0;
    }
    
    .team-page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .team-tab {
        font-size: 10px;
        padding: 10px 15px;
    }
    
    .member-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .member-name {
        font-size: 16px;
    }
    
    .member-title {
        font-size: 13px;
    }
}

