/* team.css - TransMind Team Page Styles */

body.team-page {
    background: var(--bg-secondary); /* Uyum için bg-primary -> bg-secondary */
}

.team-hero-section {
    min-height: 420px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--neutral-color) 100%); /* landing ile uyumlu degrade */
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.team-tubitak-badge {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-white);
    font-family: var(--font-family-heading);
    font-size: 1.08rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: inline-block;
}

.team-hero-divider {
    width: 60px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.team-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-white);
    font-family: var(--font-family-heading);
    text-shadow: 0 2px 16px rgba(0,0,0,0.10);
    margin-bottom: 1.2rem;
}

.team-desc {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-white);
}

.team-hero-icon {
    font-size: 7rem;
    color: var(--white);
    opacity: 0.85;
    background: rgba(0,0,0,0.08);
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.team-hero-bg-pattern {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background: url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 100 100\'><defs><pattern id=\'grid\' width=\'10\' height=\'10\' patternUnits=\'userSpaceOnUse\'><path d=\'M 10 0 L 0 0 0 10\' fill=\'none\' stroke=\'%23ffffff15\' stroke-width=\'0.5\'/></pattern></defs><rect width=\'100\' height=\'100\' fill=\'url(%23grid)\'/></svg>');
    z-index: 1;
    pointer-events: none;
}

.team-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background: var(--bg-primary);
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s, border 0.2s;
    border: 2px solid var(--border-light);
}
.team-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem auto;
    color: var(--white);
    box-shadow: var(--shadow-sm);
    background: var(--primary-color);
}
.team-avatar-lg {
    width: 120px;
    height: 120px;
    font-size: 3.5rem;
}

.team-role {
    font-weight: 600;
    font-size: 1.1rem;
}

.team-feature-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 6px solid var(--primary-color);
    transition: border-color 0.2s;
}
.team-feature-card:hover {
    border-color: var(--accent-color);
}

.team-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
}
.icon-detection { color: var(--info-color); }
.icon-optimization { color: var(--primary-color); }
.icon-analytics { color: var(--success-color); }
.icon-accessibility { color: var(--danger-color); }

.team-timeline {
    position: relative;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}
.team-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.2rem;
    position: relative;
}
.team-timeline-marker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    background: var(--primary-color);
}
.team-timeline-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xs);
    padding: 1rem 1.5rem;
    min-width: 0;
    flex: 1;
}

.team-budget-card {
    background: var(--white-soft);
    border: 2px solid var(--primary-light);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.team-social-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.team-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-accent);
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1.5px solid var(--border-accent);
}
.team-social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    text-decoration: none;
    transform: translateY(-2px) scale(1.08);
    border-color: var(--primary-color);
}

/* Supporter Institutions Section - Remove Card Background, Make Flat/Minimal */
.supporter-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: none !important;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 1.2rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}
.supporter-row .supporter-info {
    order: 1;
    text-align: left;
}
.supporter-row .supporter-logo {
    order: 2;
    justify-self: center;
    max-width: 180px;
    max-height: 110px;
    width: 100%;
    height: auto;
    background: var(--bg-accent);
    border-radius: 12px;
    box-shadow: var(--shadow-xs);
    padding: 0.5rem;
}
.supporter-row .supporter-logo-tall {
    max-width: 120px;
    max-height: 120px;
}
/* For the reversed row (MCBU), swap order */
.supporter-row.reverse {
    grid-template-columns: 1fr 2fr;
}
.supporter-row.reverse .supporter-info {
    order: 2;
    text-align: center;
}
.supporter-row.reverse .supporter-logo {
    order: 1;
    justify-self: center;
}
@media (max-width: 991px) {
    .supporter-row, .supporter-row.reverse {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0 0 1rem 0;
    }
    .supporter-row .supporter-logo,
    .supporter-row .supporter-logo-tall,
    .supporter-row.reverse .supporter-logo,
    .supporter-row.reverse .supporter-logo-tall {
        margin: 0 auto 0.5rem auto !important;
        display: block;
        float: none !important;
        position: static !important;
        max-width: 120px;
        max-height: 70px;
        justify-self: center;
    }
    .supporter-row .supporter-info,
    .supporter-row.reverse .supporter-info {
        text-align: center !important;
        margin: 0 auto;
    }
}
@media (max-width: 767px) {
    .supporter-row, .supporter-row.reverse {
        gap: 0.2rem;
        padding: 0 0 0.7rem 0;
    }
    .supporter-row .supporter-logo,
    .supporter-row .supporter-logo-tall,
    .supporter-row.reverse .supporter-logo,
    .supporter-row.reverse .supporter-logo-tall {
        max-width: 100px;
        max-height: 60px;
    }

}
/* Enhanced info box at the bottom */
.supporter-info-box {
    background: rgba(255,255,255,0.93);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: var(--primary-dark);
    padding: 1.1rem 1.2rem;
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border-left: 5px solid var(--primary-color);
    border-right: 5px solid var(--success-color);
    transition: box-shadow 0.2s, background 0.2s;
}
.supporter-info-box i {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}
@media (max-width: 767px) {
    .supporter-info-box {
        font-size: 0.97rem;
        padding: 0.7rem 0.5rem;
        border-radius: 8px;
        flex-direction: column;
        gap: 0.3rem;
    }
}

.supporter-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    justify-self: center;
    text-align: center;
}
.supporter-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: start;
    margin-bottom: 0.5rem;
}

/* Responsive improvements for landing harmony */
@media (max-width: 768px) {
    .team-title {
        font-size: 2.2rem;
    }
    .team-desc {
        font-size: 1.05rem;
    }
    .team-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .team-card {
        padding: 1.2rem 0.7rem;
        border-radius: 10px;
    }
    .team-avatar-lg {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
}
@media (max-width: 576px) {
    .team-section {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
    .team-title {
        font-size: 1.5rem;
    }
    .team-card {
        padding: 0.7rem 0.3rem;
    }
}

/* Proje Bütçesi Banner (Landing uyumlu) */
.section-tubitak-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-white);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border-radius: 0 !important;
}
.budget-logo {
    background: rgba(255,255,255,0.10);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}
.budget-logo i {
    color: var(--accent-color);
}
.budget-title {
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 2rem;
    color: var(--text-white);
    font-family: var(--font-family-heading);
    text-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.budget-stat {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-family-heading);
}
.budget-stat-success {
    color: var(--success-color);
}
.budget-stat-info {
    color: var(--info-color);
}
.budget-label {
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-white);
    opacity: 0.85;
}
.budget-desc {
    font-size: 0.98rem;
    color: var(--text-white);
    opacity: 0.7;
}
.budget-total {
    font-weight: 800;
    color: var(--accent-color);
    font-size: 1.3rem;
    font-family: var(--font-family-heading);
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.budget-badge {
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: var(--success-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.budget-meta {
    opacity: 0.92;
    font-size: 1.05rem;
    font-family: var(--font-family-base);
    font-weight: 500;
    color: var(--text-white);
}
.budget-detail-btn {
    font-weight: 700;
    font-family: var(--font-family-heading);
    letter-spacing: 0.01em;
    color: var(--primary-dark);
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border-radius: 0px;
    padding: 0.4rem 1.2rem;
    transition: background 0.2s;
}
.budget-detail-btn:hover {
    background: var(--accent-light);
    color: #fff;
}
@media (max-width: 768px) {
    .budget-title { font-size: 1.1rem; }
    .budget-logo { width: 50px; height: 50px; }
    .budget-stat { font-size: 1.2rem; }
    .budget-total { font-size: 1.05rem; }
}
@media (max-width: 576px) {
    .section-tubitak-banner { padding: 1.2rem 0; }
    .budget-title { font-size: 1rem; }
    .budget-logo { width: 40px; height: 40px; }
    .budget-stat { font-size: 1rem; }
    .budget-total { font-size: 0.95rem; }
}

/* Responsive adjustments for team hero section */
@media (max-width: 991px) {
    .team-hero-section {
        padding: 60px 0 40px 0;
        min-height: 320px;
    }
}
@media (max-width: 768px) {
    .team-hero-section {
        flex-direction: column;
        padding: 40px 0 20px 0;
        min-height: 220px;
        border-radius: 0 !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 60%, var(--neutral-color) 100%);
    }
    .team-title {
        font-size: 2.2rem;
    }
    .team-desc {
        font-size: 1.05rem;
    }
    .team-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .team-card {
        padding: 1.2rem 0.7rem;
        border-radius: 10px;
    }
    .team-avatar-lg {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
    .team-hero-divider {
        width: 40px;
        height: 3px;
        background: #fff;
    }
}
@media (max-width: 576px) {
    .team-hero-section {
        padding: 24px 0 10px 0;
        min-height: 120px;
        border-radius: 0 !important;
        background: var(--primary-color);
    }
    .team-title {
        font-size: 1.5rem;
    }
    .team-card {
        padding: 0.7rem 0.3rem;
    }
    .team-hero-divider {
        width: 24px;
        height: 2px;
    }
    .team-hero-bg-pattern {
        display: none;
    }
}
