@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('woff2'),
}

:root {
    --dark: #2e4344;
    --mid: #ede4ce;
    --accent: #946343;
    --btn: #5aa0a2;
    --logo-color: #c79b50;
    --white: #fff;
    --black: #000;
}

*,
::after,
::before {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

ul li {
    list-style: none;
}

a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Montserrat';
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}

main {
    flex-grow: 1;
}

[class*="__container"] {
    max-width: 1230px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* Header */

.header {
    background: var(--dark);
    padding-block: 30px;
}

.header__container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex: 1;
}

.header-logo img {
    width: 120px;
}

.header-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.header-menu {
    flex: 3;
    display: flex;
    flex-direction: row;
    gap: 15px;
    text-align: center;
}

.header-contact a,
.header-menu a {
    color: var(--white);
    transition: all 0.7s;
}

.header-contact a:hover,
.header-menu a:hover {
    color: var(--mid);
}

.burger-btn {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 50;
}

.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transition: 0.3s all;
}

.burger-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: 0.3s all;
}

.burger-icon span:nth-child(1) {
    top: 0;
}

.burger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-icon span:nth-child(3) {
    bottom: 0;
}

.burger-icon.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 600px) {


    .header-contact {
        display: none;
    }



    body.lock {
        overflow: hidden;
    }

    .burger-btn {
        display: block;
    }

    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 20px 30px;
        transition: 0.5s all;
        z-index: 5;
    }

    .header-menu.active {
        right: 0;
    }

    .header-menu a {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .header-btn {
        margin-left: auto;
    }
}

/* Hero */

.hero-section::before {
    z-index: 1;
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    opacity: 0.5;
}

.hero__container {
    z-index: 2;
    position: relative;
    color: var(--mid);
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 700px;
}

.hero__container h1 {
    font-size: 30px;
    letter-spacing: 8px;
    font-weight: 400;
}

.hero__container h2 {
    font-size: 80px;
    letter-spacing: 8px;
}

.hero-btn {
    letter-spacing: 2px;
    color: var(--mid);
    background: var(--dark);
    width: fit-content;
    padding: 15px;
    border: 1px solid var(--mid);
    transition: all 0.7s;
}

.hero-btn:hover {
    background-color: var(--logo-color);
}

@media (max-width:600px) {
    .hero-section {
        padding-block: 200px;
    }

    .hero__container {
        max-width: auto;
    }

    .hero__container h1 {
        font-size: 22px;
    }

    .hero__container h2 {
        font-size: 50px;
    }
}

/* Info */

.info-section {
    display: flex;
    flex-direction: row;
    position: relative;
}

.info-block {
    flex: 1;
    text-align: center;
    color: var(--white);
    padding-block: 50px;
}

.info-block h3 {
    font-size: 22px;
    text-transform: uppercase;
}

.info-block ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-1 {
    background: var(--accent);
    position: relative;
}

.info-2 {
    background: var(--btn);
    position: relative;
}

.info-contant {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width:600px) {
    .info-section {
        flex-direction: column;
    }

    .info-block h3 {
        font-size: 19px;
    }
}

/* About */

.about-section {
    background: var(--dark);
    color: var(--white);
    padding-block: 100px;
}

.about__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}



.about-image img {
    width: 100%;
}

.about-contants {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 3px solid var(--mid);
    padding-left: 30px;
}

.about-contants h3 {
    font-size: 22px;
    font-weight: 400;
}

.about-text-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width:600px) {

    .about__container {
        flex-direction: column;
    }

    .about-image {
        height: auto;
        width: 100%;
        padding-block: 150px;
    }

    .about-contants h3 {
        font-size: 19px;
    }
}

/* Link */

.link-section {
    background: var(--dark);
    padding-block: 100px;
}

.link__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: center;

}

.link-item {
    flex: 1;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--mid);
}

.link-item a {
    color: var(--mid);
    font-size: 35px;
}



@media (max-width:600px) {

    .link-block {
        flex-direction: column;
    }

    .link-item {
        width: 100%;
        padding-block: 150px;
        flex-direction: column;
    }

    .link-item a {
        font-size: 30px;
    }
}

/* Rest */

.rest-section {
    background: var(--mid);
    padding-block: 100px;
}

.rest__container {
    position: relative;
}

.rest-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.rest-contant {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    background-color: rgba(47, 74, 74, 0.95);
    color: var(--white);
    padding: 40px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.rest-contant h3 {
    font-size: 22px;
    font-weight: 400;
    color: var(--mid);
}

.rest-btn {
    letter-spacing: 2px;
    color: var(--white);
    background: var(--btn);
    width: fit-content;
    padding: 15px;
    border: 1px solid var(--mid);
    transition: all 0.7s;
}

.rest-btn:hover {
    background-color: var(--logo-color);
}

@media (max-width: 1024px) {
    .rest-contant {
        width: 60%;
        padding: 30px;
    }

    .rest-contant h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .rest-contant {
        position: static;
        width: 100%;
        height: auto;
        padding: 25px;
    }

    .rest__container {
        display: flex;
        flex-direction: column;
    }

    .rest-bg {
        order: 1;
        width: 100%;
        height: auto;
    }

    .rest-contant {
        order: 2;
    }
}

@media (max-width: 480px) {
    .rest-contant {
        padding: 20px;
        gap: 10px;
    }

    .rest-contant h3 {
        font-size: 18px;
    }

    .rest-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* Slider */

.slider-section {
    background: var(--dark);
    padding-block: 100px;
}

.slider {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.slider-block {
    flex: 0 0 100%;
    box-sizing: border-box;
    height: 300px;
    padding: 70px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
}



.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--btn);
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.7s;
}

.prev:hover,
.next:hover {
    background-color: var(--dark);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

@media (max-width:600px) {

    .prev,
    .next {
        padding: 10px;
        font-size: 12px;
    }
}

/* Galery */

.galery-section {
    padding-block: 100px;
    background: var(--dark);
}

.galery-section h3 {
    text-align: center;
    font-size: 35px;
    font-weight: 400;
    color: var(--mid);
    padding-bottom: 30px;
}

.galery__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.galery {
    flex-basis: 291px;
    height: 286px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.galery:nth-child(6n + 3),
.galery:nth-child(6n + 4) {
    flex-basis: 408px;
}



.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
    position: absolute;
    color: white;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
}

.lightbox .close {
    top: 20px;
    right: 30px;
    font-size: 35px;
}

.lightbox .prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.lightbox .next {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

@media (max-width:600px) {

    .galery {
        flex-basis: 100%;
    }
}


/* History */

.history-section {
    background: var(--dark);
    color: var(--white);
    padding-block: 100px;
}

.history__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}



.history-image img {
    width: 100%;
}

.history-contants {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 3px solid var(--mid);
    padding-block: 80px;
    padding-left: 30px;
}

.history-contants h3 {
    font-size: 22px;
    font-weight: 400;
}

.history-text-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-contants ul,
.history-contants ul li {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width:600px) {

    .history__container {
        flex-direction: column;
    }

    .history-image {
        padding-block: 150px;
        width: 100%;
    }
}

/* Footer */

.footer {
    padding: 50px;
    background: var(--dark);
    border-top: 1px solid var(--mid);
}

.footer__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.footer-block {
    flex: 1;
}


.footer-logo img {
    width: 200px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 10px 50px;
    border-left: 1px solid var(--mid);
    border-right: 1px solid var(--mid);
}

.footer-menu a {
    color: var(--white);
    transition: all 0.7s;
}

.footer-menu a:hover {
    color: var(--mid);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--white);
}

.footer-contact a {
    color: var(--white);
    transition: all 0.7s;
}

.footer-contact a:hover {
    color: var(--mid);
}

@media (max-width:600px) {
    .footer {
        padding: 50px;
        background: var(--dark);
        border-top: 1px solid var(--mid);
    }

    .footer__container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        width: 200px;
    }

    .footer-menu {
        flex-wrap: wrap;
        padding: 0;
        border-left: 0;
        border-right: 0;
        border-top: 1px solid var(--mid);
        border-bottom: 1px solid var(--mid);
        padding: 20px 0;
    }

}

/* Hero Page */



.hero-page-section::before,
.hero-page-2-section::before,
.hero-page-3-section::before,
.hero-page-4-section::before,
.hero-page-5-section::before,
.hero-page-6-section::before {
    z-index: 1;
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    opacity: 0.7;
}

.hero-page__container {
    z-index: 2;
    position: relative;
    color: var(--mid);
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 900px;
}

.hero-page__container h1 {
    font-size: 30px;
    letter-spacing: 8px;
    font-weight: 400;
}

.hero-page__container h2 {
    font-size: 60px;
    letter-spacing: 8px;
}

.hero-page-btn {
    letter-spacing: 2px;
    color: var(--mid);
    background: var(--dark);
    width: fit-content;
    padding: 15px;
    border: 1px solid var(--mid);
    transition: all 0.7s;
}

.hero-page-btn:hover {
    background-color: var(--logo-color);
}

@media (max-width:600px) {
    .hero-page-section {
        padding-block: 200px;
    }

    .hero-page-2-section {
        padding-block: 200px;
    }

    .hero-page-3-section {
        padding-block: 200px;
    }

    .hero-page-4-section {
        padding-block: 200px;
    }

    .hero-page-5-section {
        padding-block: 200px;
    }

    .hero-page-6-section {
        padding-block: 200px;
    }

    .hero-page__container {
        max-width: 100%;
    }

    .hero-page__container h1 {
        font-size: 22px;
    }

    .hero-page__container h2 {
        font-size: 30px;
        letter-spacing: 2px;
    }
}

/* About-page */



@media (max-width:600px) {
    .about-image-page-1 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-2 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-3 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-4 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-5 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-6 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-7 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-8 {
        padding-block: 150px;
        width: 100%;
    }

    .about-image-page-8 {
        padding-block: 150px;
        width: 100%;
    }
}

/* History-page */



@media (max-width:600px) {
    .history-image-page-1 {
        padding-block: 150px;
        width: 100%;
    }

    .history-image-page-2 {
        padding-block: 150px;
        width: 100%;
    }
}

/* Why */

.why-section {
    background: var(--dark);
    padding-block: 100px;
}

.why__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
}

.why-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.why-block img {
    width: 100%;
}

.why-block h3 {
    color: var(--mid);
    font-size: 18px;
    text-align: center;
}

@media (max-width:600px) {

    .why__container {
        flex-direction: column;
    }
}

/* Number */

.number-section {
    padding-block: 100px;
    background: var(--mid);
}

.number-section h2 {
    text-align: center;
    font-size: 35px;
    color: var(--dark);
    padding-bottom: 30px;
}

.number__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.number-stak {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.number-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    background: var(--dark);
    color: var(--white);
    padding: 30px;
}

.number-block h3 {
    font-size: 22px;
    color: var(--mid);
}

.number-block img {
    width: 100%;
    border: 1px solid var(--mid);
}

@media (max-width:600px) {


    .number-stak {
        flex-direction: column;
    }

    .number-block {
        padding: 20px;
    }

}

/* Prise */

.event-heading {
    color: var(--mid);
    font-size: 35px;
    text-align: center;
    background: var(--dark);
    padding-top: 50px;
}

.prise-section {
    padding-block: 100px;
    background: var(--dark);
}

.prise__container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.prise-stak {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.prise-block {
    flex: 1;
    color: var(--mid);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prise-block h3 {
    font-size: 35px;
}

@media (max-width:600px) {

    .prise-stak {
        flex-direction: column;
    }

    .prise-block h3 {
        font-size: 22px;
    }
}

/* Spa */

.spa-section {
    padding-block: 100px;
    background: var(--mid);
}

.spa__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.spa-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    background: var(--dark);
    color: var(--white);
    border: 3px solid var(--btn);
}

.spa-block img {
    width: 100%;
}

.spa-block h3 {
    color: var(--mid);
    font-size: 22px;
}

.spa-block p {
    padding: 0 30px 30px 30px;
}

@media (max-width:600px) {

    .spa__container {
        flex-direction: column;
    }
}

/* Last */

.last-section {
    background: var(--dark);
    padding-block: 100px;
}

.last__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}

.last-block {
    text-align: center;
    padding: 30px;
    color: var(--mid);
    flex: 1;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.last-block h3 {
    font-size: 35px;
}



@media (max-width:600px) {


    .last__container {
        flex-direction: column;
    }

    .last-block {
        width: 100%;
        padding-block: 150px;
    }

    .last-block h3 {
        font-size: 25px;
    }
}

/* Politic */

.politic-section {
    padding-block: 100px;
    background: var(--dark);
    color: var(--white);
}

.politic__container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.politic__container h1 {
    font-size: 50px;
    color: var(--mid);
}

.politic__container h2 {
    font-size: 30px;
    color: var(--mid);
}

@media (max-width:600px) {
    .politic__container h1 {
        font-size: 27px;
    }

    .politic__container h2 {
        font-size: 22px;
    }
}