/* PROJEKTY */

.projects-page{
    padding:80px 80px 120px;
}

.projects-hero{
    max-width:1100px;
    margin:0 auto 60px;
    text-align:center;
}

.projects-hero span{
    color:var(--color-accent-blue);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.projects-hero h1{
    font-size:64px;
    margin:18px 0 22px;
}

.projects-hero p{
    font-size:21px;
    line-height:1.7;
    color:var(--color-text-sub);
}

.projects-filters{
    max-width:1200px;
    margin:0 auto 60px;
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.filter-btn{
    padding:12px 20px;
    border-radius:999px;
    border:1px solid rgb(from var(--color-accent-blue)r g b / 0.25);
    background:rgba(255,255,255,.05);
    color: var(--color-text-main);
    cursor:pointer;
    font-weight:600;
}

.filter-btn.active,
.filter-btn:hover{
    background:var(--color-accent-blue);
    color:var(--color-text-main);
}

.projects-list{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.project-card-public{
    background:rgba(255,255,255,.05);
    border:1px solid rgb(from var(--color-accent-blue) r g b / .2);
    border-radius:26px;
    overflow:hidden;
    transition:.3s;
}

.project-card-public:hover{
    transform:translateY(-8px);
    box-shadow:0 0 35px rgb(from var(--color-accent-blue) r g b / .22);
}

.project-thumb {
    display: flex;
    width: 100%;
    height: 220px;
    min-height: 220px;
    padding: 0px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgb(from var(--color-accent-blue) r g b / 0.35),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #1e1b4b,
            #1e3a8a
        );
}

.project-thumb img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit;;
    object-position: center;
}

.project-thumb span{
    font-size:30px;
    font-weight:800;
}

.project-info{
    padding:30px;
}

.project-status{
    display:inline-block;
    padding:7px 13px;
    border-radius:999px;
    background:rgb(from var(--color-accent-blue) r g b / 0.12);
    color: var(--color-accent-blue);
    font-size:14px;
    font-weight:700;
    margin-bottom:18px;
}

.project-info h3{
    font-size:27px;
    margin-bottom:14px;
}

.project-info p{
    color:var(--featured-project-text-color);
    line-height:1.7;
    margin-bottom:20px;
}

.project-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:18px;
}

.project-meta span{
    padding:7px 13px;
    border-radius:999px;
    color:var(--color-accent-blue);
    background:rgb(from var(--color-accent-blue)r g b / 0.08);
    border:1px solid rgb(from var(--color-accent-blue)r g b / 0.2);
    font-size:14px;
}

.project-date{
    color:var(--featured-project-text-color);
    font-size:15px;
    margin-bottom:22px;
}

.details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 22px;
    padding: 10px 16px;

    color:var(--featured-button-text-color);
    background: rgb(from var(--featured-button-background)r g b / 0.1);
    border: 1px solid rgb(from var(--featured-button-background)r g b / 0.55);
    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.details-link::after {
    content: "→";
    font-size: 17px;
    transition: transform 0.2s ease;
}

.details-link:hover {
    color: var(--featured-button-hover-text-color);
    background:var(--featured-button-hover-background);
    border-color: var(--featured-button-hover-background);
    box-shadow: 0 6px 16px rgb(from var(--featured-button-hover-background)r g b / 0.22);
    transform: translateY(-2px);
}

.details-link:hover::after {
    transform: translateX(3px);
}

.details-link:focus-visible {
    outline: 3px solid rgb(from var(--featured-button-background)r g b / 0.35);
    outline-offset: 3px;
}

.project-details-btn{
    color:var(--color-accent-blue);
    text-decoration:none;
    font-weight:700;
}

.project-details-btn:hover{
    color:var(--color-text-main);
}

@media(max-width:1100px){
    .projects-page{
        padding:60px 25px 90px;
    }

    .projects-list{
        grid-template-columns:1fr;
    }

    .projects-hero h1{
        font-size:42px;
    }
}
@media (max-width: 600px) {
    .project-thumb {
        height: 190px;
        min-height: 190px;
    }
}