@charset "UTF-8";

/*
Theme Name: Ostoja Spytkow
Theme URI:
Author: KENNY
Author URI: https://kenny.pl/
Description:
Version: 1.0
Tags: ostoja, spytkow, kenny
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --color-white: #fff;
    --color-black: #000;
    --color-light: #f5f0ed;
    --color-dark: #2d2d2d;
    --admin-bar: 0px;
}

*,*::before,*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

body {
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
    background-color: var(--color-light);
    color: var(--color-black);
    font-size: 15px;
    line-height: 1.65;
}

body.admin-bar { --admin-bar: 32px; }

h1, .h1 {
    font-size: clamp(2rem, 1.31rem + 2.93vw, 3.875rem) !important;
    line-height: 1;
    letter-spacing: -.15rem;

    em {
        font-family: "Instrument Serif", serif;
        font-weight: 400;
        font-style: italic;
    }
}

h2, .h2 {
    font-size: clamp(1.75rem, 1.11rem + 2.73vw, 3.5rem) !important;
    line-height: 1;
    letter-spacing: -.15rem;

    em {
        font-family: "Instrument Serif", serif;
        font-weight: 400;
        font-style: italic;
    }
}

h3, .h3 {
    font-size: clamp(1.25rem, 1.07rem + 0.78vw, 1.75rem);
    line-height: 1;
    letter-spacing: -.05rem;

    em {
        font-family: "Instrument Serif", serif;
        font-weight: 400;
        font-style: italic;
    }
}

a {
    text-decoration: none;
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.navbar .menu-item {
    margin: 20px auto;

    a {
        color: var(--color-black);
        font-size: 18px;
        font-weight: 500;
        transition: opacity .25s ease;
    }
}

@media (hover: hover) {
    .navbar #navMenu .navbar-nav:hover .menu-item a {
        opacity: .55;
    }

    .navbar #navMenu .navbar-nav .menu-item a:hover {
        opacity: 1;
    }
}

.navbar-overlay {
    position: absolute;
    top: var(--admin-bar); 
    left: 0; right: 0;
    z-index: 1030;
    background: transparent;

    .navbar-brand svg { color: var(--color-black); }
    .nav-link { color: var(--color-black); }
    .icon-bar { background: var(--color-black); }
}

.hero {
    min-height: calc(100svh - var(--admin-bar));
    overflow: hidden;

    .video { 
        position: absolute; 
        inset: 0; 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
        z-index: 0; 
        user-select: none;
    }

    .content { 
        z-index: 2; 
        max-width: 658px;
    }
}

.btn {
    border-radius: 6px;
    background-color: var(--color-black);
    border-color: var(--color-black);
    padding: .675rem 1.5rem;
    font-size: .875rem;
    transition: all .25s ease;

    &:hover {
        background-color: var(--color-dark);
        border-color: var(--color-dark);
    }
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    background-color: var(--color-black);
    border-color: var(--color-black);
    opacity: 1;
}

.mw-300 {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.mw-500 {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.mw-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.js-reviews .slick-track {
    display: flex;
    align-items: stretch;
}

.js-reviews .slick-slide {
    height: auto;
}

.js-reviews .slick-list {
    overflow: visible;
}

.js-reviews .mw-800 {
    margin-left: auto;
    margin-right: auto;
}

.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.pt-6 {
    padding-top: 5rem !important;
}

.pb-6 {
    padding-bottom: 5rem !important;
}

.why__cell {
    text-align: center;
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 3rem);
}

.why__cell + .why__cell {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.why__num {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
}

.info__cell {
    text-align: center;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
}

.info__cell + .info__cell {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.info__desc a {
    color: var(--color-black);
}

.pswp__bg {
    background: var(--color-dark);
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-text, .wpcf7-textarea {
    padding: 10px 20px;
}

.form-control {
    border: 1px solid var(--color-light);
}

.form-control:focus {
    box-shadow: none !important;
    border-color: var(--color-dark);
}

.footer a {
    color: var(--color-black);
    
    &.kenny {
        font-weight: 600;
    }
}

.border-top {
    border-top: 1px solid rgba(0, 0, 0, .08) !important;
}

.navbar-toggler span {
    display: block;
    background-color: var(--color-black);
    height: 1.5px;
    width: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all .35s ease-out;
    transform-origin: center left;

    &:nth-child(1) {
        transform: translate(0%, 0%) rotate(0deg);
        margin-top: 0.3em;
    }
    &:nth-child(2) {
        opacity: 1;
    }
    &:nth-child(3) {
        transform: translate(0%, 0%) rotate(0deg);
    }
}
  
.navbar-toggler:not(.collapsed) {

    span:nth-child(1) {
        transform: translate(15%, -33%) rotate(45deg);
    }
    span:nth-child(2) {
        opacity: 0;
    }
    span:nth-child(3) {
        transform: translate(15%, 33%) rotate(-45deg);
    }
}

.navbar-toggler {
    border: 0;

    &:focus {
        box-shadow: none;
    }
}

body.menu-open { overflow: hidden; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: var(--color-light);
        padding: 7rem 2rem 2rem;
        display: block !important;
        height: 100dvh !important;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-toggler {
        position: relative;
        z-index: 1050;
    }

    .navbar-brand {
        position: relative;
        z-index: 1050;
    }

    #navMenu .navbar-nav {
        gap: 1.25rem;
        text-align: center;
    }

    #navMenu a {
        color: var(--color-black);
        font-size: 1.5rem;
        text-decoration: none;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar { --admin-bar: 46px; }
}

@media (min-width: 992px) {
    .why__cell + .why__cell { border-top: 0; }

    .why__cell:nth-child(1) {
        position: relative;
        border-right: 1px solid rgba(0, 0, 0, .08);
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    .why__cell:nth-child(2) { border-bottom: 1px solid rgba(0, 0, 0, .08); }
    .why__cell:nth-child(3) { border-right: 1px solid rgba(0, 0, 0, .08); }

    .navbar .menu-item {
        margin: 0 20px;

        a { 
            font-size: 14px;
        }
    }

    .info__cell + .info__cell {
        border-top: 0;
        border-left: 1px solid rgba(0, 0, 0, .08);
    }
}

/* ---------- CookieYes ---------- */

.cky-consent-container .cky-consent-bar {
    background: #f4f2ee !important;
    border-color: rgba(0, 0, 0, .08) !important;
    font-family: inherit !important;
}

.cky-title,
.cky-notice-des,
.cky-notice-des p {
    color: var(--color-black) !important;
    font-family: inherit !important;
}

.cky-btn-accept {
    background: var(--color-black) !important;
    border-color: var(--color-black) !important;
    color: #fff !important;
}

.cky-btn-reject,
.cky-btn-customize,
.cky-btn-preferences {
    background: transparent !important;
    border-color: var(--color-black) !important;
    color: var(--color-black) !important;
}

.cky-btn {
    border-radius: .375rem !important;
}

.cky-modal .cky-preference-center {
    background: #f4f2ee !important;
    font-family: inherit !important;
}

.cky-preference-title,
.cky-preference-content-wrapper,
.cky-accordion-header-des {
    color: var(--color-black) !important;
}

.cky-switch input[type="checkbox"]:checked {
    background-color: var(--color-black) !important;
}

.cky-btn-revisit-wrapper {
    background-color: #000 !important;
}

.event-box {
    background-color: var(--color-brown);
    background-size: cover;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    color: var(--color-white);
    position: relative;

    &::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            transparent 30%,
            rgba(0, 0, 0, 0.9) 90%,
            rgba(0, 0, 0, 1) 100%
        );
        border-radius: inherit;
    }

    &> * {
        position: relative;
        z-index: 1;
    }
}

.event-box--slideshow {
    position: relative;
}
.event-box__bg--next {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    border-radius: inherit;
    z-index: 0;
}
.event-box > *:not(.event-box__bg--next) {
    position: relative;
    z-index: 1;
}