@charset "UTF-8";

/*
Theme Name: Liva Park
Theme URI:
Author: KENNY
Author URI: https://kenny.pl/
Description:
Version: 1.0
Tags: liva, park, kenny
*/

/* @import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap'); */

:root {
    --color-white: #fff;
    --color-black: #333;
    --color-lion: #b49568;
    --color-grey: #f0f0f0;
    --color-brown: #a58960;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    letter-spacing: -.02rem;
    color: var(--color-black);
    font-size: 14px;
    line-height: 1.65;
}

a {
    text-decoration: none;
}

h2, h3 {
    letter-spacing: .15rem;
    font-weight: 600;
}

main {
    overflow-x: hidden;
}

.bg-dark {
    background-color: var(--color-black) !important;
}

.bg-grey {
    background-color: var(--color-grey) !important;
}

.text-black {
    color: var(--color-black) !important;
}

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

.hero {
    min-height: 100vh;
    overflow: hidden;

    .video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%) scale(1.2);
        object-fit: cover;
        z-index: 1;
    }

    .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 2;
    }

    .content {
        z-index: 3;
        max-width: 376px;
    }

    &::after {
        content: '';
        background-image: url('./assets/images/notch-mobile.svg');
        background-repeat: no-repeat;
        background-size: 100% auto;
        position: absolute;
        bottom: -1px;
        left: 0;
        z-index: 2;
        height: calc(5vw + 2px);
        width: 100%;
        pointer-events: none;
    }
}

.sub-hero {
    background-image: url('./assets/images/bg.jpg');
    background-position: center;
    background-size: cover;
    width: 100%;
}

.liva-card {
    background-color: var(--color-brown);
    background-size: cover;
    border-radius: 1rem;
    aspect-ratio: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-align: center;
    color: var(--color-white);

    &.namioty {
        background-image: url('./assets/images/namioty.jpg');
    }
    &.atrakcje {
        background-image: url('./assets/images/atrakcje.jpg');
    }
    &.wille {
        background-image: url('./assets/images/wille.jpg');
    }
}

.btn {
    border-radius: 5rem;
    font-size: 12px;
    padding: 12px 26px;
    text-transform: uppercase;
    letter-spacing: .05rem;
    font-weight: 600;
    border: 1px solid;

    &.btn-primary {
        background-color: transparent;
        border-color: var(--color-black);
        color: var(--color-black);

        &:hover {
            background-color: var(--color-lion);
            border-color: var(--color-brown);
            color: var(--color-white);
        }
    }

    &.btn-secondary {
        background-color: #ffffff0d;
        border-color: var(--color-white);
        backdrop-filter: blur(6px);

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

.cat-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1rem;
}

.cat-item img {
    transition: opacity .3s ease, transform .3s ease;
    display: block;
}

.cat-item .cat-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05rem;
    opacity: 0;
    text-transform: uppercase;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 1;
}

.cat-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(51,51,51,.9);
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: 1rem;
}

.cat-item:hover img {
    opacity: 0.7;
    transform: scale(1.05);
}

.cat-item:hover::after {
    opacity: 1;
}

.cat-item:hover .cat-overlay {
    opacity: 1;
}

.promo-video {
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
}

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

.mb-6 {
    margin-bottom: 5rem;
}

.mt-6 {
    margin-top: 5rem;
}

.border-bottom {
    border-bottom: 1px solid var(--color-grey) !important;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-text, .wpcf7-date, .wpcf7-textarea {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--color-black);
    border-radius: 0;
    font-size: 14px;
    padding: 12px;

    &:hover, &:focus {
        background-color: transparent;
        box-shadow: none;
        border-bottom: 1px solid var(--color-brown);
    }
}

.form-check-input:checked {
    background-color: var(--color-brown);
    border-color: var(--color-brown);
}

.form-check-input:focus {
    box-shadow: none;
    border-color: var(--color-brown);
}

.wpcf7-not-valid-tip {
    color: var(--color-brown);
    font-size: 12px;
    font-weight: 600;
}

.pswp__bg {
    background: var(--color-black);
    opacity: .9 !important;
}

.pswp__img {
    /* border-radius: 1rem; */
    object-fit: cover;
}

.privacy-policy h2 {
    font-size: 18px;
    text-transform: uppercase;
}

.scroll-down {
    position: absolute;
    right: 0;
    bottom: 5vw;
    left: 0;
    margin: auto;
    width: 28px;
    height: 44px;
    z-index: 2;
}
.mouse {
    width: 2px;
    padding: 8px 12px;
    height: 26px;
    /* border: 1px solid var(--color-white); */
    background-color: #ffffff0d;
    backdrop-filter: blur(6px);
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}
.scroller {
    width: 2px;
    height: 8px;
    border-radius: 25%;
    background-color: var(--color-white);
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

.menu {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 9;
    display: inline-block;
    cursor: pointer;

    .hamburger {
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #ffffff0d;
        border-color: var(--color-white);
        backdrop-filter: blur(6px);
        border-radius: 1rem;
        overflow: hidden;
        transition: all .25s ease;

        span {
            display: block;
            height: 2px;
            width: 24px;
            background-color: var(--color-lion);
            margin-bottom: 3px;

            &:last-of-type {
                margin-bottom: 0;
            }
        }

        &:hover, &.top {
            background-color: var(--color-lion);
            border-radius: 1rem;

            span {
                background-color: var(--color-white);
            }
        }

        &.active {
            background-color: var(--color-lion);
            border-radius: 1rem 1rem 0 0;

            span {
                background-color: var(--color-white);
            }
        }
    }

    .links {
        position: absolute;
        right: 0;
        top: 100%;
        background-color: var(--color-black);
        padding: 20px;
        min-width: 220px;
        border-radius: 1rem 0 1rem 1rem;
        text-align: center;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: all .25s ease;

        &.open {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        li {
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px solid #404040;

            &:last-of-type {
                margin-bottom: 0;
                padding-bottom: 0;
                border-bottom: 0;
            }

            a {
                color: var(--color-white);
                font-weight: 500;
                transition: all .25s ease;

                &:hover {
                    color: var(--color-lion);
                }
            }
        }
    }
}

.air-datepicker-body--day-name {
    color: var(--color-lion);
    font-weight: 600;
}

.air-datepicker-cell.-current- {
    color: var(--color-lion);
    font-weight: 600;
}

.air-datepicker-cell.-focus- {
    background: var(--color-grey);
}

.air-datepicker {
    --adp-font-family: 'Raleway', sans-serif;
    box-shadow: none;
    border: 1px solid var(--color-black);
}

.air-datepicker--pointer:after {
    border-top: 1px solid var(--color-black);
    border-right: 1px solid var(--color-black);
}

.air-datepicker-nav {
    border-bottom: 1px solid var(--color-black);
}

.air-datepicker-cell.-disabled- {
    color: #dadada;
}

.air-datepicker-cell.-selected-, 
.air-datepicker-cell.-selected-.-focus-, 
.air-datepicker-cell.-in-range-, 
.air-datepicker-cell.-range-to-, 
.-in-range-.air-datepicker-cell.-day-.-other-month-,
.-selected-.air-datepicker-cell.-day-.-other-month-, 
.air-datepicker-cell.-in-range-:hover {
    background: var(--color-lion);
    color: var(--color-white);
    border: 0;
}

@media (min-width: 768px) {
    .menu {
        right: 2rem;
        top: 2rem;
    }

    .hero::after {
        background-image: url('./assets/images/notch.svg');
        height: calc(2.5vw + 2px);
    }

    .scroll-down {
        bottom: 3vw;
    }
}