/*
Theme Name: DNS
Theme URI: https://example.com/
Author: Twoje Imię
Description: Minimalistyczny starter theme zoptymalizowany pod SEO i Core Web Vitals
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dns
*/

/* === Style główne === */
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: "Fustat", sans-serif !important;
}
h1, h2, h3, h4, h5, h6, button {
    font-family: "Fustat", sans-serif !important;
    color: #231F20;
}
p, a, div, li, input, textarea, label {
    font-family: "Fustat", sans-serif !important;
    color: #231F20;
}

main span {
    font-family: "Caveat", cursive !important;
}

h2 {
    font-size: 55px;
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
h3 {
    font-size: 40px;
    margin-bottom: 20px;
}
p, a, input {
    font-size: 16px;
    margin-bottom: 0;
}

a {
    text-decoration: none;
    outline: none;
}
a:focus, a:active {
    text-decoration: none;
    outline: none;
}
img {
    max-width: 100%;
    height: auto;
    outline: none;
    font-size: 12px;
}
input, textarea, select, button {
    outline: none;
}
input, textarea {
    width: 100%;
}


/* -- HEADER -- */
.topmenu {
    background-color: #DF8B31;
    padding: 5px 0;
}
.topmenu > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topmenu a {
    display: inline-block;
    margin-right: 40px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    transition: all 0.2s ease-in-out;
}
.topmenu a:last-of-type {
    margin-right: 0px;
}
.topmenu a > i {
    margin-right: 5px;
    -webkit-text-stroke: 0.2px;
}
.top-contact {
    width: fit-content;
}
.menu-glowne-container {
    display: flex;
    align-items: center;
    justify-content: end;
}
.menu-glowne-container ul 
.menu-glowne-container li {
    width: fit-content;
}
.menu-glowne-container ul {
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    align-items: center;
    /* margin-right: 50px; */
}
.menu-glowne-container ul > li {
    padding: 10px;
}
.menu-glowne-container ul li > a  {
    background-image: linear-gradient(#fff, #fff);
    background-size: 0 2px, auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-bottom: 2px;
    transition: all 0.3s ease-in-out;
}
.sm-icons-link {
    display: inline-block;
    color: #fff;
    font-size: 24px !important;
    transition: all 0.2s ease-in-out;
}
.sm-icons-link:first-of-type {
    margin-left: 50px;
    margin-right: 20px !important;
}


/* - sekcja title - */
.sekcja-title {
    min-height: 600px;
    height: 95vh;
    background-image: url('/wp-content/uploads/2025/07/osrodekwczasowo-main-bg-2.webp');
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 30%;
    background-size: cover;
}
.sekcja-title-overlay {
    min-height: inherit;
    height: inherit;
    background-color: #0000003b;
}
.sekcja-title-overlay > .container {
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.title-logo-cont {
    margin: 0px auto 60px;
    line-height: 1.2;
    font-weight: 600;
    font-size: 100px !important;
    text-align: center;
    color: #fff;
}
.sekcja-title h1 {
    font-size: 55px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}
.sekcja-title p {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin-bottom: 80px;
}
.title-contact {
    margin-bottom: 30px;
}
.title-contact a {
    display: inline-block;
    font-size: 30px;
    color: #fff;
    font-weight: 800;
    background-color: #FFA600;
    padding: 15px 35px;
    /* border-radius: 50px; */
    border-radius: 20px;
    line-height: 1;
    transition: all 0.2s ease-in-out;
}
.title-contact a:first-of-type {
    margin-right: 50px;
}
.title-contact a > i {
    margin-right: 5px;
}


/* - oferta - */
.sekcja-oferta {
    padding: 80px 0 120px;
    background-color: #f7f7f7;
}
.oferta-single {
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    height: 100%;
}
.sekcja-oferta .col-12:nth-of-type(1) .oferta-single, 
.sekcja-oferta .col-12:nth-of-type(3) .oferta-single {
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
}
.sekcja-oferta .col-12:nth-of-type(2) .oferta-single, 
.sekcja-oferta .col-12:nth-of-type(4) .oferta-single {
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
}
.oferta-single img:last-of-type {
    transform: rotate(180deg);
    margin-top: -50px;
}
.oferta-tekst {
    padding: 0 20px 20px;
}
.oferta-tekst h3 {
    font-size: 25px;
}
.oferta-tekst h3::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    margin-top: 8px;
    background-color: #FFC547;
}
.oferta-tekst p {
    line-height: 1.4;
}


/* - cta - */
.sekcja-cta {
    min-height: 200px;
    background-image: url('/wp-content/themes/dns-theme/images/cta-bg-1.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 0 50px;
}
.sekcja-cta-overlay {
    min-height: inherit;
    background-color: #00000080;
}
.sekcja-cta .container {
    min-height: inherit;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.sekcja-cta p {
    font-size: 45px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}
.sekcja-cta a {
    display: inline-block;
    font-size: 45px;
    color: #fff;
    font-weight: 800;
    background-color: #FFA600;
    padding: 15px 35px;
    /* border-radius: 50px; */
    border-radius: 20px;
    line-height: 1;
    transition: all 0.2s ease-in-out;
}
.sekcja-cta a > i {
    margin-right: 5px;
}


/* - o nas - */
.sekcja-onas {
    margin: 0 0 150px;
    padding-top: 60px;
}
.onas-tekst span {
    display: block;
    font-size: 30px;
    font-weight: 500;
    color: #E06900;
    margin-bottom: 10px;
}
.onas-tekst p {
    margin-bottom: 10px;
}
.onas-tekst p:last-of-type {
    margin-bottom: 40px;
}
.onas-tekst a {
    display: inline-block;
    width: fit-content;
    background-color: #FFA600;
    padding: 14px 24px;
    /* border-radius: 50px; */
    border-radius: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease-in-out;
}
.onas-tekst a > i {
    margin-right: 5px;
}
.onas-tekst a:first-of-type {
    background-color: #FF871F;
    margin-right: 25px;
}
.onas-ikony {
    height: fit-content;
    margin: auto;
    padding-left: 30px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    row-gap: 30px;
}
.ikona-box {
    background-color: #669051;
    width: 280px;
    height: 250px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}
.ikona-box:nth-of-type(1){
    border-bottom-right-radius: 0;
}
.ikona-box:nth-of-type(2){
    border-bottom-left-radius: 0;
}
.ikona-box:nth-of-type(3){
    border-top-right-radius: 0;
}
.ikona-box:nth-of-type(4){
    border-top-left-radius: 0;
}
.ikona-box img {
    max-width: 120px;
}
.ikona-box p {
    text-align: center;
    line-height: 1.3;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-top: 25px;
}


/* - galeria - */
.sekcja-galeria {
    margin: 100px 0 120px;
}
.sekcja-galeria span {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-size: 35px;
    font-weight: 500;
}


/* - kontakt - */
.sekcja-kontakt {
    padding: 80px 0 150px;
    background-color: #f7f7f7;
}
.sekcja-kontakt > .container > .row {
    justify-content: space-between;
    background-color: #fff;
}
.sekcja-kontakt h3 {
    font-family: "Caveat", cursive !important;
    font-size: 50px;
    margin-bottom: 35px;
}
.kontakt-col-form h3::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    margin-top: 10px;
    background-color: #FFC547;
}
.kontakt-col-form {
    padding: 40px !important;
}
form label {
    width: 100%;
    margin-bottom: 30px;
    font-weight: 500;
}
form input[type="text"], 
form input[type="email"], 
form input[type="tel"], 
form textarea {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 2px;
    font-size: 18px;
    margin-top: 10px;
}
.form-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-flex p {
    width: 48%;
}
form > p:last-of-type {
    margin-top: 10px;
}
form input[type="submit"] {
    width: fit-content;
    padding: 8px 35px;
    border: none;
    background-color: #E06900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* border-radius: 50px; */
    border-radius: 20px;
    font-weight: 500;
    font-size: 20px;
    transition: all 0.2s ease-in-out;
}
form .wpcf7-spinner {
    position: absolute;
}
form input:-webkit-autofill,
form input:-webkit-autofill:hover, 
form input:-webkit-autofill:focus, 
form input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
.wpcf7 form .wpcf7-response-output {
    margin: 25px 0 0;
    font-size: 16px;
}
.kontakt-col-mapka {
    padding-right: 0 !important;
}
.kontakt-mapka {
    height: 100%;
}
.kontakt-contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 80px;
    /* margin-bottom: 70px; */
    margin-top: 70px;
}
.kontakt-info-poj {
    width: 300px;
    text-align: center;
}
.kontakt-info-poj:nth-of-type(1) {
    width: 240px;
}
.kontakt-info-poj:nth-of-type(2) {
    width: 360px;
}
.kontakt-info-poj i {
    display: block;
    max-width: fit-content;
    max-height: 65px;
    background-color: #E06900;
    padding: 20px;
    /* border-radius: 50px; */
    border-radius: 20px;
    margin: 0 auto 20px;
    line-height: 1;
    font-size: 25px;
    color: #fff;
}
.kontakt-info-poj p {
    font-size: 20px;
}
.kontakt-info-poj p > span {
    font-family: "Fustat", sans-serif !important;
    font-weight: 600;
}
.kontakt-info-poj a {
    /* font-size: 24px; */
    font-size: 20px;
    letter-spacing: 0.2px;
    color: #E06900;
    transition: all 0.2s ease-in-out;
}
.kontakt-logo {
    max-width: 150px;
}


/* -- FOOTER -- */
footer {

}
.copyright-footer {
    background-color: #231F20;
    padding: 15px 30px;
    text-align: center;
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
}
.copyright-footer * {
    color: #fff;
    font-size: 14px;
}
.copyright-footer a {
    transition: all 0.1s ease-in-out;
}


/* -- PAGE -- */
.page-naglowek {
    height: 350px;
    background-color: #1E293B;
    margin-bottom: 100px;
}
.page-naglowek * {
    color: #fff;
}
.page-naglowek h1 {
    margin-top: 30px;
    font-size: 70px;
    line-height: 96px;
    letter-spacing: 1px;
}
.page-content {
    margin-bottom: 100px;
}
.page-content h2 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.page-content h3 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.page-content p, 
.page-content ul, 
.page-content ol {
    margin-bottom: 15px;
}
.page-content ul > li, 
.page-content ol > li {
    margin-bottom: 5px;
}


/* -- 404 -- */
.sekcja-404 {
    margin: 50px auto 150px;
}
.sekcja-404 h1 {
    font-size: 75px;
    margin: 80px 0 30px;
}
.sekcja-404 .page-content p {
    font-size: 20px;
}
.sekcja-404 .page-content a {
    color: #1F8426;
    font-weight: 600;
    font-size: inherit;
}



/*Tutaj zaczyna się CSS dla komputerów stacjonarnych*/
@media only screen and (min-width: 1399px) {

}
@media only screen and (min-width: 1399px) and (max-width: 1499px) {

}
@media only screen and (min-width: 1199px) and (max-width: 1499px) {

}
@media only screen and (min-width: 1199px) and (max-width: 1399px) {
    .title-logo-cont {
        font-size: 90px !important;
    }
    .sekcja-title h1 {
        font-size: 45px;
    }
    .oferta-tekst h3 {
        font-size: 22px;
    }
    .sekcja-onas {
        margin: 0 0 120px;
    }
    .onas-tekst a {
        font-size: 28px;
    }
    .ikona-box {
        width: 250px;
        height: 220px;
        padding: 20px;
    }
    .ikona-box img {
        max-width: 100px;
    }
    .ikona-box p {
        font-size: 18px;
    }
}


/*Tutaj zaczyna się CSS dla laptopów*/
@media only screen and (min-width: 993px) and (max-width: 1399px) {
    .kontakt-info-poj {
        margin-bottom: 50px;
    }
    .kontakt-logo {
        max-width: 200px;
    }
}
@media only screen and (min-width: 993px) and (max-width: 1199px){
    h2 {
        font-size: 34px;
    }
    h3 {
        font-size: 30px;
    }
    p, a, input {
        font-size: 15px;
    }

    .title-logo-cont {
        font-size: 85px !important;
    }
    .sekcja-title h1 {
        font-size: 40px;
    }
    .sekcja-oferta h2 {
        font-size: 40px;
    }
    .sekcja-oferta .col-12 {
        padding: 0 25px;
        margin-bottom: 40px;
    }
    .sekcja-cta .container {
        justify-content: space-between;
    }
    .sekcja-cta p {
        font-size: 40px;
    }
    .sekcja-cta a {
        font-size: 35px;
    }
    .sekcja-onas {
        margin: 0 0 120px;
    }
    .onas-tekst a {
        font-size: 20px;
    }
    .onas-ikony {
        padding-left: 30px !important;
        row-gap: 10px;
    }
    .ikona-box {
        width: 205px;
        height: 195px;
        padding: 15px;
    }
    .ikona-box img {
        max-width: 80px;
    }
    .ikona-box p {
        font-size: 16px;
    }
    .sekcja-kontakt h3 {
        font-size: 40px;
    }
    .kontakt-contact-info {
        column-gap: 30px;
    }
    .kontakt-info-poj {
        margin-bottom: 30px;
    }
    .kontakt-info-poj:nth-of-type(2) {
        width: 320px;
    }
}
@media only screen and (min-width: 993px) {
    /* HOVER */
    .topmenu a:hover {
        scale: 1.1;
        color: #fff;
    }
    .menu-glowne-container ul li > a:hover {
        scale: none !important;
        background-size: 100% 2px, auto;
        color: #fff;
    }
    .sm-icons-link:hover {
        color: #fff;
        scale: 1.1;
    }
    .title-contact a:hover {
        background-color: #E06900;
        scale: 1.15;
        box-shadow: 0px 0px 20px 0px rgba(180, 180, 180, 0.496);
    }
    .sekcja-cta a:hover {
        background-color: #E06900;
        scale: 1.15;
        box-shadow: 0px 0px 20px 0px rgba(180, 180, 180, 0.496);
    }
    .onas-tekst a:hover {
        scale: 1.1;
        box-shadow: 0px 0px 20px 0px rgb(180, 180, 180);
    }
    .kontakt-info-poj a:hover {
        font-weight: 800;
    }
    form input[type="submit"]:hover {
        scale: 1.1;
    }
    .copyright-footer a:hover {
        color: #FFD65C;
    }

    .sekcja-title {
        max-height: 700px;
    }
}


/*Tutaj zaczyna się CSS dla tabletów*/
@media only screen and (max-width: 992px) {
    h2 {
        font-size: 35px;
    }
    h3 {
        font-size: 28px;
    }
    a:hover {
        color: #231F20;
    }
    .sekcja-title h1 {
        font-size: 40px;
    }
    .sekcja-oferta .col-12 {
        margin-bottom: 40px;
    }
    .kontakt-col-mapka {
        padding: 0;
    }
    .kontakt-mapka iframe {
        height: 250px;
    }
    .footer-logo {
        text-align: center;
        margin-bottom: 40px;
    }
    .sekcja-404 h1 {
        font-size: 60px;
    }
}
@media only screen and (min-width: 767px) and (max-width: 992px) {
    .sekcja-title {
        max-height: 950px;
    }
    .sekcja-oferta h2 {
        font-size: 45px;
    }
    .sekcja-cta {
        min-height: 280px;
    }
    .sekcja-cta-overlay {
        padding: 20px 0;
    }
    .sekcja-onas {
        margin: 0 0 110px;
    }
    .onas-tekst {
        margin-bottom: 120px;
    }
    .onas-tekst span {
        font-size: 38px;
    }
    .onas-tekst h3 {
        font-size: 35px;
    }
    .onas-ikony {
        justify-content: center;
        row-gap: 30px;
        column-gap: 30px;
    }
    .kontakt-contact-info {
        column-gap: 40px;
    }
    .kontakt-info-poj {
        margin-bottom: 40px;
    }
    .kontakt-info-poj:nth-of-type(1), 
    .kontakt-info-poj:nth-of-type(2), 
    .kontakt-logo {
        width: 300px;
        max-width: 300px;
    }
    .kontakt-logo img {
        max-width: 150px;
        display: block;
        margin: auto;
    }
}
@media only screen and (min-width: 767px) {
    .sekcja-title-overlay {
        max-height: inherit;
        display: flex;
        align-items: center;
    }
}


/*Tutaj zaczyna się CSS dla komórek*/
@media only screen and (min-width: 500px) and (max-width: 767px) {

}
@media only screen and (max-width: 767px) {
    h2 {
        margin-bottom: 45px;
    }
    /* h2 {
        font-size: 25px;
    }
    h3 {
        font-size: 20px;
    } */
    main .container {
        padding: 0 20px;
    }
    .top-contact {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .topmenu a {
        font-size: 16px;
        margin-right: 0px;
    }
    .title-logo-cont {
        font-size: 60px !important;
        line-height: 1;
        margin-top: 30px;
    }
    .sekcja-title h1 {
        font-size: 25px;
    }
    .sekcja-title p {
        font-size: 16px;
        margin-bottom: 50px;
    }
    .title-contact a {
        font-size: 22px;
        padding: 10px 25px;
    }
    .title-contact a:first-of-type {
        margin-bottom: 20px;
        margin-right: 0;
    }
    .title-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sekcja-title {
        min-height: 680px;
    }
    .sekcja-oferta {
        padding: 50px 0 80px;
    }
    .sekcja-cta {
        margin: 0;
    }
    .sekcja-cta-overlay {
        padding: 20px 0;
    }
    .sekcja-cta p {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .sekcja-cta a {
        font-size: 30px;
    }
    .onas-tekst span {
        font-size: 30px;
    }
    .onas-tekst h3 {
        font-size: 25px;
    }
    .onas-tekst a {
        display: block;
        margin: 0 auto 15px !important;
        padding: 10px 20px;
        font-size: 25px;
    }
    .onas-ikony {
        padding-left: 12px !important;
        row-gap: 20px;
        margin-top: 40px;
    }
    .ikona-box {
        width: 240px;
        height: 225px;
        padding: 20px;
    }
    .ikona-box img {
        max-width: 100px;
    }
    .ikona-box p {
        font-size: 18px;
    }
    .sekcja-galeria span {
        font-size: 30px;
        line-height: 1.1;
        margin-bottom: 25px;
    }
    .sekcja-onas {
        margin: 0;
    }
    .sekcja-kontakt {
        padding: 80px 0 100px;
    }
    .sekcja-kontakt h3 {
        font-size: 38px;
    }
    .kontakt-info-poj {
        margin-bottom: 40px;
    }
    .kontakt-info-poj i {
        max-height: 55px;
        padding: 15px;
        margin: 0 auto 15px;
        font-size: 22px;
    }
    .kontakt-info-poj p {
        font-size: 20px;
    }
    .kontakt-info-poj a {
        font-size: 20px;
    }

    .form-flex {
        display: block;
    }
    .form-flex p {
        width: 100%;
    }
    .footer-logo {
        margin-bottom: 0;
    }

    .sekcja-404 h1 {
		font-size: 50px;
	}
	.sekcja-404 .page-content p {
		font-size: 16px;
	}
}
@media only screen and (max-width: 399px) {
    p, a, input {
        font-size: 15px;
    }

    .sekcja-404 h1 {
        font-size: 35px;
    }
    .sekcja-404 .page-content p {
        font-size: 16px;
    }
}
@media only screen and (max-width: 350px) {
    .onas-tekst span {
        font-size: 26px;
    }
    .onas-tekst h3 {
        font-size: 22px;
    }
    .sekcja-kontakt h3 {
        font-size: 36px;
    }
    .kontakt-info-poj p {
        font-size: 16px;
    }
    .kontakt-info-poj a {
        font-size: 18px;
    }
}