/* --- HERO TLAČÍTKA --- */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    align-items: stretch;
}

@media (min-width: 991.98px) {
    .hero-buttons {
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }
}

.hero-link-main,
.hero-link-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 0px;
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.hero-arrow-icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-link-main {
    background: linear-gradient(135deg, var(--brand2), var(--brand2));
    color: var(--white);
    border: 0;
    box-shadow: 0 18px 45px rgba(76, 198, 255, .25);
}

.hero-link-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 55px rgba(76, 198, 255, .35);
    color: var(--white);
    text-decoration: none;
}

.hero-link-sub {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255);
}

.hero-link-sub:hover {
    transform: translateY(-2px);
    border-color: var(--brand2);
    color: var(--white);
    background: rgba(76, 198, 255, .09);
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(76, 198, 255, .1);
}

@media (hover: hover) {
    .hero-link-main:hover .hero-arrow-icon,
    .hero-link-sub:hover .hero-arrow-icon {
        transform: translateX(4px);
    }
}

.kontakt-ikony {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

/* --- TLAČÍTKO POD MŘÍŽKOU REFERENCÍ --- */
.portfolio-action-box {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    width: 100%;
}

.btn-portfolio-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background-color: var(--dark-bg);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    min-width: 200px;
}

.btn-portfolio-more .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) {
    .btn-portfolio-more:hover {
        background-color: var(--brand2);
        box-shadow: 0 10px 15px -3px rgba(38, 92, 209, 0.3), 0 4px 6px -4px rgba(38, 92, 209, 0.3);
        transform: translateY(-2px);
    }
    .btn-portfolio-more:hover .arrow-icon {
        transform: translateX(4px);
    }
}

@media (max-width: 640px) {
    .portfolio-action-box {
        margin-top: 40px;
    }
    .btn-portfolio-more {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        min-width: unset;
    }
}



.filter-buttons .btn-filter {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 20px;
    margin: 5px; /* Upraveno z 0 5px na 5px, aby měly mezery i na mobilu */
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50px;
    font-weight: 500;
    
    /* Nové parametry pro pevnou velikost */
    min-width: 170px; 
    text-align: center;
    display: inline-block;
}

.filter-buttons .btn-filter:hover, 
.filter-buttons .btn-filter.active {
    background: #0051ff;
    color: #fff;
    border-color: #0051ff;
}