/* ==========================================================================
   AZAADESIGNS ID — TEAM.CSS
   Tim Section · Card Profil Anggota Tim

   📸 CARA TAMBAH FOTO TIM:
   1. Taruh foto di: assets/images/team/nama-anggota.jpg (ukuran 400x400px)
   2. Gunakan class .team-photo di dalam .team-avatar
   3. Contoh card ada di: sections/team.html

   👥 CARA TAMBAH ANGGOTA:
   - Copy satu .team-card di index.html dan isi datanya
   ========================================================================== */

/* ── TEAM SECTION ───────────────────────────────────────────────────────── */
.team-section {
    padding: var(--section-pad);
    background: rgba(56, 189, 248, 0.02);
}

/* ── TEAM GRID ──────────────────────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── TEAM CARD ──────────────────────────────────────────────────────────── */
.team-card {
    background: var(--surface);
    border: 1px solid var(--glass-border-2);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--neon-glow));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    border-color: var(--glass-border-1);
    box-shadow: 0 12px 40px rgba(0, 82, 204, 0.18);
    transform: translateY(-4px);
}

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

/* ── TEAM AVATAR ────────────────────────────────────────────────────────── */
.team-avatar {
    position: relative;
    width: 120px; height: 120px;
    margin: 0 auto 20px;
}

/* Placeholder inisial — hapus jika sudah pakai foto */
.team-avatar-placeholder {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--neon-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 24px rgba(0, 82, 204, 0.35);
}

/* Foto anggota tim */
.team-photo {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 46%;
    border: 3px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 24px rgba(0, 82, 204, 0.35);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    border-color: var(--neon-glow);
    box-shadow: 0 0 32px rgba(56, 189, 248, 0.4);
}

/* Ring dekorasi */
.team-avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    animation: ring-rotate 10s linear infinite;
    pointer-events: none;
}

/* ── TEAM INFO ──────────────────────────────────────────────────────────── */
.team-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--neon-glow);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.team-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ── TEAM TAGS ──────────────────────────────────────────────────────────── */
.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.team-tag {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border-2);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.team-tag:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--glass-border-1);
    color: var(--text-main);
}

/* ── TEAM SOCIAL ────────────────────────────────────────────────────────── */
.team-social {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.team-social-link {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border-2);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.team-social-link:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--glass-border-1);
    color: var(--neon-glow);
    transform: translateY(-2px);
}
