/*
0. Reset
1. Font
2. Menu glowne
3. Slider home
4. Back to top
5. Footer
*/

@import url('https://fonts.googleapis.com/css2?family=Science+Gothic:wght@100..900&display=swap');

/* ------------------------------- 0. Reset ------------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

:focus {
    outline: 0;
}

body {
    line-height: 1;
    color: #000;
    background: #fff;
}

ol,
ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption,
th,
td {
    text-align: left;
    font-weight: normal;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

/* ------------------------------- 1. Font ------------------------------- */

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    letter-spacing: 0.2px;
}

body {
    font-family: "Science Gothic", sans-serif;
    overscroll-behavior-x: none;
    overscroll-behavior-y: none;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.colclear {
    margin: 0;
    padding: 0;
}

.green-mark {
    color: #9BCB08;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
}

/* ------------------------------- 2. Menu glowne ------------------------------- */

:root {
    --adminbar-offset: 0px;
}

@media (min-width: 782px) {
    body.admin-bar {
        --adminbar-offset: 37px;
    }
}

@media (max-width: 781.98px) {
    body.admin-bar {
        --adminbar-offset: 40px;
    }
}

.site-header {
    position: sticky;
    top: var(--adminbar-offset);
    z-index: 1000;
    background: #000;
}

.home .site-header,
.front-page .site-header {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 62%, rgba(0, 0, 0, 0) 100%);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 18px 0;
    padding: 15px 0;
}

.logo-div {
    min-width: 0;
}

.logo,
.logo a {
    display: block;
}

.head-logo,
.site-header .logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.menu-div {
    display: flex;
    justify-content: flex-end;
}

#site-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
    margin-left: 0;
}

.nav-menu {
    position: relative;
    width: auto;
}

.menulinks {
    display: none;
    position: relative;
    width: 38px;
    height: 38px;
    min-width: 38px;
    cursor: pointer;
}

ul.mainmenu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

ul.mainmenu>li {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
}

ul.mainmenu>li>a:link,
ul.mainmenu>li>a:visited {
    position: relative;
    display: inline-block;
    margin: 10px 0;
    padding: 6px;
    color: #fff;
    line-height: 18px;
    text-align: center;
    text-decoration: none;
}

ul.mainmenu>li:not(.menu-rezerwacje)>a::after {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 2px;
    content: "";
    background: #9BCB08;
    border-radius: 999px;
    box-shadow: 0 0 9px rgba(155, 203, 8, 0.72), 0 0 18px rgba(155, 203, 8, 0.28);
    opacity: 0;
    transform: scaleX(0.45);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

ul.mainmenu>li:not(.menu-rezerwacje)>a:hover::after,
ul.mainmenu>li:not(.menu-rezerwacje)>a:focus::after {
    opacity: 1;
    transform: scaleX(1);
}

ul.mainmenu>li>a::first-letter {
    color: #9BCB08 !important;
}

ul.mainmenu>li.menu-rezerwacje>a:link,
ul.mainmenu>li.menu-rezerwacje>a:visited {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

ul.mainmenu>li.menu-rezerwacje>a:hover,
ul.mainmenu>li.menu-rezerwacje>a:focus {
    color: #fff !important;
    border-color: #9BCB08;
    background: rgba(155, 203, 8, 0.12);
    box-shadow: 0 0 0 1px rgba(155, 203, 8, 0.28), 0 0 15px rgba(155, 203, 8, 0.42);
}

ul.mainmenu>li:hover>a,
ul.mainmenu>li>a:focus,
ul.mainmenu>li>a.current,
ul.mainmenu>li.current-menu-item>a,
ul.mainmenu>li.current-menu-parent>a,
ul.mainmenu>li.current-menu-ancestor>a {
    color: #eee !important;
}

ul.mainmenu ul {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 20;
    display: none;
    width: 250px;
    min-width: 220px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

ul.mainmenu li:hover>ul {
    display: block;
}

ul.mainmenu ul li {
    position: relative;
    padding: 6px 0;
}

ul.mainmenu li li a:link,
ul.mainmenu li li a:visited {
    display: block;
    padding: 8px 15px;
    color: #666 !important;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    text-transform: none;
}

ul.mainmenu li li a:hover,
ul.mainmenu ul li.current-menu-item>a {
    color: #689a6c !important;
    background: #f2f2f2;
    border-radius: 10px;
}

ul.mainmenu ul ul {
    left: 100%;
    top: 0;
}

.child-triggerm {
    display: none;
}

@media (min-width: 1024px) {
    ul.mainmenu {
        display: inline-flex !important;
    }
}

@media (max-width: 1023px) {
    .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
        padding: 12px 0;
    }

    .logo-div {
        flex: 1 1 auto;
        max-width: none;
    }

    .menu-div {
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
    }

    .site-header .logo img {
        max-width: 220px;
        width: 100%;
    }

    #site-navigation,
    .nav-menu {
        width: auto;
    }

    .menulinks {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    a.menulinks i,
    a.menulinks i::before,
    a.menulinks i::after {
        display: inline-block;
        width: 30px;
        height: 4px;
        background: #fff;
        border-radius: 5px;
    }

    a.menulinks i {
        position: relative;
        left: -5px;
        top: -2px;
        background: #9BCB08;
        transition-delay: .2s;
    }

    a.menulinks i::before,
    a.menulinks i::after {
        position: absolute;
        left: 0;
        content: "";
        transition-duration: .2s;
    }

    a.menulinks i::before {
        margin-top: -10px;
    }

    a.menulinks i::after {
        margin-top: 10px;
    }

    .mobile-open a.menulinks i {
        background: transparent;
    }

    .mobile-open a.menulinks i::before {
        margin-top: 0;
        transform: rotate(45deg);
    }

    .mobile-open a.menulinks i::after {
        margin-top: 0;
        transform: rotate(-45deg);
    }

    ul.mainmenu {
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        z-index: 9999999;
        display: none;
        width: min(340px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        padding: 18px 22px;
        background: #000;
        border: 1px solid #edf1ed;
        border-radius: 10px;
    }

    ul.mainmenu>li {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #252525;
    }

    ul.mainmenu>li:last-child {
        border-bottom: 0;
    }

    ul.mainmenu>li>a:link,
    ul.mainmenu>li>a:visited {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 18px 44px 18px 0;
        font-size: 18px;
        line-height: 1.2;
        text-align: left;
    }

    ul.mainmenu>li.menu-rezerwacje>a:link,
    ul.mainmenu>li.menu-rezerwacje>a:visited {
        padding: 16px 44px 16px 14px;
        border-color: rgba(155, 203, 8, 0.82);
    }

    ul.mainmenu ul {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 0 0 10px;
        padding: 0 0 6px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    ul.mainmenu li:hover>ul {
        display: none;
    }

    ul.mainmenu>li.is-open>ul {
        display: block;
    }

    ul.mainmenu ul li {
        padding: 0;
    }

    ul.mainmenu ul li a {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 9px 0 9px 18px;
        color: #d8d8d8 !important;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
    }

    ul.mainmenu ul ul {
        padding-left: 12px;
        border-left: 1px solid #333;
    }

    ul.mainmenu ul ul li a {
        padding: 7px 0 7px 14px;
        font-size: 14px;
        font-weight: 400;
    }

    .child-triggerm {
        position: absolute !important;
        top: 9px;
        right: 0;
        z-index: 3;
        display: block !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        cursor: pointer;
        background: transparent;
        border: 0;
        border-radius: 999px;
    }

    ul.mainmenu ul .child-triggerm {
        top: 1px;
    }

    .child-triggerm span,
    .child-triggerm span::after {
        display: block;
        width: 10px;
        height: 2px;
        background: #9BCB08;
    }

    .child-triggerm span {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: 0 !important;
        transform: translate(-50%, -50%);
        transition-duration: .2s;
    }

    .child-triggerm span::after {
        position: absolute;
        content: "";
        transform: rotate(-90deg);
        transition-duration: .2s;
    }

    .child-triggerm.child-open span {
        transform: translate(-50%, -50%) rotate(180deg);
    }

    .child-triggerm.child-open span::after {
        transform: rotate(-180deg);
    }

    ul.mainmenu li.parent>a {
        padding-right: 44px !important;
    }
}

@media (max-width: 767px) {
    .topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .logo-div {
        grid-column: 1;
        grid-row: 1;
    }

    .menu-div {
        grid-column: 2;
        grid-row: 1;
        width: 40px;
        min-width: 40px;
        justify-self: end;
    }

    .site-header .logo img {
        max-height: 50px;
    }

    .menulinks {
        width: 38px;
        height: 38px;
        min-width: 38px;
        flex: 0 0 38px;
    }

    a.menulinks i,
    a.menulinks i::before,
    a.menulinks i::after {
        width: 22px;
    }

    ul.mainmenu {
        top: calc(100% + 10px);
        width: min(320px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
    }
}

/* ------------------------------- 3. Slider home ------------------------------- */

.home-hero-slider {
    position: relative;
    background: #000;
}

.home-hero-slider .mgk-slider,
.home-hero-slider .slick-list,
.home-hero-slider .slick-track {
    min-height: 870px;
}

.home-hero-slider .mgk-slide {
    position: relative;
    min-height: 870px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero-slider .mgk-slide::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: rgba(0, 0, 0, 0.5);
}

.home-hero-slider .boxed-div {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 870px;
    max-width: 1300px;
    margin: 0 auto;
    pointer-events: none;
}

.home-hero-slider .mgk-slide-content {
    box-sizing: border-box;
    width: min(585px, calc(100% - 48px));
    max-width: 585px;
    margin-left: auto;
    padding: 32px 36px;
    color: #fff;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 10px;
    pointer-events: auto;
}

.home-hero-slider .mgk-slide-content h1,
.home-hero-slider .mgk-slide-title {
    margin: 0 0 27px;
    color: #fff;
    font-size: 26px;
    font-style: italic;
    font-weight: 200;
    line-height: 1.18;
}

.home-hero-slider .mgk-slide-content h1 span {
    display: block;
    margin-top: 6px;
    color: #9BCB08;
}

.home-hero-slider .mgk-slide-content h1::first-letter,
.home-hero-slider .mgk-slide-title::first-letter {
    color: #9BCB08;
}

.home-hero-slider .mgk-slide-description {
    color: #fff;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.45;
}

.home-hero-slider .green-mark {
    font-weight: 700;
}

.home-hero-slider .mgk-slide-description p:last-child,
.home-hero-slider .mgk-slide-description :last-child {
    margin-bottom: 0;
}

.home-hero-slider .banner-features {
    display: grid;
    gap: 27px;
}

.home-hero-slider .banner-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-hero-slider .banner-feature__icon {
    flex: 0 0 74px;
    width: 74px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(155, 203, 8, 0.2));
}

.home-hero-slider .banner-feature p {
    margin: 0;
}

.home-hero-slider .mgk-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 10px 18px;
    color: #fff;
    border: 1px solid #9BCB08;
    border-radius: 4px;
}

.home-hero-slider .slick-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.home-hero-slider .slick-dots li {
    display: block;
}

.home-hero-slider .slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);
    border: 0;
    border-radius: 999px;
}

.home-hero-slider .slick-dots .slick-active button {
    background: #9BCB08;
}

@media (max-width: 1023px) {
    .home-hero-slider .mgk-slider,
    .home-hero-slider .slick-list,
    .home-hero-slider .slick-track,
    .home-hero-slider .mgk-slide,
    .home-hero-slider .boxed-div {
        min-height: 480px;
    }

    .home-hero-slider .boxed-div {
        padding: 0 24px;
    }

    .home-hero-slider .mgk-slide-content {
        margin: 0;
        padding: 22px;
    }

    .home-hero-slider .mgk-slide-content h1,
    .home-hero-slider .mgk-slide-title {
        margin-bottom: 20px;
        font-size: 23px;
    }

    .home-hero-slider .mgk-slide-description {
        font-size: 14px;
    }

    .home-hero-slider .banner-features {
        gap: 20px;
    }

    .home-hero-slider .banner-feature {
        gap: 16px;
    }

    .home-hero-slider .banner-feature__icon {
        flex-basis: 50px;
        width: 50px;
    }
}

@media (max-width: 767px) {
    .home-hero-slider .mgk-slider,
    .home-hero-slider .slick-list,
    .home-hero-slider .slick-track,
    .home-hero-slider .mgk-slide,
    .home-hero-slider .boxed-div {
        min-height: 690px;
    }

    .home-hero-slider .boxed-div {
        align-items: flex-start;
        box-sizing: border-box;
        padding: 128px 16px 72px;
    }

    .home-hero-slider .mgk-slide-content {
        width: 100%;
        padding: 18px 20px;
    }

    .home-hero-slider .mgk-slide-content h1,
    .home-hero-slider .mgk-slide-title {
        margin-bottom: 18px;
        font-size: 21px;
        line-height: 1.25;
    }

    .home-hero-slider .mgk-slide-description {
        font-size: 13px;
        line-height: 1.42;
    }

    .home-hero-slider .banner-features {
        gap: 16px;
    }

    .home-hero-slider .banner-feature {
        align-items: flex-start;
        gap: 12px;
    }

    .home-hero-slider .banner-feature__icon {
        flex-basis: 34px;
        width: 34px;
        margin-top: 3px;
    }

    .home-hero-slider .slick-dots {
        bottom: 26px;
    }
}



/* -------------- back to top ------------------- */

/* back to top */

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 17px;
    cursor: pointer;
    display: none;
    z-index: 2000;
    transition: background-color 0.3s ease;
}

#back-to-top:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.progress-circle {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    pointer-events: none;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.progress-circle .circle-bg {
    fill: none;
    stroke-width: 2px;
}

.progress-circle .circle-progress {
    fill: none;
    stroke-width: 2px;
    stroke-dasharray: 100, 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.1s linear;
}

/* --- kolory --- */
#back-to-top {
    background-color: transparent;
    color: #9BCB08;
}

#back-to-top:hover {
    background-color: #9acb080f;
}

.progress-circle .circle-bg {
    stroke: #eee;
}

.progress-circle .circle-progress {
    stroke: #9BCB08;
}



/* ------------------------ 5. Footer -------------------------- */

#footer h2 {
    padding: 0 0 30px 0;
    font-size: 32px;
    color: #000;
    font-weight: 200;
    font-style: italic;
    text-align: center;
}

.stopka {
    background-color: #000;
    text-align: center;
    padding: 50px 0;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
}
