/* ---------------------------------------------------- Structure */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&amp;display=swap');

:root {
    --darkblue: #16262E;
    --white: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: var(--darkblue);
    background-color: var(--white);
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    transition-duration: .3s;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
section {
    padding: 0;
}
ul li {
    list-style: none;
}

.section-full .container {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 80px 0;
}

/* ---------------------------------------------------- Structure */
.container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}


/* ---------------------------------------------------- Typography */
h1, h2, h3, h4, h5, h6,
header ul li a,
section.services .grid-elements .single-element span,
section.pricelist ul li span,
section.contact a {
    font-family: "Playfair Display", serif;
}
p {
    font-family: "Open Sans", sans-serif;
}
h1 {
    font-size: 80px;
    line-height: 88px;
    font-weight: 700;
}
h2 {
    font-size: 60px;
    line-height: 64px;
    font-weight: 700;
}
h3 {
    font-size: 40px;
    line-height: 44px;
    font-weight: 600;
}
h4 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 500;
}
h5 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
}
h6 {
    font-size: 15px;
    line-height: 17px;
    font-weight: 600;
}
p {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
}
header ul li a {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
}
a {
    color: var(--darkblue);
    text-decoration: none;
}
a:hover {
    color: var(--darkblue);
    opacity: .7;
}


/* ---------------------------------------------------- Buttons */
.btn {
    padding: 20px 40px;
    color: var(--white);
    background-color: transparent;
    border: solid 3px var(--white);
    border-radius: 2px;
    cursor: pointer;
    display: block;
    margin-top: 30px;
    width: fit-content;
}
.btn:hover {
    color: var(--orange);
    background-color: var(--white);
}
.contact-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-btn a {
    padding: 15px 40px;
    font-size: var(--pfont);
    border: 2px solid var(--white);
    background-color: var(--white);
    color: var(--orange);
    border-radius: 2px;
}
.contact-btn a:hover {
    border: 2px solid var(--orange);
    background-color: var(--orange);
    color: var(--white);
}
.btn-stl-1,
.btn-stl-2 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 500;
    padding: 20px 40px;
    border: solid 3px var(--white);
    border-radius: 20px;
    font-family: "Playfair Display", serif;
    display: inline-flex;
}
.btn-stl-1 {
    color:var(--darkblue);
    background-color: var(--white);
    margin-right: 10px;
}
.btn-stl-1:hover {
    color:var(--white);
    background-color: transparent;
}

/* ---------------------------------------------------- Images */
.col-2 img {
    display: block;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------------------------------------------- Header */
header {
    height: auto;
    width: 100%;
    position: fixed;
    background-color: var(--white);
    z-index: 1;
}
header .container {
    padding: 0;
    flex-direction: row;
}

#menu-icon{
    display: none;
    font-size: 2rem;
    z-index: 1001;
    color: var(--hov);
    background-color: #fdf8f4;
}
.sticky-head {
    position: sticky;
    top: 0;
    box-shadow: 0 15px 50px -10px rgb(100 44 0 / 7%);
    z-index: 1000;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}
.show.full{
    position: absolute;
    display: inline-flex;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: black;
    overflow: hidden;
    z-index: 1000;
    animation: show-menu 0.5s ease-in-out both;
}
@keyframes show-menu {
    0%{
        width: 100%;
        height: 0%;
        opacity: 0;
    }
    100%{
        width: 100%;
        height: 100vh;
        opacity: 1;
    }
}
.show.full ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    width: 100%;
}
.show.full ul li a {
    color: white;
}

.menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu ul li {
    list-style: none;
    margin: 2rem;
}


/* ---------------------------------------------------- Home */
section {
    padding: 100px 0;
    position: relative;
}
.section-full .container > * {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
}
section.db {
    background-color: var(--darkblue);
}
section.db h5,
section.db h3,
section.db p {
    color: var(--white);
}
.container h5 {
    margin-bottom: 10px;
}
.container h3 {
    margin-bottom: 25px;
}
.container p {
    margin-bottom: 25px;
}
.container p:last-of-type {
    margin-bottom: 0;
}

.section-full.section1 {
    background-repeat: no-repeat;
    background-size: cover;
    padding: 240px 0 160px 0;
}
.section-full.section1:before,
.section-full.section1:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgb(22,38,46, 1) 0, rgb(22,38,46, .7) 20%, rgb(22,38,46, 0) 100%);
    z-index: 0;
}
.section-full.section1:after {
    background: linear-gradient(90deg, rgb(22,38,46, 1) 0, rgb(22,38,46, .7) 20%, rgb(22,38,46, 0) 100%);
}
.section-full.section1 .container {
    position: relative;
    z-index: 1;
}
.section-full.section1 h3,
.section-full.section1 h1 {
    color: var(--white);
}
.section-full.section1 h1 {
    margin: 0 0 60px 0;
}

.section-full .section-content.col-1 {
    background-color: var(--darkblue);
    position: relative;
}
.section-full .section-content.col-1:before {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: var(--darkblue);
}
.section-full .section-content.col-1 > * {
    position: relative;
    z-index: 1;
    color: var(--white);
}
.section-full .section-content.col-2 img {
    max-width: 200%;
    margin-left: -210px;
}
.section-full.section-about .container {
    flex-direction: row-reverse;
}
.section-full.section-about.two .container {
    flex-direction: row;
}
.section-full.section-about.two .section-content.col-1:before  {
    left: -100%;
    width: 200%;
}
.section-full.section-about.two .section-content.col-2 img {
    margin-right: -210px;
    margin-left: 0;
}


/* ---------------------------------------------------- Services */
section.services .grid-elements {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}
section.services .grid-elements .single-element {
    border: solid 3px var(--white);
    border-radius: 20px;
    padding: 50px 30px;
    display: flex;
    align-items: center;
    min-height: 168px;
}
section.services .grid-elements .single-element img {
    margin-right: 25px;
}
section.services .grid-elements .single-element span {
    color: var(--white);
    font-size: 24px;
    line-height: 34px;
}

/* ---------------------------------------------------- Offer */
section.section-full.offer .container p:nth-of-type(2) {
    max-width: 70%;
}
section.section-full.offer .container p:nth-of-type(3) {
    max-width: 50%;
}
section.section-full.offer .container > img {
    max-width: 70%;
    float: right;
    margin: -32% 0 0 auto;
}

/* ---------------------------------------------------- About */
section.section-about:not(.two) {
    margin-top: -450px;
}

/* ---------------------------------------------------- Cennik */
section.pricelist h4 {
    border-top: solid 1px var(--darkblue);
    border-bottom: solid 1px var(--darkblue);
    margin-top: 50px;
    padding: 20px 0;
}
section.pricelist ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    padding: 80px 0;
    border-bottom: solid 1px var(--darkblue);
}
section.pricelist ul li {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
section.pricelist ul li .price-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
section.pricelist ul li .price-icon img {
    object-fit: contain;
}
section.pricelist ul li span {
    font-size: 24px;
    line-height: 34px;
    font-weight: 500;
    margin-top: 10px;
}

/* ---------------------------------------------------- Testimonials */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.testimonials .slick-slide {
    padding: 0 10px;
}
.testimonials .slick-slide > * {
    margin-bottom: 20px;
}
.testimonials .single {
    border: solid 3px var(--white);
    border-radius: 20px;
    padding: 50px 25px;
    max-width: calc(33.33333% - 20px);
    margin-left: 10px;
    margin-right: 10px;
}
.testimonials .slick-prev:before,
.testimonials .slick-next:before {
    font-size: 40px;
}
.testimonials .slick-prev,
.testimonials .slick-next {
    position: absolute;
    top: 0;
    left: auto;
    right: 30px;
    margin-top: -80px;
}
.testimonials .slick-prev {
    right: 90px;
}


/* ---------------------------------------------------- Kontakt */
section.contact .container {
    text-align: center;
}
section.contact .container a {
    font-size: 40px;
    line-height: 44px;
    margin-top: 30px;
}
.partners {
    margin-top: 100px;
    padding: 35px 0;
    border-top: solid 1px var(--darkblue);
    border-bottom: solid 1px var(--darkblue);
}
.partners ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.partners ul li img {
    max-width: 100%;
}


/* ---------------------------------------------------- Footer */
footer {
    padding: 30px 0;
}
.site-info {
    text-align: center;
}



/* ---------------------------------------------------- Home */


.col-1 {
    padding: 150px 50px;
}
.section-columns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
.section-columns .section-content {
    width: 50%;
    max-width: 50%;
    flex: 1 1 50%;
}
.section-full {
    overflow: hidden;
}
.section-full-img {
    position: relative;
}



/* ---------------------------------------------------- RWD */
@media screen and (max-width: 1320px) {
    .container,
    .section-columns {
        max-width: 1000px;
    }
}
@media screen and (max-width: 1080px) {
    .container,
    header .container,
    header:not(.sticky-head) .container,
    .section-full .container {
        max-width: 100%;
        padding-left: 2%;
        padding-right: 2%;
    }
    section {
        padding: 50px 0;
    }
    section.services,
    section.pricelist {
        padding: 0 0 50px 0;
    }
    section.contact {
        padding: 50px 0 0 0;
    }
    .btn-stl-1, .btn-stl-2 {
        font-size: 18px;
    }
    section.services .grid-elements {
        grid-template-columns: 1fr 1fr;
    }
    section.services .grid-elements .single-element span {
        font-size: 18px;
        line-height: 24px;
    }
    .testimonials .single {
        padding: 30px 15px;
        max-width: calc(50% - 20px);
    }
    .partners ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .partners ul li {
        margin-bottom: 40px;
    }
    .partners ul li a {
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media screen and (max-width: 800px) {
    h1 {
        font-size: 60px;
        line-height: 68px;
    }
    h2 {
        font-size: 40px;
        line-height: 44px;
    }
    h3 {
        font-size: 30px;
        line-height: 34px;
    }
    h4 {
        font-size: 20px;
        line-height: 30px;
        font-weight: 500;
    }
    h5 {
        font-size: 15px;
        line-height: 18px;
    }
    h6 {
        font-size: 13px;
        line-height: 15px;
    }
    p {
        font-size: 14px;
        line-height: 20px;
    }
    header .container {
        justify-content: space-between;
        padding-top: 10px;
    }
    .logo img {
        max-width: 90px;
    }
    .menu ul li {
        margin: 10px 15px;
    }
    .section-columns .section-content.col-1 {
        width: 80%;
        max-width: 80%;
        flex: 1 1 80%;
        z-index: 1;
        background: rgba(22,38,46, .95);
    }
    .section-full .section-content.col-1:before {
        display: none;
    }
    .section-columns .section-content.col-2 {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        position: absolute;
    }
    .section-full .section-content.col-2 img {
        max-width: 100%;
        margin-left: 0;
    }
    section.section-about:not(.two) {
        margin-top: -150px;
    }
    section.pricelist ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
    section.pricelist ul li {
        margin-bottom: 40px;
    }
    .partners ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (max-width: 640px) {
    :root {
    }
    header .container {
        justify-content: center;
    }
    .section-full .container > * {
        text-align: center;
    }
    .section-columns .section-content.col-1 {
        width: 90%;
        max-width: 90%;
        flex: 1 1 90%;
    }
    .section-full.services .container {
        padding: 0 2% 80px 2%;
    }
    section.services .grid-elements {
        grid-template-columns: 1fr;
    }
    section.section-full.offer .container p:nth-of-type(2),
    section.section-full.offer .container p:nth-of-type(3) {
        max-width: 100%;
    }
    section.section-full.offer .container > img {
        margin: 0 auto;
    }
    .testimonials .single {
        padding: 30px 15px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .partners ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
