﻿
/* ===== Background ===== */
.team-details {
    padding: 64px 0;
    background: radial-gradient(1200px 500px at 80% -10%, rgba(2, 68, 66, .10), transparent 60%), radial-gradient(900px 400px at 10% 0%, rgba(209, 133, 72, .14), transparent 55%), linear-gradient(180deg, #fafafa, #f3f4f6);
}

/* ===== Card ===== */
.team-card {
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 46px rgba(0,0,0,.10);
    border: 1px solid rgba(0,0,0,.06);
}

/* ===== Header ===== */
.team-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: start;
}

.team-photo {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

    .team-photo img {
        width: 100%;
        height: 340px;
        object-fit: cover;
        display: block;
        transition: transform .35s ease;
    }

    .team-photo:hover img {
        transform: scale(1.03);
    }

    .team-photo::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
        pointer-events: none;
    }

.team-name {
    font-size: 24px;
    font-weight: 950;
    color: #024442;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.team-exp {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.team-stars {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    padding: 8px 12px;
    border-radius: 14px;
    margin-bottom: 12px;
    font-weight: 900;
    color: #024442;
}

    .team-stars .star {
        color: #D18548;
        font-size: 14px;
        line-height: 1;
    }

.team-bio {
    font-size: 14px;
    line-height: 1.95;
    color: #333;
    margin-top: 10px;
}

/* ===== Services chips ===== */
.svc-title {
    margin-top: 14px;
    font-weight: 950;
    color: #111;
}

.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.svc-chip {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    font-size: 14px;
    font-weight: 900;
    color: #024442;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
}

    .svc-chip .dot {
        color: #D18548;
        font-size: 18px;
        line-height: 1;
    }

    .svc-chip:hover {
        background: #024442;
        border-color: #024442;
        color: #fff;
        transform: translateY(-1px);
    }

        .svc-chip:hover .dot {
            color: #fff;
        }

/* ===== Tabs ===== */
.ws-wrap {
    margin-top: 26px;
}

.ws-title {
    font-weight: 950;
    color: #111;
    margin: 6px 0 12px;
    font-size: 16px;
}

.ws-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.65);
    border: 1px solid rgba(0,0,0,.06);
}

    .ws-nav button {
        border: 1px solid rgba(0,0,0,.10);
        background: #fff;
        color: #024442;
        border-radius: 999px;
        padding: 10px 14px;
        font-weight: 950;
        font-size: 13px;
        cursor: pointer;
        transition: all .18s ease;
        white-space: nowrap;
    }

        .ws-nav button.active {
            background: #024442;
            color: #fff;
            border-color: #024442;
            box-shadow: 0 8px 18px rgba(2, 68, 66, .18);
        }

.ws-pane {
    display: none;
}

    .ws-pane.active {
        display: block;
    }

/* ===== Sample card ===== */
.ws-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
    margin-bottom: 18px;
}

.ws-card-head {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: linear-gradient(180deg, #fff, #fbfbfb);
}

.ws-card-title {
    font-weight: 950;
    color: #024442;
    margin: 0;
    font-size: 14px;
}

.ws-card-meta {
    font-size: 12px;
    color: #666;
    font-weight: 800;
    white-space: nowrap;
}

/* ===== Swiper main + thumbs ===== */
.ws-gallery {
    padding: 14px;
}

/* قاب نه خیلی بزرگ: ارتفاع کنترل‌شده */
.ws-main {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    background: #f3f4f6;
}

    /* عکس کامل (بدون crop) */
    .ws-main .swiper-slide a {
        display: block;
        width: 100%;
        background: #f3f4f6;
    }

    .ws-main .swiper-slide img {
        width: 100%;
        height: 360px; /* کنترل اندازه قاب */
        object-fit: contain; /* عکس کامل دیده میشه */
        display: block;
        background: #f3f4f6;
    }

    /* کنترل‌ها */
    .ws-main .swiper-button-next,
    .ws-main .swiper-button-prev {
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: rgba(255,255,255,.92);
        border: 1px solid rgba(0,0,0,.10);
        box-shadow: 0 10px 20px rgba(0,0,0,.10);
    }

        .ws-main .swiper-button-next:after,
        .ws-main .swiper-button-prev:after {
            font-size: 16px;
            font-weight: 900;
            color: #024442;
        }

    .ws-main .swiper-pagination-bullet {
        opacity: .35;
    }

    .ws-main .swiper-pagination-bullet-active {
        opacity: 1;
    }

/* Thumbs */
.ws-thumbs {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(2, 68, 66, .04);
    border: 1px solid rgba(0,0,0,.06);
}

    .ws-thumbs .swiper-slide {
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid transparent;
        opacity: .65;
        transition: all .15s ease;
        cursor: pointer;
        background: #eee;
    }

    .ws-thumbs .swiper-slide-thumb-active {
        border-color: #024442;
        opacity: 1;
    }

    .ws-thumbs img {
        width: 100%;
        height: 74px;
        object-fit: cover;
        display: block;
    }

.ws-empty {
    border: 1px dashed rgba(0,0,0,.18);
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    color: #555;
    text-align: center;
    font-weight: 800;
    margin: 14px;
}

@@media (max-width: 992px) {
    .team-header {
        grid-template-columns: 1fr;
    }

    .team-photo img {
        height: 300px;
    }

    .ws-main .swiper-slide img {
        height: 280px;
    }
    /* موبایل: قاب کوچیک‌تر */
    .ws-thumbs img {
        height: 62px;
    }
}
