@import url(./fonts.css);
@import url(./reset.css);
@import url(./swiper.min.css);

:root {
    --white: #FFFFFF;
    --black-1: #0A2232;
    --black-2: #0B2639;
    --black-3: #122D41;
    --black-4: #1F3B50;
    --gray-1: #77858F;
    --gray-2: #D9D9D9;
    --gray-3: #EDEDED;
    --gray-4: #EBEBEB;

    --bronze: #AEA28A;
}



body {
    font-family: 'Suisse Intl', sans-serif;
    color: var(--black-1);
scrollbar-gutter: stable;
}


span.input-error {
    position: absolute;
    width: 350px;
    bottom: -25px;
    left: 0;
}

span.error {
    color: red;
}

h1 {
    font-size: 64px;
    line-height: 1.04;
}

h3 {
    font-size: 44px;
    line-height: 1.07;
    font-weight: 600;

}

.body--overflow {
    height: 100vh;
    overflow: hidden;
}

.container {
    max-width: 1326px;
    padding: 0 15px;
    margin: 0 auto;
}

.background-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: var(--black-1);
}


.header {
    background-color: var(--black-2);
    padding: 22px 0;
    color: var(--white);
}

.header__menu {
    display: flex;
    align-items: center;
}

.header__nav {
    margin-left: auto;
    padding-left: 142px;

}

.header__list {
    display: flex;
    gap: 0 60px;
    margin-right: 50px;
}

.header__link {
    color: var(--gray-4);
}

.header__wrapper {
    display: flex;
}

.header__lang {
    margin-left: auto;
    position: relative;
}

.header__lang-button,
.header__book {
    padding: 10px 20px;
    border-radius: 60px;
    display: flex;
    align-items: center;
}

.header__lang-button--active .header__lang-arrow {
    transform: rotate(180deg);
}

.header__inner {
    display: none;
}

.header__lang-button {
    background-color: var(--black-4);
    gap: 0 10px;
}


.header__lang-list {
    padding: 10px 0;
    opacity: 0;
    pointer-events: none;
    border-radius: 24px;
    background-color: var(--black-4);
    gap: 0 10px;
    transition: .7s all ease;
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px 0;
    transform: translateY(100%);
    z-index: 100;
}


.header__lang-button--active+.header__lang-list {
    pointer-events: painted;
    opacity: 1;
    transition: .7s all ease;
}

.header__lang-list span {
    pointer-events: none;
}

.header__lang-button--active>.header__arrow {
    transform: rotate(180deg);
}

.header__list-button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0 10px;
    cursor: pointer;
    padding: 0 20px;

}

.header__menu-book,
.header__book {
    margin-left: 10px;
    color: var(--white);
    background-color: var(--bronze);
    gap: 0 4px;
    font-weight: 500;
}

.button {
    display: flex;
    justify-content: center;
    gap: 0 10px;
    align-items: center;
    color: var(--white);
    background-color: var(--bronze);
    width: 100%;
    max-width: 307px;
    padding: 18px 18px 17.64px;
    height: 56px;
    border-radius: 12px;
    font-weight: 500;
}

.button--blue {
    background-color: var(--black-3);
}

.title {
    padding-bottom: 33px;
    text-align: center;
    position: relative;


    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 100px;
        height: 3px;
        background-color: var(--bronze);
        transform: translateX(-50%);
    }
}

.text-waterfall {
    font-family: 'Waterfall';
    color: var(--bronze);
    font-size: 99px;
    font-weight: 400;
    line-height: 1;
}

.title>.text-waterfall {
    display: block;
}

.about {
    padding: 100px 0;
}

.about__slider {
    margin-top: 40px;
    padding: 50px 0;
    background-color: #F3F3F3;
    border-radius: 24px;
}

.about__slide {
    max-width: 803px;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 1%, rgba(31, 59, 80, 1) 1%, rgba(31, 59, 80, 1) 99%, rgba(255, 255, 255, 1) 99%);
    position: relative;
    width: 100%;

}

.about__content {
    padding: 60px 20px 40px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.about__text {
    font-size: 20px;
    max-width: 538px;
    margin: 0 auto;

}

.about__person {
    display: flex;
    gap: 0 18px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 54px;
}
.about__person img {
    border-radius: 50%;
}

.about__content::after,
.about__content::before {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
}


.about__content::after {
    content: url(../image/about/slide-left.png);
    left: 0;
}

.about__content::before {
    content: url(../image/about/slide-right.png);
    right: 0;
}



.about__navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 0 14px;
}


.about__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--white);
    line-height: 1;
}

.about__waterfall {
    line-height: .6;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.swiper-slide a .fleet__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-end::after {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 50%;
    position: absolute;

}

#success {
    display: none;
}


.calendar-button {
    position: absolute;
    top: 16px;
    right: 20px;
}

.calendar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    transform: translateY(100%);
    padding: 20px;
    border-radius: 12px;
    background-color: var(--white);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    transition: .3s all ease;
    color: var(--black-1);
}

.calendar--active {
    opacity: 1;
    pointer-events: painted;
    transition: .3s all ease;
}

.calendar__content {
    margin-top: 10px;

}

.calendar__navigation {
    display: flex;
    justify-content: space-between;
}

.calendar__item {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

}

.calendar__item>span,
.calendar__item>button {
    display: block;
    padding: 7.47px 0;
    flex-grow: 1;
    text-align: center;
    font-size: 12px;
}

.calendar__top {
    font-weight: 600;
}

.calendar__active-month {
    font-weight: 700;
}


.bread {
    display: flex;
    gap: 0 10px;
    align-items: center;
    font-size: 13px;
    color: var(--gray-1);
    padding: 20px 0;
}



.bread__link {
    font-size: 13px;
    color: var(--gray-1);
}

.bread__link--active {
    color: var(--gray-2);
}

.yacht-wrapper {
    max-width: 1326px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    position: absolute;
    bottom: 0;
}

.yacht {

    width: 100%;
    background-color: var(--black-3);
    background-image: url(../image/yacht.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 68px 60px;
    border-radius: 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yacht__title {
    max-width: 406px;
    color: var(--white);
    font-size: 44px;
    font-weight: 700;
}

.yacht__title>span {
    color: var(--bronze);
}

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

.yacht__text {
    
    font-family: "Waterfall", sans-serif;
    color: var(--white);
    font-size: 64px;
}


.popup {
    position: fixed;
    background-color: rgb(10, 34, 50, .8);
    min-height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.popup--active {
    display: flex;
}

.popup__content {
    display: flex;
    flex-direction: column;
    gap: 50px 0;
}
.popup__wrapper {
    padding: 40px;
    border-radius: 24px;
    background-color: var(--black-1);
    color: var(--white);
    text-align: center;
    width: 444px;
    position: relative;
}

.popup .calendar-button {
    top: 13px;
}

.popup__text {
    max-width: 324px;
    line-height: 1.6;
    margin: 10px auto 0;
}

.popup__form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.popup__thanks-title,
.popup__title {
    font-size: 44px;
}

.popup__thanks-title,
.popup__thanks-text {
    margin-top: 30px;
}
.popup__item {
    position: relative;
}

.popup__button {
    max-width: 100%;
}

.popup__close {
    position: absolute;
    top: 19.5px;
    right: 20px;
}

.form__input {
    width: 100%;
    height: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    color: var(--black-3);
    background-color: var(--white);
}

.form__input::placeholder {
    color: var(--gray-1);
}


.footer {
    margin-top: 169px;
    background-color: var(--black-3);
}

.footer__nav {
    background-color: var(--gray-3);
    padding: 50px;
    border-radius: 24px;
    transform: translateY(-50%);
    display: flex;
    gap: 0 150px;
}

.footer__list-title {
    font-size: 32px;
    position: relative;
    font-weight: 600;

    &::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 5px;
        bottom: -14px;
        left: 0;
        background-color: var(--bronze);
    }
}



.footer__list {
    margin-top: 47px;
    display: flex;
    flex-direction: column;
    gap: 14px 0;
}

.footer__link {
    color: var(--gray-1);
    display: flex;
    gap: 0 10px;
    align-items: center;
}

@media (max-width:1200px) {
    .header__list {
        gap: 0 30px;
    }

    .header__book {
        display: none;
    }

    .header__nav {
        padding-left: 0;
    }

    .footer__nav {
        gap: 0 20px;
        justify-content: space-between;
    }


}

@media (max-width: 768px) {

    h3 {
        font-size: 32px;
    }

    .header {
        height: 80px;
        padding: 15px 0;
        position: relative;
    }

    .header__menu {
        display: none;
        position: absolute;

    }

    .header__menu--active {
        height: calc(100vh - 80px);
        display: flex;
        background-color: #0B2639;
        left: 0;
        right: 0;
        bottom: 0;
        transform: translateY(100%);
        flex-direction: column;
        gap: 60px 0;
        padding: 40px 15px;
        align-items: flex-start;
        z-index: 1000;

    }

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

    .header__book {
        display: flex;
    }

    .header__wrapper {
        display: flex;
        gap: 0 20px;
        align-items: center;
    }

    .header__menu-button .header__close-icon,
    .header__menu-button--active .header__menu-icon {
        display: none;
    }

    .header__menu-button--active .header__close-icon {
        display: block;
    }

    .header__menu-logo {
        display: none;
    }

    .header__lang {
        order: -1;
        margin: 0;
    }

    .header__nav {
        margin: 0;
    }

    .header__list {
        flex-direction: column;
        gap: 60px 0;
    }

    .header__link {
        font-size: 30px;
    }

    .header__menu-book {
        width: 100%;
        padding: 22px;
        border-radius: 12px;
        margin: 0;
        justify-content: center;
        gap: 0 10px
    }

    .header__arrow {
        order: -1;
    }



    
    .popup__content {
        gap: 43.6px 0;
    }

    .popup__wrapper {
        padding: 40px 20px;


        text-align: center;
        width: 345px;
        position: relative;
    }

    .bread {
        display: none;
    }

    .title {
        padding-bottom: 20px;
    }

    .about {
        padding: 80px 0 60px;
    }

    .about__slider {
        padding: 20px 0 30px;
    }

    .about__content {
        padding: 30px 20px 20px;
    }

    .about__content::after {
        content: url(../image/about/slide-left-s.png);
        left: 0;
    }

    .about__content::before {
        content: url(../image/about/slide-right-s.png);
        right: 0;
    }

    .about__text {
        font-size: 16px;
        max-width: 287px;
    }

    .about__person {
        margin-top: 58px;
    }

    .about__navigation {
        margin-top: 20px;
    }

    .yacht {
        flex-direction: column;
        padding: 40px 20px;
        padding-bottom: 206px;
        background-image: url(../image/yacht-s.png);
        background-size: 100%;

        background-position: 0 calc(100% - 20px);
    }


    .yacht__title {
        align-self: flex-start;
    }

    .yacht__wrapper {
        width: 100%;
    }

    .yacht__title {
        font-size: 32px;
    }

    .yacht__text {
        font-size: 54px;
        color: var(--white);
    }

    .yacht__button {
        max-width: 100%;
    }

    .footer {

        padding-top: 50px;
    }

    .footer__nav {
        transform: translateY(-210px);
        gap: 40px 0;
        flex-direction: column;
        padding: 40px 15px;
    }


    .footer__logo {
        align-self: center;
    }

    .footer__logo-icon {
        width: 130px;
        height: 130px;
    }

    .footer__list-title {
        font-size: 22px;

        &::after {
            height: 3px;
        }
    }

    .footer__list {
        margin-top: 44px;
    }
}


@media (max-height:680px) {
    .header__list {
        gap: 30px 60px;
    }
}

