/* ================= NÁŠ TÍM ŠTÝLY ================= */

.tim-sekcia {
    padding: 160px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.tim-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tim-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.tim-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.tim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.clen-karta {
    background: var(--card-bg);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.clen-karta:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.clen-foto {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.clen-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: transform 0.5s ease;
}

.clen-karta:hover .clen-foto img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.socialne-siete {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.clen-karta:hover .socialne-siete {
    opacity: 1;
    transform: translateY(0);
}

.socialne-siete a {
    background: var(--primary-color);
    color: #000;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    transition: background 0.3s;
}

.socialne-siete a:hover {
    background: var(--primary-hover);
}

.clen-info {
    padding: 2rem;
}

.clen-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rola {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.popis {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}


/* Štýl pre aktívny odkaz v navigácii */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 800;
}

/* Aktivny link v menu */
.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* ================= ŠTÝLY PRE NÁŠ TÍM ================= */

.tim-sekcia {
    padding: 140px 20px 80px;
    min-height: 100vh;
}

.tim-obal {
    max-width: 1200px;
    margin: 0 auto;
}

.tim-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tim-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.tim-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.tim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.karta-clena {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.karta-clena:hover {
    transform: translateY(-10px);
    border-color: rgba(52, 211, 153, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.foto-obal {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.foto-obal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    padding: 5px; /* Vytvorí medzeru medzi fotkou a rámikom */
}

.rola-tag {
    display: inline-block;
    color: var(--primary-color);
    background: rgba(52, 211, 153, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.info-clena h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.info-clena p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.socialne-siete-linky {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.socialne-siete-linky a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
}

.socialne-siete-linky a:hover {
    color: var(--primary-color);
}

.oddelovac {
    color: var(--primary-color);
    opacity: 0.5;
}

/* Aktívny link v navigácii */
.active-link {
    color: var(--primary-color) !important;
    font-weight: 700;
}