html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    margin: 0;
    background-color: #D3EBFF;
    padding: 0;
    max-width: 100%;
    width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}




/* header */



header {
    position: relative;
    background-image: url("../img/main_page_background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%; /* ���������� viewport width ������ 100% */
    max-width: 100%; /* �� ������ ������ */
    flex-shrink: 0;
    left: 0; /* ���� ������������� ����� */
    right: 0; /* � ������ */
    margin: 0; /* ������� ����� ������� */
    padding: 0; /* ������� ���������� ������� */
}

/* ���������� ������������� */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
    width: 100%; /* ���� ��������� ������ */
}

/* ���������� ��������� � header */
.header-nav {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 15px 20px;
    justify-content: space-between;
    max-width: 1400px;
    box-sizing: border-box; 
}

.logo-link {
    text-decoration: none;
    color: white;
}

.logo-link:hover {
    text-decoration: none;
    color: white;
}

.logo-link-head {
    font-family: Pacifico;
    font-weight: 400;
    font-size: 36px;
    margin: 0;
    line-height: 63px;
    margin-right: auto;
}

nav {
    position: relative;
    z-index: 2;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    max-width: 990px;
}

.nav-list-item {
    margin-right: 40px;
}

.nav-list-item:last-child {
    margin-right: 0;
}

.nav-list-item a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    transition: color 0.3s ease;
}

.nav-list-item a:hover {
    text-decoration: none;
    color: rgb(197, 197, 197);
}

.main-photo-block {
    position: absolute;
    top: 25%; 
    left: 50%;
    transform: translateX(-50%);
}

.main-head {
    font-family: Pacifico;
    font-weight: 400;
    font-size: 72px;
    line-height: 126px;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slogan {
    font-family: Pacifico;
    font-weight: 400;
    font-size: 48px;
    line-height: 84px;
    color: white;
    margin: 0;
    padding: 0;
}



/* ����� ��� ������ ���������� */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}


.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #005AA4;
    z-index: 999;
    transition: right 0.3s ease;
    padding: 60px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}


.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list-item {
    margin-bottom: 30px;
}

.mobile-nav-list-item a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.mobile-nav-list-item a:hover {
    color: #D3EBFF;
}


.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.close-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 0;
}

.close-menu-btn span:first-child {
    transform: rotate(45deg);
}

.close-menu-btn span:last-child {
    transform: rotate(-45deg);
}

.hamburger-btn.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}



/* main */


main {
    margin: 45px auto;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}

main * {
    max-width: 100%;
    box-sizing: border-box;
}

.description-head {
    font-weight: 500;
    font-size: 36px;
    line-height: 42px;
    margin: 0;
}

.divider {
    border: none;
    height: 3px;
    background-color: rgb(0, 90, 164);
    margin: 0;
    margin-top: 10px;
}

.description-question {
    font-weight: 500;
    font-size: 36px;
    line-height: 42px;
    margin: 0;
    margin-top: 40px;
    margin-bottom: 30px;
}

.why-select-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.why-select-list-item {
    background-color: white;
    border-radius: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    background-image: url("../img/bus.png");
    background-repeat: no-repeat;
    background-position: 90% 70%;
    max-width: 440px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.why-select-list-item.first {
    background-image: url("../img/Vector.png");
}

.why-select-list-item.third {
    background-image: url("../img/Shape.png");
}

.why-select-list-item:last-child {
    margin-right: 0;
}

.why-select-list-item-head {
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    color: #005AA4;
    margin: 0;
}

.why-select-list-item-text {
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    margin: 0;
    padding: 0;
    margin-right: 120px;
    margin-top: 15px;
}

.why-select-list-item-info {
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 100px;
}

.plus-block {
    background-color: white;
    border-radius: 30px;
    padding-top: 30px;
    margin: 0;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.plus-block-info {
    margin-left: 40px;
    margin-bottom:30px;
    width: 600px;
    gap: 20px;
}

.plus-head {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 20px;
    color: rgb(0, 90, 164);
}

.plus-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.plus-list-item {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 15px;
}

.plus-list-item:last-child {
    margin: 0;
}

.presentation-image {
    margin-right: 40px;
    margin-bottom: 30px;
}

.last-text {
    margin: 60px 0;
    margin-bottom:40px;
}

.last-question {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 15px;
}

.answer {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    text-decoration: underline;
    text-decoration-color: rgb(0, 90, 164);
}

.select-tour-button {
    background-color: rgb(0, 90, 164);
    width: auto;
    height: auto;
    padding: 20px 60px;
    border-radius: 40px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.select-tour-button:hover {
    background-color: #5E94C0;
}

.select-tour-text {
    margin: 0;
    text-align: center;
    font-size: 36px;
    line-height: 42px;
    font-weight: 500;
    color: white;
}

.select-tour-link {
    text-decoration: none;
    display: inline-block;
}



.animated-item-y {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-item-y.appear {
    opacity: 1;
    transform: translateY(0);
}

.animated-item-x {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-item-x.appear {
    opacity: 1;
    transform: translateX(0);
}


/* footer */


footer {
    background-color: #5E94C0;
    /*padding-left: 60px;*/
    padding-top: 60px;
    padding-bottom: 60px;
    /*width:100%;*/
    display: flex;
    justify-content: center;
}

footer div {
    width: 1400px;
}

.contacts-list-head {
    margin: 0;
    margin-bottom: 40px;
    padding: 0;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    color: white;
}

.contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contacts-list-item {
    color: white;
    font-weight: 400;
    font-size: 30px;
    /*line-height: 42px;*/
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
}

    .contacts-list-item p {
        margin: 0;
    }

    .contacts-list-item:last-child {
        margin: 0;
    }

.footer-vk-link {
    color: white;
}













/* �����-������� ��� ����������� ������� */

/* �������� � ��������� ������ (�� 1024px) */
@media (max-width: 1024px) {

    .header-nav {
        padding: 15px 20px;
    }

    .nav-list-item {
        margin-right: 30px;
    }

    .nav-list-item a {
        font-size: 20px;
    }

    .main-head {
        font-size: 60px;
        line-height: 100px;
    }

    .slogan {
        font-size: 40px;
        line-height: 70px;
    }

    main {
        padding: 0 20px;
    }

    .why-select-list-item {
        width: 100%;
        max-width: 440px;
    }

    .plus-block-info {
        width: 100%;
        min-width: auto;
    }

    .presentation-image {
        margin: 0 auto;
        margin-bottom: 20px;
        width: 100%;
        max-width: 500px;
    }

    footer {
        padding:60px 20px;
    }
}

/* ��������� ���������� (�� 768px) */
@media (max-width: 768px) {
    .slogan {
        font-size: 32px;
        line-height: 56px;
        text-align: center;
    }

    .hamburger-btn {
        display: flex;
    }

    .mobile-nav {
        width: 280px;
    }

    .mobile-nav-list-item a {
        font-size: 20px;
    }

    .header-nav {
        padding: 10px 15px;
        display: flex;
    }

    .logo-link-head {
        font-size: 24px;
        line-height: 40px;
    }

    .nav-list {
        display: none;
    }

    .nav-list-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

        .nav-list-item:last-child {
            margin-bottom: 0;
        }

        .nav-list-item a {
            font-size: 16px;
        }

    .main-head {
        font-size: 36px;
        line-height: 60px;
    }

    .main-photo-block {
        top: 30%;
        width: 90%;
    }

    main {
        margin: 25px 0;
        padding: 0 15px;
    }

    .description-head,
    .description-question {
        font-size: 28px;
        line-height: 34px;
    }

    .why-select-list {
        gap: 20px;
    }

    .why-select-list-item {
        width: 100%;
    }

    .why-select-list-item-head {
        font-size: 20px;
    }

    .why-select-list-item-text {
        font-size: 18px;
        margin-right: 80px;
    }

    .plus-block {
        padding-top: 20px;
        margin-top: 40px;
    }

    .plus-block-info {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .plus-head {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .plus-list-item {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .presentation-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        margin-bottom: 20px;
    }

    .last-text {
        margin: 20px 0;
    }

    .last-question,
    .answer {
        font-size: 24px;
        line-height: 30px;
    }

    .select-tour-button {
        padding: 8px 20px;
    }

    .select-tour-text {
        font-size: 20px;
    }

    footer {
        padding: 40px 20px;
    }

    .contacts-list-head {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .contacts-list-item {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* ��������� ��������� ���������� (�� 480px) */
@media (max-width: 480px) {
    .hamburger-btn {
        display: flex;
    }

    .mobile-nav {
        width: 280px;
    }

    .mobile-nav-list-item a {
        font-size: 20px;
    }

    .header-nav {
        padding: 10px 15px;
        display: flex;
    }

    .logo-link-head {
        font-size: 24px;
        line-height: 40px;
    }

    .nav-list {
        display: none;
    }

    .nav-list-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

        .nav-list-item:last-child {
            margin-bottom: 0;
        }

        .nav-list-item a {
            font-size: 16px;
        }

    .main-head {
        font-size: 36px;
        line-height: 60px;
    }

    .slogan {
        font-size: 24px;
        line-height: 40px;
    }

    .main-photo-block {
        top: 30%;
        width: 90%;
    }

    main {
        margin: 25px 0;
    }

    .description-head,
    .description-question {
        font-size: 24px;
        line-height: 30px;
    }

    .why-select-list-item-head {
        font-size: 18px;
    }

    .why-select-list-item-text {
        font-size: 16px;
        margin-right: 60px;
        margin-top: 10px;
    }

    .why-select-list-item-info {
        margin-bottom: 80px;
    }

    .plus-block-info {
        margin-left: 15px;
        margin-right: 15px;
    }

    .plus-head {
        font-size: 24px;
    }

    .plus-list-item {
        font-size: 16px;
    }

    .last-question,
    .answer {
        font-size: 20px;
        line-height: 26px;
    }

    /*.select-tour-button {
        padding: 12px 30px;
        margin-bottom: 15px;
    }

    .select-tour-text {
        font-size: 24px;
    }*/

    footer {
        padding: 30px 15px;
    }

    .contacts-list-head {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contacts-list-item {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* ����� ��������� ������ (�� 320px) */
@media (max-width: 320px) {
    .main-head {
        font-size: 28px;
        line-height: 50px;
    }

    .slogan {
        font-size: 20px;
        line-height: 35px;
    }

    .why-select-list-item-text {
        margin-right: 40px;
    }

    .why-select-list-item-info {
        margin-bottom: 60px;
    }
}

/* �������������� ��������� ��� ��������� ��������� */
@media (hover: none) and (pointer: coarse) {
    /* ����������� ������� ����� ��� ��������� ������� */
    .nav-list-item a,
    .select-tour-link {
        padding: 5px 0;
    }

        /* ������� �����-������� ��� ���-��������� */
        .nav-list-item a:hover {
            color: white;
        }

    .select-tour-button:hover {
        background-color: rgb(0, 90, 164);
    }
}

/* ��������� ��� ����������� ���������� �� ��������� */
/*@media (max-height: 500px) and (orientation: landscape) {
    header {
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }

    .main-photo-block {
        position: relative;
        top: auto;
        transform: none;
        padding-top: 100px;
    }
}*/




.why-select-list-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-select-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}


.why-select-list-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-select-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}