/* style dla szablonu "Frontpage" */

@keyframes scaleUp {
    from {background-size: 100%;}
    to {background-size: 110%;}
}

.sekcja-title {
    background-image: url('/wp-content/uploads/2025/11/uslugi-poligraficzne-torun-front-bg.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 550px;
    height: 85vh;
}
.title-overlay {
    background-color: #0000008c;
    min-height: inherit;
    height: inherit;
}
.sekcja-title * {
    color: #fff;
}
.sekcja-title .container {
    min-height: inherit;
    height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.sekcja-title h1 {
    margin-bottom: 50px;
}
.sekcja-title p {
    max-width: 80%;
    font-size: 18px;
}
.title-oferta-scroll {
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 10px 10px 50px;
    margin-top: 30px;
    scroll-margin-top: 100px;
}
.title-oferta-scroll i {
    display: block;
    color: #EB5E28 !important;
    -webkit-text-stroke: 1px;
    font-size: 50px;
    line-height: 1;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}
.title-oferta-scroll:hover i {
    opacity: 0;
    transform: translateY(50px);
}


.fade-in-oferta {
    opacity: 0;
}
.fade-in-oferta.visible {
    opacity: 1 !important;
}

.sekcja-wyrozniona-oferta {
    scroll-margin-top: 150px;
    margin: 80px 0 120px;
}
.oferta-poj {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 100%;
    height: 260px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.oferta-poj:hover {
    scale: 1.05;
}
.oferta-poj:hover h3,
.oferta-poj:hover i {
    color: #E04E15;
}
.oferta-overlay {
    position: relative;
    width: 100%;
    height: inherit;
    padding: 20px;
    background-color: #000000a1;
}
.oferta-poj * {
    color: #fff;
}
.oferta-poj h3 {
    font-size: 40px;
    transition: all 0.2s ease-in-out;
}
.oferta-poj i {
    position: absolute;
    right: 25px;
    bottom: 25px;
    line-height: 1;
    width: 20px;
    height: 20px;
    font-size: 20px;
    -webkit-text-stroke: 1px;
    transition: all 0.2s ease-in-out;
}

.sekcja-onas {
    /* margin: 80px 0;
    padding: 80px 0; */
    margin: 80px 0;
    padding-top: 80px;
    position: relative;
}
.onas-opis-cont > .row {
    min-height: 505px;
}
.onas-tekst {
    padding-right: 80px;
    padding-bottom: 80px;
}
.onas-tekst .h2-decor {
    margin-top: 0;
}
.onas-haslo-reklamowe {
    display: block;
    margin-top: 40px;
    line-height: 1.2;
    font-size: 25px;
    font-weight: 600;
}
.onas-grafika {
    background-image: url('/wp-content/uploads/2025/11/pracownik-drukarni-maszyna-torun.webp');
    background-repeat: no-repeat;
    background-position: 20% center;
    background-size: cover;
    position: absolute;
    width: 38%;
    height: 585px;
    top: 0;
    right: 0;
}
.onas-zalety-bg {
    background-color: #FFF3EB;
    padding: 80px 0;
}
.zaleta-poj {
    padding: 0 30px;
}
.zaleta-poj:first-of-type {
    padding-left: 12px !important;
}
.zaleta-poj:last-of-type {
    padding-right: 12px !important;
}
.zaleta-title {
    text-align: center;
    margin-bottom: 20px;
}
.zaleta-poj img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}
.zaleta-poj h3 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 0;
}
.zaleta-poj p {
    text-align: center;
}

.sekcja-kontakt {
    position: relative;
    margin: 80px 0 -50px;
    padding-bottom: 20px;
}
.kontakt-col-mapka {
    position: absolute;
    top: 0;
    left: 0;
    width: 43%;
    height: 710px;
    padding-left: 0;
}
.kontakt-mapka {
    height: inherit;
}
.kontakt-col-form {
    background-color: #fff;
    padding: 15px 0 15px 50px;
    position: relative;
    z-index: 2;
}


/*Tutaj zaczyna się CSS dla komputerów stacjonarnych*/
@media only screen and (min-width: 1850px) {
    .sekcja-title {
        height: 90vh;
    }
}
@media only screen and (min-width: 1450px) {
    .sekcja-title {
        background-size: 100%;
        animation: scaleUp 7s forwards;
    }
}

@media only screen and (min-width: 1499px) and (max-width: 1599px) {
    .onas-grafika {
        max-width: 560px;
    }
    .kontakt-col-mapka {
        max-width: 650px;
    }
}
@media only screen and (min-width: 1399px) and (max-width: 1499px) {
    .onas-grafika {
        max-width: 500px;
    }
    .kontakt-col-mapka {
        max-width: 620px;
        height: 715px;
    }
}
@media only screen and (min-width: 1299px) and (max-width: 1399px) {
    .oferta-poj h3 {
        font-size: 30px !important;
    }

    .sekcja-onas {
        padding-top: 60px;
    }
    .onas-grafika {
        max-width: 480px;
        height: 565px;
    }

    .zaleta-poj h3 {
        font-size: 26px;
    }

    .kontakt-col-mapka {
        max-width: 570px;
    }
}
@media only screen and (min-width: 993px) and (max-width: 1299px) {
    .sekcja-title p {
        font-size: 16px;
    }
    .title-oferta-scroll i {
        font-size: 40px;
    }

    .oferta-poj h3 {
        font-size: 25px;
    }

    .onas-tekst {
        padding-bottom: 35px;
    }
    .onas-haslo-reklamowe {
        font-size: 22px;
    }
    .onas-grafika {
        max-width: 365px;
    }
    .onas-zalety-cont > .row {
        row-gap: 40px;
    }
    .zaleta-poj img {
        width: 80px;
        height: 80px;
    }
    .zaleta-poj h3 {
        font-size: 25px;
    }

    .kontakt-col-mapka {
        height: 710px;
    }
}

@media only screen and (min-width: 993px) and (max-width: 1199px) {
    .zaleta-poj:nth-of-type(odd) {
        padding-left: 12px !important;
    }
    .zaleta-poj:nth-of-type(even) {
        padding-right: 12px !important;
    }
}

@media only screen and (max-width: 992px) {
    .sekcja-title {
        height: auto;
    }
    .title-overlay {
        padding: 50px 0;
    }

    .sekcja-wyrozniona-oferta .row {
        row-gap: 24px;
    }
    .oferta-poj {
        height: 250px;
    }
    .oferta-poj h3 {
        font-size: 35px;
    }

    .sekcja-onas {
        padding: 0;
    }
    .onas-opis-no-margin {
        position: relative;
    }
    .onas-tekst {
        padding: 0 12px 280px;
    }
    .onas-haslo-reklamowe {
        font-size: 20px;
    }
    .onas-grafika {
        position: absolute;
        width: 100%;
        max-height: 220px;
        background-position-y: top;
        bottom: 0;
        left: 0;
        top: unset;
    }

    .onas-zalety-cont > .row {
        row-gap: 40px;
    }
    .zaleta-poj {
        padding: 0 20px;
    }
    .zaleta-poj:nth-of-type(odd) {
        padding-left: 12px !important;
    }
    .zaleta-poj:nth-of-type(even) {
        padding-right: 12px !important;
    }

    .sekcja-kontakt {
        margin-bottom: -75px;
        padding-bottom: 0px;
    }
    .kontakt-col-mapka {
        position: relative;
        top: unset;
        width: 100%;
        height: 400px;
        padding: 0;
    }
    .kontakt-col-form {
        padding: 0px 12px 60px;
    }
}

@media only screen and (max-width: 767px) {
    .sekcja-title p {
        max-width: 100%;
        font-size: 16px;
    }
    .title-oferta-scroll {
        margin-top: 40px;
    }

    .sekcja-wyrozniona-oferta .row {
        row-gap: 40px;
    }
    .oferta-poj {
        height: 220px;
    }
    .oferta-poj h3 {
        font-size: 25px;
    }

    .onas-tekst {
        padding: 0 12px 190px;
    }
    .onas-haslo-reklamowe {
        font-size: 18px;
    }
    .onas-grafika {
        max-height: 150px;
    }
    .onas-zalety-bg {
        padding: 60px 0;
    }
    .zaleta-poj {
        padding: 0 12px !important;
        margin-bottom: 40px;
        max-width: 80%;
        margin: 0 auto;
    }
    .zaleta-poj img {
        width: 80px;
        height: 80px;
    }
    .zaleta-poj h3 {
        font-size: 25px;
    }

    .sekcja-kontakt {
        margin-bottom: -50px;
    }
    .kontakt-col-mapka {
        height: 300px;
    }
    .kontakt-col-form {
        padding: 0px 12px 40px;
    }
}

@media only screen and (max-width: 350px) {
    .oferta-poj {
        height: 240px;
    }
    .zaleta-poj {
        max-width: 100%;
    }
}
