﻿.team-hero {
    background: linear-gradient(135deg,rgba(10,6,4,.88),rgba(92,15,30,.6)),url('images/gallery1.jpg') center/cover no-repeat;
}

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

.team-card {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(201,168,76,.1);
    overflow: hidden;
    text-align: center;
    transition: transform .4s,border-color .4s,box-shadow .4s;
    position: relative;
}

    .team-card:hover {
        transform: translateY(-8px);
        border-color: rgba(201,168,76,.4);
        box-shadow: 0 20px 60px rgba(0,0,0,.4);
    }

    .team-card.founder-card {
        border-color: rgba(201,168,76,.3);
    }

.tc-img-wrap {
    position: relative;
    height: 300px;
    overflow: hidden;
}

    .tc-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        transition: transform .5s,filter .4s;
        filter: saturate(.85);
    }

.team-card:hover .tc-img-wrap img {
    transform: scale(1.06);
    filter: saturate(1.1);
}

.tc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,transparent 50%,rgba(10,6,4,.7));
}

.tc-founder-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--charcoal);
    font-size: 9px;
    letter-spacing: 2px;
    padding: 5px 14px;
    text-transform: uppercase;
    font-weight: 700;
}

.tc-socials {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity .3s;
}

.team-card:hover .tc-socials {
    opacity: 1;
}

.tc-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(201,168,76,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 13px;
    transition: background .3s;
}

    .tc-social-btn:hover {
        background: var(--gold);
    }

.tc-body {
    padding: 24px 24px 28px;
}

.tc-name {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--cream);
    margin-bottom: 4px;
}

.tc-role {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.tc-bio {
    font-size: 13px;
    color: rgba(212,200,190,.6);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 16px;
}

.tc-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.tc-skill {
    padding: 4px 12px;
    background: rgba(201,168,76,.07);
    border: 1px solid rgba(201,168,76,.15);
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tc-exp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(212,200,190,.4);
    text-transform: uppercase;
}

.join-section {
    padding: 100px 6%;
    background: linear-gradient(135deg,var(--maroon),#200810,var(--bg-dark));
    position: relative;
    overflow: hidden;
}

    .join-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 70% 50%,rgba(201,168,76,.1),transparent 60%);
    }

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media(max-width:900px) {
    .join-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .tc-img-wrap {
        height: 260px;
    }
}

@media(max-width:400px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
