/* ========================================
   BAŁTYK STUDIO
   SZABLON PODSTRONY REALIZACJI
======================================== */


/* ========================================
   PRZYKLEJONY NAGŁÓWEK
======================================== */

.work-page .header {
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* ========================================
   GALERIA REALIZACJI
======================================== */

.work-gallery {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    gap: 0;

    background: #ffffff;
}


/* POJEDYNCZE ZDJĘCIE */

.work-image {
    min-width: 0;
    overflow: hidden;
}

.work-image img {
    display: block;

    width: 100%;
    height: auto;
}


/* ========================================
   DOLNA SEKCJA
======================================== */

.work-footer {
    width: 100%;

    background: #cebf93;
    color: #000000;

    padding: 80px 8.7% 60px;
}


/* ========================================
   OPIS PROJEKTU
======================================== */

.work-description {
    font-family: "Outfit", sans-serif;

    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
}

.work-description p {
    margin-bottom: 35px;
}


/* ========================================
   NIEBIESKI PRZYCISK
======================================== */

.work-button {
    display: inline-block;

    padding: 15px 25px;

    background: #1e33f6;
    color: #ffffff;

    border-radius: 30px;

    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 500;

    text-decoration: none;

    transition: background-color 0.25s ease;
}

.work-button:hover {
    background: #000000;
}


/* ========================================
   DUŻY LINK — STRONA GŁÓWNA
======================================== */

.work-home {
    margin-top: 150px;
}

.work-home a {
    display: inline-block;

    max-width: 100%;

    font-family: "Outfit", sans-serif;

    font-size: clamp(50px, 9.5vw, 145px);
    font-weight: 400;

    line-height: 0.95;
    letter-spacing: -0.025em;

    color: #000000;

    text-decoration: underline;
    text-decoration-thickness: 0.055em;
    text-underline-offset: 0.08em;

    transition: text-decoration-color 0.2s ease;
}

.work-home a:hover {
    text-decoration-color: transparent;
}


/* ========================================
   ROK
======================================== */

.work-year {
    margin-top: 180px;

    font-family: "Outfit", sans-serif;

    font-size: 22px;
    font-weight: 400;
}


/* ========================================
   TABLETY
======================================== */

@media (max-width: 900px) {

    .work-footer {
        padding: 65px 6% 50px;
    }

    .work-home {
        margin-top: 110px;
    }

    .work-year {
        margin-top: 130px;
    }

}


/* ========================================
   TELEFONY
======================================== */

@media (max-width: 600px) {

    /* GALERIA */

    .work-gallery {
        grid-template-columns: 1fr;
    }


    /* DOLNA SEKCJA */

    .work-footer {
        padding: 50px 6% 35px;
    }


    /* OPIS */

    .work-description {
        font-size: 16px;
    }

    .work-description p {
        margin-bottom: 25px;
    }


    /* PRZYCISK */

    .work-button {
        font-size: 16px;

        padding: 13px 20px;

        border-radius: 25px;
    }


    /* DUŻY LINK */

    .work-home {
        margin-top: 90px;
    }

    .work-home a {
        font-size: 9.5vw;
        line-height: 1.05;
    }


    /* ROK */

    .work-year {
        margin-top: 110px;
        font-size: 15px;
    }

}


/* ========================================
   DOSTĘPNOŚĆ
======================================== */

@media (prefers-reduced-motion: reduce) {

    .work-button,
    .work-home a {
        transition: none;
    }

}