@import "colors.css";
/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

:root {
    --barsIcon: var(--darkGreen);
}
input:required:invalid {
    border: 2px solid red;
}
/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}
.navbar-collapse.show {
    background: #fff !important;
}
.btn:hover {
    color: #fff !important;
}
.prevent-temp {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 22;
    background: #fff;
    width: 100%;
    height: 100%;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    font-family: "Roboto Condensed", sans-serif !important;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}


body,
html {
    position: relative;
    scroll-behavior: smooth;

    margin: 0 !important;
    padding: 0 !important;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    overflow: hidden;
    height: 100%;
}

#cart_tab:has(tbody#cart_data:empty) #save-order{
    display: none !important;
}

.fa-shopping-cart {
    font-size: 25px;

    #amount {
        width: 23px;
        height: 23px;
        display: inline-block;
        background: #000;
        color: #fff;
        text-align: center;
        align-content: center;
        border-radius: 50%;
        position: relative;
        top: -23px;
        font-size: 13px;
        left: -10px;
    }
}

.employee_tabs {
    display: none;
}

#employee_screen {
    background-color: var(--darkGreen);
    color: #fff;

    #listtable, thead, tfoot {

        color: #fff;
    }
}

#employee_nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 20px 0;

    label {
        border: 2px solid #000;
        border-radius: 10px;
        padding: 5px 10px;
        cursor: pointer;

        &:has(input:checked) {
            background-color: black;
            color: #fff;
            border: 2px solid #000;
        }

        &:has(input[data-action="cart"]:checked) {
            background-color: transparent;
            color: #000;
            border: none;
        }
        &:has(input[data-action="cart"]){
            border: none !important;
        }
    }
    input {
        display: none;
    }
}

.amount_holder{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount_holder:has(input[value="1"]) .fa-minus-circle{
    display: none;
}

#show_cart td {
    border: 1px solid;
    padding: 10px;
    text-wrap: balance;
    white-space: nowrap;
    .fas {
        cursor: pointer;
    }

    input[readonly]{
        background-color: transparent;
        border: none;
        color: #fff;
    }
}

#done {
    position: absolute;
    width: 100%;
    background-color: #000;
    top: 50vh;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 6vh;
}

#go_back_employee {
    position: absolute;
    top: 70vh;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 40px;
    width: fit-content;
}

body:has(input[data-action="schedule"]:checked) #schedule_tab {
    display: block !important;
}

body:has(input[data-action="cart"]:checked) #cart_tab {
    display: block !important;
}

body:has(input[data-action='shop']:checked) #shop_tab {
    display: block !important;
    overflow-y: scroll;
    scrollbar-color: white black;
    scrollbar-width: thin;
    height: 80vh;
    position: relative;

    #filter-products {
        position: sticky;
        top: 0;
        background: var(--soft-gray);
        z-index: 2;

    }
}

.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 400px;
}

.row {
    margin: 0 !important;
}

.info-section {
    width:  100%;
    height: 100%;

}

main {
    /*scroll-snap-type: x mandatory;*/
    height: 100%;
}

dialog {
    background-color:#fff !important;
    border: 5px solid #000 !important;
    border-radius: 50px;
    padding: 20px !important;

    header {
        display: flex;
        justify-content: space-between;

        button {
            background: transparent;
            border: navajowhite;
            color: #fff;
            font-size: 30px;
        }
    }
}

#schedule {
    position: relative;

    svg {
        display: none;
    }

    &.inactive {

        svg {
            display: block;
            width: 100%;
            aspect-ratio: 1 /1;
            height: 100%;
            position: absolute;
            z-index: 2;
            background: rgba(255, 255, 255, .6);
        }
    }

    input[type="date"], #service {
        width: 90%;
        margin: auto;
        display: block;
    }
}

.navbar {
    position: fixed !important;
    z-index: 1;
    width: 100%;
    transition: all linear 1s;

    &.initial {
        display: none;
    }

    &.new-account, &.login, &.contacts, &.giftcard, &.complete_order {
        background-color: var(--soft-gray);
        --barsIcon: var(--darkGreen);

        a {
            color: var(--darkGreen);

        }
    }

    &.our-news, &.list-service, &.my_schedule, &.book-service {
        background-color: var(--darkGreen);
        --barsIcon: var(--soft-gray);

        a {
            color: var(--soft-gray);
        }
    }

    img {
        max-width: 40px;
    }
}
#go_to_page {
    position: fixed;
    bottom: -100px;
    left: 50%;
    border-radius: 50%;
    background: #000;
    aspect-ratio: 1 /1;
    width: 150px;
    transform: translateX(-50%);
    text-align: center;
    padding-top: 20px;
    font-weight: bold;
    a {
        color: #fff;
    }
}
iframe {
    height: 90vh !important;
    width: 95vw !important;
}
#main-holder {
    left: 0;
    top: 0;
    background: url("../img/prices-bw.jpg") no-repeat center #000;
    background-size: cover;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/


    form, #contact {
   background-color:  rgba(0,0,0, .8);
        color: #fff;
        margin: 0 !important;
        width: 100%;
    }

    figure {
        margin: 0 0 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: rgba(0,0,0, .8);
        padding: 20px;
        margin: 0;

        img {
            /*width: 300px;*/
            /*aspect-ratio: 1 /1;*/
        }

    }
}


#login {

    background: url('../img/white-logo.png') no-repeat bottom right var(--darkGreenS);
    background-size: 20vw;

    form {
        background: rgba(168, 184, 167, 0.92);
        border-radius: 16px;
        box-shadow: 30px 30px 20px rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5.3px);
        -webkit-backdrop-filter: blur(5.3px);
        color: var(--darkOlive);
        border: 1px solid rgba(173, 160, 138, 0.3);

        input {
            margin-top: 5px;
            background-color: var(--oliveGreenS);
        }

        fieldset {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        button, a {
            background-color: var(--darkOlive) !important;
            color: var(--lightSage) !important;
            border: 1px solid var(--lightSage) !important;
        }
    }
}

#our-news {
    left: 0;
    top: 300vh;
    background: url('../img/logo.png') no-repeat bottom right var(--soft-gray);
    background-size: 20vw;

    figure {
        max-width: 400px;
        margin: auto;
    }
}

#contacts {

    background: url("../img/prices-bw.jpg") no-repeat ;

    iframe {
        width: 100%;
        aspect-ratio: 1/ 1;
    }
}

#giftcard {
    left: 300vw;
    top: 200vh;
    background: url('../img/white-logo.png') no-repeat bottom right var(--darkGreenS);
    background-size: 20vw;

    .giftholder {
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-perspective: 1000px;
        perspective: 1000px;
        width: 70vw;
        margin: auto;
    }

    .front,
    .back {
        background-size: cover;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
        border-radius: 10px;
        background-position: center;
        -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        text-align: center;
        min-height: 280px;
        height: auto;
        border-radius: 10px;
        color: #fff;
        font-size: 1.5rem;
        aspect-ratio: 16/9;
        background-size: contain;

        width: 100%;
        background-repeat: no-repeat;
        background-color: #000;
    }

    .back {
        background: #000;
        /*background: -webkit-linear-gradient(45deg,  #cedce7 0%,#596a72 100%);*/
        /*background: -o-linear-gradient(45deg,  #cedce7 0%,#596a72 100%);*/
        /*background: linear-gradient(45deg,  #cedce7 0%,#596a72 100%);*/
    }

    .front:after {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        content: '';
        display: block;
        opacity: .6;
        background-color: #000;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 10px;
    }

    .giftholder:hover .front,
    .giftholder:hover .back {
        -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
        transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    }

    .back {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .inner {
        -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
        transform: translateY(-50%) translateZ(60px) scale(0.94);
        top: 50%;
        position: absolute;
        left: 0;
        width: 100%;
        padding: 2rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        outline: 1px solid transparent;
        -webkit-perspective: inherit;
        perspective: inherit;
        z-index: 2;
    }

    .giftholder .back {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .giftholder .front {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .giftholder:hover .back , .giftholder.active .back {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        background-color: #EFBF04;
    }

    .giftholder:hover .front , .giftholder.active .front{
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .front .inner p {
        font-size: 2rem;
        margin-bottom: 2rem;
        position: relative;
    }

    .front .inner p:after {
        content: '';
        width: 4rem;
        height: 2px;
        position: absolute;
        background: #C6D4DF;
        display: block;
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: -.75rem;
    }

    .front .inner span {
        color: rgba(255, 255, 255, 0.7);
        font-family: 'Montserrat';
        font-weight: 300;
    }


}

#list-service {
    left: 100vw;
    overflow-y: scroll;
    top: 0;
    background: url('../img/logo.png') no-repeat bottom right var(--soft-gray);
    background-size: 20vw;

    select {
        background-color: var(--lightSave);
        max-width: 500px;
        color: #fff;
    }

    .all-services details {
        display: none;
        background-color: var(--oliveGreenS);
        padding: 20px;
        color: #fff;
        border-radius: 20px;
    }
}

#my_schedule {

     background: url("../img/prices-bw.jpg") no-repeat center #000;


    details {
        summary {
            list-style: none;
            width: 250px;
            background: url("../img/close.png") no-repeat #000;
            color: #fff;
            padding: 10px;
            border-radius: 10px;
            margin: 15px 0;
            background-size: 30px;
            padding-left: 50px;
            background-position: 10px center;
        }

        &[open] summary {
            background: url("../img/open.png") no-repeat #fff;
            color: #000;
            background-position: 10px center;
            background-size: 30px;
            margin: 20px auto;
        }

        article {

            color: #fff;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
        }
    }
}
.schedule-placeholder {
    min-width: 35vw;
    aspect-ratio: 1 /1;
    background: rgba(0,0,0, .8);
    overflow-y: scroll;
}
a.nav-link {
    color: #000 !important;
}
/**/
.logo-holder{
    background-color: #fff;

    img {
        max-width: 300px
    }
}
#book-service {




    .container {
        display: flex;
        align-items: start;
        height: inherit;
        background: rgba(0,0,0,.8);
    }

    select {

    }
}
#booking-bg {
    background: url("../img/prices-bw.jpg") no-repeat center #000;
    background-size: cover;
}
.cancel-visit {
    width: 30px;
    height: 30px;
    display: inline-block;
    font-size: 30px;
    position: relative;
    top: 5px;
    left: 5px;
    cursor: pointer;
    line-height: 27px;
    text-align: center;
}

#today .cancel-visit, #past .cancel-visit {
    display: none;
    visibility: hidden;
}

#booking_process {
    background: url('../img/logo.png') no-repeat bottom right var(--soft-gray);
    background-size: 20vw;
    right: 0;
    top: 400vh;


}
#timeslot {
    width: 100%;
    overflow-y: scroll;
    scrollbar-color: white black;
    scrollbar-width: thin;
    height: 50vh;
    padding: 30px 0;

    .slot{
        border: 1px solid #000;
        color: #000;
        background-color: #129112;
        padding: 15px 5px;
    }
}
.client_name_holder {
    display: none;
}
#lost-password, #passreset {

    background: url("../img/prices-bw.jpg") no-repeat center #000;
    background-size: cover;
}
#new-account {
    right: -200vw;
    top: 0;
    background: url("../img/prices-bw.jpg") no-repeat center #000;
    background-size: cover;

    h2 {
        color: var(--darkOlive);
    }


}
.registration {
    box-shadow: 30px 30px 20px rgba(255, 255, 255, 0.1);
    background: rgba(0,0,0, .8);
    border-radius: 30px;
    color: #fff;


    button {
        background-color: #000;
        color: #fff;
    }

    .glass-bnt-login {
        background-color: #000;
        color: #fff !important;
        margin: 20px auto auto;
        width: 200px;
    }

    label {
        color: #fff !important;

        input {
            background-color: #fff;
            margin-top: 10px;
        }
    }

}
.client_msg {
    min-height: 30vh;
    background: #000 !important;
    color: #fff;


}
.glass-bnt-login {
    background: #000;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.3px);
    -webkit-backdrop-filter: blur(5.3px);
    border: 1px solid rgba(219, 201, 187, 0.3);
    min-width: 120px;
    width: 120px;
    text-align: center;
    color:#fff !important;
    text-decoration: none;
    padding: 10px;

    left: 0;
    top: 60vh;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 45px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.fa-bars {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
}

.fa-bars:before {
    content: "\f0c9";
    font-style: normal;
    color: var(--barsIcon);
}
#registration label:nth-of-type(2n + 6), #password-reset div:nth-of-type(2n + 2){
    opacity: 0;
    position: absolute;
    left: -9999px;
    top: -9999px;
}
@media only screen and (max-width: 900px) {
    .info-section {
        overflow-y: scroll;
        scrollbar-gutter: stable
    }
    body {

        overflow: visible;
    }

    #new-account {
        #registration {
            legend {
                font-size: 14px;
            }

            label {
                font-size: 14px;

                input {
                    height: 25px;
                }
            }

        }
    }
}

#confirm-reservation {
    width: 100vw;
    height: 100vh;
    background: #fff;
    border: navajowhite;
    overflow: hidden;

    img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .book > div {
        height: 90vh;
        width: 45vw;
        overflow: auto;
        background-color: #0a0a0a;
        transform: scale(0.9);
        border-radius: 6px;
        transform-origin: left;
        right: 0;
        position: absolute;
        border: 1px solid;
    }

    .book-cover {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        z-index: 9;
        text-align: center;
        background: linear-gradient(135deg, black 25%, transparent 25%) -50px 0,
        linear-gradient(225deg, black 25%, transparent 25%) -50px 0,
        linear-gradient(315deg, black 25%, transparent 25%),
        linear-gradient(45deg, black 25%, transparent 25%);
        background-size: 2em 2em;
        background-color: #232323;
        color: white;
        transition: transform 2s;
    }

    .book-cover::before {
        content: "";
        position: absolute;
        width: 20px;
        right: 20px;
        top: 0;
        bottom: 0;
        background-color: #fff;
    }

    .separator {
        --separator-size: 8px;
        width: var(--separator-size);
        height: var(--separator-size);
        background-color: #dbd75d;
        margin: 50px auto 60px auto;
        border-radius: 50%;
        position: relative;
    }

    .separator::after,
    .separator::before {
        content: "";
        position: absolute;
        width: 12px;
        background-color: white;
        height: 2px;
        top: calc(50% - 1px);
    }

    .separator::after {
        left: 15px;
    }

    .separator::before {
        right: 15px;
    }

    .book-content {
        transform: scale(0.9) translateY(30px);
        background-color: white !important;
        transition: all 0.3s 1s;

        .book {
            left: 0;
            display: flex;
            align-items: center;
            flex-direction: column;
            height: 90%;
            justify-content: center;
            padding: 20px;
            text-align: center;
            border: 1px solid #000;

        }
    }

    .book-content h3,
    .book-content p {
        opacity: 0;
        transition: all 0.3s 0.3s;
        padding: 0px 30px 10px 30px;
        font-size: 18px;
        text-align: center;
        margin: 10px 0;
    }

    h3 {
        padding: 30px;
    }

    p {
        padding: 0px 30px 10px 30px;
        text-align: justify;
        font-size: 14px;
    }

    .book-cover > div {
        transition: opacity 0s 0.6s;
        width: 80%;
    }

    .book.active > .book-cover {
        transform: rotateY(180deg) scale(0.9);
    }

    .book.active > .book-cover > div {
        opacity: 0;
    }

    .book.active > .book-content {
        transform: scale(0.9) translateY(0px);
    }

    .book.active > .book-content h3,
    .book.active > .book-content p {
        opacity: 1;
    }
}

#date-selected, #service {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 5px 10px;
}

.booked, .admin_allowed {
    background-color: #fff;
    pointer-events: none;
    position: relative;
    color: #000;
    border: 1px solid;

    &:after {
        content: 'Запазен / Booked';
        position: absolute;
        left: 0;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        width: 100%;
        height: 100%;
        background-color: #000;
    }
}