/* ==========================================================================
   SKUPINA CREDIT - REPERTOAR.CSS (styly specifické pro repertoar.html)
   ========================================================================== */

/* === REPERTOÁR SEKCE === */

.repertoire-section {
    padding: calc(var(--header-height) + 60px) 20px 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.rep-category-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 20px;
}

.rep-category-title i {
    color: var(--accent);
}

.other-genres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 0;
    margin-bottom: 80px;
}

.genre-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.genre-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(255, 179, 0, 0.08);
}

/* --- IKONA A POZADÍ --- */
.genre-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: #111;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 5px 15px rgba(255, 179, 0, 0.3);
}

.genre-card:hover .genre-icon {
    background: #111;
    color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- PERFEKTNÍ MASKA PRO VLASTNÍ SVG --- */
.custom-svg-icon {
    width: 40px;
    height: 40px;
    background-color: #111;
    -webkit-mask-image: url('../assets/icons/dance.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('../assets/icons/dance.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    transition: background-color 0.3s ease;
}

.genre-card:hover .custom-svg-icon {
    background-color: var(--accent);
}

.genre-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.genre-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.rep-list-wrap {
    background: var(--bg);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

.rep-list-wrap .rep-category-title {
    margin-bottom: 0;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

/* --- STYLY PRO VYHLEDÁVACÍ POLE --- */
.rep-search-wrap {
    margin: 30px 0 20px;
    position: relative;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.rep-search-wrap i {
    position: absolute;
    left: 20px;
    top: calc(50% - 15px);
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.rep-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: rgba(255, 197, 62, 0.142);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.1);
    box-sizing: border-box;
}

.rep-search-input::placeholder {
    color: var(--text-dim);
}

.rep-search-input:focus {
    outline: none;
    background: var(--bg-white);
    box-shadow: 0 0 20px 6px rgba(255, 179, 0, 0.2);
}

.rep-no-results {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

.rep-scroll-area {
    max-height: 550px;
    overflow-y: auto;
    padding: 10px 15px 10px 5px;
    margin-top: 10px;
    margin-left: -5px;
}

.rep-scroll-area::-webkit-scrollbar { width: 6px; }
.rep-scroll-area::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.rep-scroll-area::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

.rep-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rep-item {
    background: var(--bg-white);
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.rep-item:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.1);
    transform: translateY(-3px);
    background: #fafafa;
}

.rep-song {
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.3;
}

.rep-artist {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rep-artist::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--accent);
}


/* === RESPONZIVITA === */

@media (max-width: 768px) {
    .rep-list-wrap { padding: 30px 20px; border-radius: 16px; }
    .repertoire-section { padding: calc(var(--header-height) + 40px) 20px 80px; }
}

@media (max-width: 480px) {
    .rep-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
