:root {
    --containerWidth: 1140px;
    --containerSpace: calc(calc(calc(100% - var(--containerWidth)) / 2) + 15px);
}

* {
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-behavior: smooth;
    outline: 0 !important;
}

body {
    font-size: 16px;
}

a,
a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.wow {
    visibility: hidden;
}

.toggle-menu {
    display: none;
}

.main-slider {
    position: relative;
}

.pageLoader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms;
}


#loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 6px solid var(--teal);
    transition: 300ms;
    animation: l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

@keyframes l20-1 {
    0% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%)
    }
    12.5% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%)
    }
    25% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%)
    }
    50% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
    }
    62.5% {
        clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
    }
    75% {
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%)
    }
    100% {
        clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%)
    }
}

@keyframes l20-2 {
    0% {
        transform: scaleY(1) rotate(0deg)
    }
    49.99% {
        transform: scaleY(1) rotate(135deg)
    }
    50% {
        transform: scaleY(-1) rotate(0deg)
    }
    100% {
        transform: scaleY(-1) rotate(-135deg)
    }
}

.hide {
    display: none !important;
}

.main-header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 99;

    .logo {
        min-width: 200px;
    }

    .header-bar-container {
        padding: 15px 0;
        transition: 300ms;

        nav {
            &.contacts {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                gap: 30px;
            }

            a {
                font-size: 14px;
                color: #000;

                i {
                    margin-right: 10px;
                }
            }
        }
    }

    &.fixed-bar .header-bar-container {
        margin-top: -40px;
        opacity: 0;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #E6E6E6;
        padding: 15px 30px;
        border-radius: 8px;

        .menu {
            width: 100%;

            ul {
                list-style: none;
                padding: 0;
                margin: 0;
                display: flex;
                align-items: center;

                li > a {
                    color: #000;
                    padding: 10px 10px;
                    transition: 300ms;
                    border-radius: 8px;
                    font-size: 14px;

                    &:hover {
                        background: #c4c4c4;
                    }
                }
            }
        }
    }

    .actions a {
        white-space: nowrap;
    }
}

.main-sliders {
    position: relative;

    .slider-content {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-start;
        padding-top: 200px;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;

        .content-wrapper {
            width: 70%;

            h1 {
                margin-bottom: 30px;
            }

            .description {
                font-size: 14px;
                margin-bottom: 40px;
            }

            .btn-white {
                background: #fff;

                &:hover {
                    background: #bebebe;
                }
            }
        }
    }

    img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        max-height: 80vh;
    }

    .owl-dots {
        position: absolute;
        left: var(--containerSpace);
        bottom: 100px;
        display: flex;
        gap: 10px;
        z-index: 99;

        .owl-dot {
            width: 10px;
            height: 10px;
            display: block;
            border-radius: 100%;
            background: #fff;
            opacity: .5;

            &.active {
                opacity: 1;
            }
        }
    }

    width: calc(100% - 100px);
    margin-left: 50px;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.btn {
    border-radius: 8px;

    i {
        font-weight: lighter;
        margin-right: 10px;
    }
}

.breadcrumb {
    width: calc(100% - 100px);
    margin-left: 50px;
    border-radius: 0 0 10px 10px;
    background: #F5F5F5;
    padding-top: 170px;
    padding-bottom: 20px;
    margin-bottom: 60px;

    h1 {
        font-size: 35px;
        font-weight: bolder;
        margin-bottom: 5px;
    }

    ul {
        color: #6B6B6B;
        display: flex;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 14px;

        li:not(:last-child) > a {
            color: #000;

            &:after {
                content: '\f105';
                font-family: 'Font Awesome 5 Pro';
                margin: 0 10px;
                color: #000;
            }
        }
    }
}

.form-control {
    background: #F1F1F1;
    border: 0;
    padding: 15px;
    height: unset;
    border-radius: 8px;
    transition: 300ms;

    &:focus {
        box-shadow: none;
        background: #e8e8e8;
    }
}

.btn:not(.btn-sm) {
    padding: 10px 30px;
    font-weight: 400;
}

.btn {
    &:focus, &:active {
        box-shadow: none !important;
    }
}

.custom-form-check {
    position: relative;

    input {
        width: 1px;
        height: 1px;
        opacity: 0;
        position: absolute;
        left: 0;
        top: 0;

        &:checked + label:before {
            opacity: 0;
        }

        &:checked + label:after {
            opacity: 1;
        }
    }

    label {
        transition: 300ms;
        display: flex;
        align-items: center;
        gap: 15px;
        user-select: none;
        cursor: pointer;

        &:before {
            content: '';
            width: 20px;
            height: 20px;
            background: #F1F1F1;
            border-radius: 4px;
            transition: 300ms;
        }

        &:after {
            content: '\f00c';
            width: 20px;
            height: 20px;
            background: #00c01e;
            border-radius: 4px;
            transition: 300ms;
            font-family: 'Font Awesome 5 Pro';
            position: absolute;
            left: 0;
            top: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 500;
            color: #fff;
            opacity: 0;
        }
    }
}

.auth-form {
    position: relative;
    max-width: 560px;
    width: 100%;
    margin: 50px auto 0 auto;

    .form-header {
        margin-bottom: 30px;

        .title {
            font-size: 25px;
            margin-bottom: 0;
            font-weight: bolder;
        }

        .description {
            opacity: 70%;
            font-size: 14px;
            margin-bottom: 0;
        }
    }

    .form-body > div {
        margin-bottom: 20px;

        .forgot-password-link {
            color: #858585;
            transition: 300ms;
            display: block;
            text-align: right;
            margin-bottom: 4px;

            &:hover {
                color: #000;
            }
        }
    }
}

.reservation-form {
    position: relative;
    max-width: 560px;
    width: 100%;
    margin: 50px auto 0 auto;

    .form-header {
        margin-bottom: 30px;

        .title {
            font-size: 25px;
            margin-bottom: 0;
            font-weight: bolder;
        }

        .description {
            opacity: 70%;
            font-size: 14px;
            margin-bottom: 0;
        }
    }

    .form-body {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        div {
            width: 100%;
            margin-bottom: 20px;
            position: relative;

            > i {
                position: absolute;
                left: 0;
                top: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #818181;
                height: 54px;
                width: 54px;
            }

            > .form-control {
                padding-left: 50px;
            }

            > label {
                position: absolute;
                left: 51px;
                top: 0;
                height: 100%;
                background: #f1f1f1;
                width: calc(100% - 104px);
                display: flex;
                align-items: center;
                justify-content: flex-start;
                transition: 300ms;
                color: #7a7a7a;
                font-size: 17px;
            }
        }

        .name-fields {
            width: calc(50% - 10px);
        }
    }

    .form-footer p {
        text-align: center;
        margin-top: 30px;

        > a {
            font-weight: 500;
            font-size: 18px;
            display: block;
            color: #28a745
        }
    }
}

.form-body > div:has(input:focus) label,
.form-body > div:has(input:valid) label {
    display: none;
}

.alert {
    border-radius: 8px;
}

.main-footer {
    margin: 60px 50px 50px 50px;
    width: calc(100% - 100px);
    border-radius: 15px;
    background: #F5F5F5;
    overflow: hidden;

    .footer-menu {
        background: #E6E6E6;

        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;

            a {
                padding: 30px 10px;
                display: block;
                color: #5B5B5B;
                font-size: 14px;
                text-transform: uppercase;
                transition: 300ms;

                &:Hover {
                    opacity: .5;
                }
            }
        }
    }

    .footer-container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 40px 0;

        .logo {
            width: 30%;

            img {
                margin-bottom: 20px;
                max-width: 200px;
            }

            p {
                margin: 0;
                font-size: 14px;
                opacity: .5;
            }
        }

        .contacts {
            width: 25%;
            padding: 0 30px;

            a {
                display: block;
                color: #000;
                padding: 5px 0;
                opacity: .5;
                transition: 300ms;

                &.phone {
                    font-size: 18px;
                    font-weight: 700;
                }

                &:Hover {
                    opacity: 1;
                }
            }
        }

        .socials {
            width: 45%;
            border: 1px solid #E6E6E6;
            padding: 30px;
            border-radius: 10px;

            .socials-nav {
                display: flex;
                gap: 30px;
                margin-bottom: 20px;

                .title {
                    margin: 0;
                    opacity: .5;
                }

                nav {
                    display: flex;
                    gap: 30px;

                    a {
                        color: #000;
                        transition: 300ms;
                        opacity: .5;

                        &:Hover {
                            opacity: 1;
                        }
                    }
                }
            }

            .copyright-text {
                font-size: 14px;
                opacity: .5;
                margin: 0;
            }
        }
    }
}

.main-about {
    margin: 120px 0;

    .about-container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 50px;

        > div {
            width: 50%;

            img {
                border-radius: 15px;
                width: 100%;
                aspect-ratio: 1;
                object-fit: cover;
                position: sticky;
            }
        }
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;

    h2 {
        margin: 0;
        font-weight: 700;
    }

    > a {
        padding: 10px 30px;
        display: inline-block;
        border-radius: 6px;
        border: 1px solid #000;
        color: #000;
        font-weight: 500;
        transition: 300ms;

        &:hover {
            background: #000;
            color: #fff;
        }
    }
}

.articles-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: 15px;

    .article {
        width: calc(33.3% - 30px);
        margin: 15px;

        .image img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .date {
            margin-bottom: 5px;
            font-size: 14px;
            opacity: .7;
        }

        .title {
            display: block;
            font-weight: 600;
            color: #000;
            margin: 0 0 20px 0;
            font-size: 18px;
            transition: 300ms;

            &:hover {
                opacity: .5;
            }
        }

        .read-more {
            opacity: .6;
            font-size: 14px;
            color: #000;
            display: inline-block;
            transition: 300ms;

            &:after {
                content: '\f105';
                font-family: 'Font Awesome 5 Pro';
                margin-left: 5px;
            }

            &:hover {
                opacity: 1;
            }
        }
    }
}

.help-widget {
    display: flex;
    margin: 50px 0;
    background: #F5F5F5;
    padding: 50px 50px 50px 290px;
    position: relative;
    border-radius: 8px;

    .icon {
        width: 200px;
        position: absolute;
        left: 50px;
        top: -25px;
        height: calc(100% + 50px);
        background: #EAEAEA;
        color: #707070;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 55px;
    }

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

        .title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .description {
            margin: 0;
            font-size: 14px;
            opacity: .7;
        }

        .button {
            margin-left: 40px;

            a {
                white-space: nowrap;
                background: #EAEAEA;
                display: inline-block;
                padding: 15px 50px;
                border-radius: 8px;
                color: #000;
                font-weight: 600;
                transition: 300ms;

                &:hover {
                    background: #c9c9c9;
                }
            }
        }
    }
}

.page-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 100px;

    .sidebar {
        min-width: 300px;
        position: sticky;
        top: 120px;
        background: #F5F5F5;
        padding: 15px;
        border-radius: 8px;

        .title {
            display: block;
            border-radius: 8px;
            background: #E6E6E6;
            padding: 10px 20px;
            font-weight: 600;
            font-size: 18px;
            margin-bottom: 10px;
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 0;

            li > a {
                transition: 300ms;
                padding: 10px;
                display: block;
                color: #000;
                opacity: .6;
                border-radius: 8px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;

                &:before {
                    content: '\f105';
                    font-family: 'Font Awesome 5 Pro';
                    margin-right: 5px;
                }

                &:hover {
                    opacity: 1;
                }

                &.active {
                    background: #ececec;
                    opacity: 1;
                }
            }
        }
    }

    .content {
        .image {
            margin-bottom: 30px;
            border-radius: 15px;
            overflow: hidden;
        }
    }
}

.contacts-container {
    display: flex;
    gap: 50px;

    > div {
        flex: 1;

        h2 {
            font-size: 25px;
            font-weight: 600;
            margin-bottom: 30px;
        }

        form input, form textarea {
            display: block;
            width: 100%;
            margin-bottom: 20px;
            padding: 15px;
            border-radius: 8px;
            border: 0;
            background: #F1F1F1;
            font-size: 14px;
        }

        form button {
            background: #858585;
            border: 0;
            padding: 15px 50px;
            border-radius: 8px;
            font-weight: 600;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 14px;
            transition: 300ms;

            &:hover {
                background: #5f5f5f;
            }
        }

        .contact-card {
            margin-bottom: 30px;
            display: flex;
            align-items: center;

            .icon {
                width: 80px;
                height: 80px;
                background: #F5F5F5;
                color: #646464;
                border-radius: 8px;
                margin-right: 15px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 20px;
            }

            .content {
                width: calc(100% - 80px);

                .title {
                    margin: 0;
                    font-size: 14px;
                    color: #6d6d6d;
                }

                .value {
                    display: block;
                    font-size: 18px;
                    color: #000;
                }
            }
        }
    }
}

.gap-2 {
    gap: 20px;
}

.reservation-container {
    width: calc(100% - 100px);
    margin: auto;

    .file-manager-menu a {
        color: #000;
        white-space: nowrap;
        display: block;
        padding: 5px 0;
        transition: 300ms;

        &:Hover {
            color: var(--success);
        }
    }

    table {
        border-radius: 8px;
        overflow: hidden;

        tr {
            position: relative;

            &:hover td {
                background: #f3f3f3;
            }

            &:nth-child(even) td {
                background: #fafafa;
            }

            .name span:Hover {
                cursor: pointer;
            }
        }
    }
}

.dropzone {
    min-height: 230px;
    border: 2px dashed #eee;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;

    .dz-message {
        font-size: 24px;
        width: 100%;
        margin: 1em 0;
    }
}

.modal button.btn-close {
    background: transparent;
    border: 0;
}

.reservation-table-container {
    padding: 15px 15px 10px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 30px;

    table{
        width: 100%;

        td, th{
            padding: 15px;
        }

        tr{
            &:not(:last-child) td{
                border-bottom: 1px solid #ddd;
            }
        }

        thead th{
            background: #ddd;

            &:first-child{
                border-top-left-radius: 8px;
                border-bottom-left-radius: 8px;
            }

            &:last-child{
                border-top-right-radius: 8px;
                border-bottom-right-radius: 8px;
            }
        }
    }

    .reservation-status-badge{
        padding: 5px 10px;
        display: inline-block;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        border-radius: 8px;
    }

    .redirect-btn{
        background: #AEAEAE;
        color: #fff;
        padding: 5px 10px;
        border-radius: 8px;
        font-size: 12px;
        display: inline-block;
        transition: 300ms;
    }

    .redirect-btn:Hover{
        background: dimgrey;
    }
}

@media (min-width: 993px) {
    .main-header {
        & .header-container {
            & .menu {
                & ul {
                    li.action-item {
                        display: none;
                    }
                }
            }

            & .actions {
                display: flex;
                align-items: center;
                gap: 10px;
            }
        }
    }
}

@media (max-width: 992px) {
    .main-header {
        top: 10px;
        z-index: 99;

        .header-bar {
            display: none;
        }

        .menu {
            position: fixed;
            z-index: 99;
            left: 15px;
            top: 100px;
            width: calc(100vw - 3px) !important;
            background: rgba(255, 255, 255, 0.9);
            height: auto;
            border-radius: 8px;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
            padding: 30px !important;
            display: none;

            ul {
                flex-direction: column;

                li {
                    width: 100%;
                }

                a {
                    display: block;
                    font-weight: 600;
                    color: #000;
                    text-align: left;
                }
            }
        }

        .actions .btn {
            display: none;
        }

        .header-container {
            padding: 10px;
        }
    }

    .main-sliders {
        width: calc(100% - 10px);
        margin-left: 5px;

        .slider-content {
            .content-wrapper {
                width: 100%;

                .description {
                    display: none;
                }

                .buttons {
                    display: flex;
                    gap: 10px;

                    a {
                        font-size: 12px;
                    }
                }
            }
        ;
            align-items: flex-end;
            padding-bottom: 20px;
            padding-top: 0;
        }

        img {
            width: 100%;
            height: 40vh;
        }

        h1 {
            font-size: 18px;
        }
    }

    .main-about {
        margin: 30px 0;

        .about-container {
            flex-direction: column;
            gap: 25px;

            > div {
                width: 100%;
            }
        }
    }

    .section-header {
        flex-direction: column;
        margin-bottom: 20px;
        row-gap: 15px;

        h2 {
            margin: 0;
            font-weight: 700;
        }
    }

    .articles-container {
        margin-left: 0;
        margin-right: 0;

        .article {
            width: 100%;
        }
    }

    .help-widget {
        padding: 30px;
        flex-direction: column;

        .icon {
            position: unset;
            width: 70px;
            height: 70px;
            font-size: 25px;
            margin-top: -50px;
        }

        .content {
            flex-direction: column;
            gap: 25px;
            margin-top: 25px;

            > div {
                width: 100%;
            }

            .button {
                margin-left: 0;
            }
        }
    }

    .main-footer {
        width: calc(100% - 10px);
        margin-left: 5px;
        margin-bottom: 10px;


        .footer-menu {
            ul {
                flex-direction: column;

                a {
                    padding: 10px 0;
                    width: 100%;
                }
            }
        }

        .footer-container {
            flex-direction: column;
            row-gap: 30px;

            > div {
                width: 100% !important;
            }

            .contacts {
                padding: 0;
            }
        }
    }

    body.open-menu {
        .toggle-menu {
            i:before {
                content: '\f00d';
            }
        }

        .main-header {

            .menu {
                display: flex;
            }
        }
    }

    .toggle-menu {
        display: flex;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: #d6d6d6;
        border-radius: 8px;
        transition: 300ms;
        color: #8d8d8d;
    }

    .breadcrumb {
        width: calc(100% - 10px);
        margin-left: 5px;

        h1 {
            font-size: 25px;
        }

        ul {
            overflow: auto;
            max-width: 100%;

            li {
                white-space: nowrap;

                a {
                    white-space: nowrap;
                }
            }
        }
    }

    .page-container {
        flex-direction: column;
        row-gap: 30px;

        .sidebar {
            width: 100%;
        }
    }

    .contacts-container {
        flex-direction: column;
        row-gap: 25px;
    }

    .file-manager-menu {
        display: none;
    }

    .file-manager-content {
        padding: 0 !important;
    }
}
