html {
    scroll-behavior: smooth;
    scroll-padding-top: 20vh;
}

* {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #F5F5F0;
    font-size: 16px;
    color: #1a1a1a;
}

.container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding-left: 50px;
    padding-right: 50px;
}

.text-focus {
    color: #1a1a1a;
}


.sticky-anchor-btn {
    position: fixed;
    overflow: hidden;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(243, 109, 120, 0.596);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    text-shadow: 0 2px 10px rgb(0 0 0 / 30%);
    background: #db1a2a;
    background: linear-gradient(135deg, rgba(185, 20, 34, 1) 0%, rgb(255 0 21) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.sticky-anchor-btn.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-anchor-btn:hover {
    background: linear-gradient(135deg, rgba(255 0 21) 0%, rgb(185, 20, 34, 1) 100%);
    border: 1px solid rgba(240, 27, 45, 0.829);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}















header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.4)),url('../img/header.jpg');
    background-size: cover;
    /* background-position: top left; */
    background-position: bottom center;
    color: #ffffff;
    overflow: hidden;
    min-height: 760px;
}


/* Меню */
nav {
    display: flex;
    position: fixed;
    top: 0;
    height: 54px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 110;
}

.menu-nav {
    display: flex;
    justify-content: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right {
    display: flex;
    justify-content: flex-end; 
}
 
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.logo:hover {
    color: #db1a2a;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li a {
    display: block;
    padding: 12px 0 12px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap; 
    color: #1a1a1a;
}

.nav-links li a:hover {
    color: #db1a2a;
}

/* Бургер-меню*/
.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #db1a2a;
    margin: 6px 0;
    transition: all 0.3s ease;
}


/* Адаптив меню*/
@media (max-width: 992px) {
    .logo {
        color: #db1a2a;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 53px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-radius: 0;
        padding: 10px 0;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .nav-links li a {
        padding: 12px 0 12px 0;
    }

    .nav-links li a:hover {
        background-color: #e4e4e4;
    }
    
    .burger-menu {
        display: block;
    }
    
    /* Анимация иконки бургера*/
    .burger-menu.active .bar1 {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    .burger-menu.active .bar2 {
        opacity: 0;
    }
    .burger-menu.active .bar3 {
        transform: rotate(45deg) translate(-6px, -7px);
    }

}
@media (max-width: 860px) {
    .container {
        max-width: 750px;
        padding-left: 30px;
        padding-right: 30px;
    }
}














/* Заголовок и форма */
.header-section {
    height: 95vh;
    width: 100%;
    min-height: 500px;
    max-height: 1000px;
    padding-top: 90px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-block {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-height: 400px;
    text-align: end;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    text-shadow: 1px 5px 10px #000000;
    padding: 0 20px;
}

.header-text {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subtitle {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.title {
    font-size: 4rem; 
    font-weight: 800;
    margin: 0;
    line-height: 1.1; 
}


.description {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 30px;
}

.promo-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* align-items: flex-start; */
    align-items: flex-end;
}

.promo-text {
    margin: 10px 0 0 0;
    font-size: 1.3rem;
    font-weight: 500;
}

.promo-code-value {
    width: 300px;
    display: flex;
    justify-content: center;
    padding: 12px 18px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #E63946;
    border: 2px dashed #E63946;
    border-radius: 15px;
    background-color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    text-shadow: none;
}

.discount-badge {
    display: inline-block;
    padding: 10px 50px;
    margin-top: 10px;
    /* background-color: #ffffff4d; */
    background-color: #ffffff;
    color: #E63946;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: none;
    box-shadow: 0 4px 25px rgb(0 0 0 / 5%);
    backdrop-filter: blur(0.8px);
    -webkit-backdrop-filter: blur(0.8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}












/* Форма заказа */
.header-form-static {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 350px; 
    min-width: 280px;
    min-height: 350px;
    color: #1a1a1a;
    background-color: #ffffff4d;
    backdrop-filter: blur(0.8px); 
    -webkit-backdrop-filter: blur(0.8px); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    margin-top: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

.form-input.is-invalid {
    border-color: #db1a2a; 
    box-shadow: 0 0 0 3px rgba(219, 26, 42, 0.6);
}

.form-input.is-valid {
    border-color: #0ce43b; 
    box-shadow: 0 0 0 3px rgba(12, 228, 59, 0.6); 
}

.form-fields {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #ddd;
    border-radius: 50px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #ffffff;
}

.form-input::placeholder {
    color: #4b4b4b;
}

.form-input:focus {
    outline: none;
}

.form-button {
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid rgba(243, 109, 120, 0.596);
    border-radius: 50px;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    background: #db1a2a;
    background: linear-gradient(135deg, rgba(185, 20, 34, 1) 0%, rgb(255 0 21) 100%);
    box-shadow: 0 1px 10px rgba(255, 255, 255, 0.25);
}

.form-button:hover {
    background: linear-gradient(135deg, rgba(255 0 21) 0%, rgb(185, 20, 34, 1) 100%);
    border: 1px solid rgba(240, 27, 45, 0.829);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}


@media (max-width: 1200px) {
    .header-content .title {
        font-size: 3rem; 
    }

    .header-form-static {
        margin-top: 10px;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    header {
        min-height: auto;
    }
}

@media (max-width: 800px) {
    .header-section {
        height: auto;
        position: relative;
        flex-direction: column;
    }

    .section-block {
        margin-bottom: 100px;
    }

    .header-form-static {
        margin-top: 5px;
    }

    .header-content .title {
        font-size: 2.5rem; 
    }

    .header-image-wrapper {
        order: 1; 
        width: 100%;
    }

    .header-image-container {
        width: 100%;
        border-radius: 0; 
        transform: translateX(0); 
        height: 400px; 
    } 

    .promo-section {
        align-items: center;
    }
}

@media (max-width: 700px) {
    .promo-text {
        font-size: 1rem;
    }

    .promo-code-value {
        width: 200px;
    }
}

@media (max-width: 680px) {
    .container {
        max-width: 750px;
        padding-left: 10px;
        padding-right: 10px;
    }

    header {
        /* background-position: inherit; */
    }

    .header-section {
        min-height: 800px;
        max-height: 1000px;
    }

    .section-block {
        display: flex;
        /* flex-direction: column-reverse; */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-height: 1000px;
        margin-bottom: 40px;
    }

    .header-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        color: #ffffff;
        text-shadow: 1px 5px 10px #000000;
        padding: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .subtitle {
        margin-top: 20px;
    }

    .promo-text {
        font-size: 1rem;
    }

    .promo-code-value {
        width: 200px;
    }
}

@media (max-width: 560px) {
    .sticky-anchor-btn {
        margin: 0 40px;
        left: 0;
        right: 0;
        bottom: 10px;
        transform:none;
    }
}

@media (max-width: 380px) {
    .sticky-anchor-btn {
        margin: 0 10px;
    }
}












/* Тело */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #1D3557;
    background: linear-gradient(134deg,rgba(29, 53, 87, 1) 20%, rgb(68 121 197) 100%);
    color: #ffffff;
    text-align: center;
    margin-top: -20px;
    padding: 30px 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 5px rgba(0,0,0,0.05);
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-header {
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 20px 0;

    text-align: center;
}

.main-about p {
    margin: 0;
}

hr {
    width: 100px;
    border: 1px solid #1D3557;
    border-radius: 15px;
    margin-bottom: 20px;
}

.main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 30px 50px;
    margin-top: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 860px) {
    .main-section {
        padding: 30px 10px;
    }

    .main-header {
        font-size: 1.5rem;
    }

    .main-about {
        padding: 30px 10px;
    }
}
















/* Программа тура */
.tour-container {
    background-color: #ffffff; 
    border-radius: 15px;
    box-shadow: 0 4px 5px rgb(0 0 0 / 5%);

}

.tour-program-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tour-nav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px 20px;
    gap: 5px; 
}

.tab-button {
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    padding: 5px 40px;
    text-decoration: none;
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.tab-button:not(.active):hover {
    background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff; 
}

.tab-button.active {
    background: linear-gradient(155deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff; 
}

.tour-content-wrapper {
    position: relative;
    width: 100%;
    
}

.tour-text-content {
    height: auto;
    min-height: initial;
}

.tour-day-panel {
    position: relative; 
    display: none;    
    opacity: 1;      
    visibility: visible;
    flex-direction: column; 
    width: 100%;
    height: auto;
}

.tour-day-panel.active {
     display: flex;
}


.panel-text {
    margin-top: 80px;
    width: 60%;
    padding: 20px 15px 10px 15px;
    border-radius: 15px;
    z-index: 1;
    background-color: #ffffff4d; 
    color: #1a1a1a;
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(2px); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.10);
}

.panel-text-details-container {
    margin-bottom: 30px;
}

.panel-text-details {
    display: flex;
    align-items: center;
}

.panel-text-details svg {
    width: 15px;
    margin-right: 10px;
    fill: #3663A3;
}

.panel-text-details p {
    margin: 0;
}

.panel-text h3 {
    margin-top: 0;
}


/* Кастомный скроллбар */
/* .panel-text::-webkit-scrollbar { 
    width: 7px; 
}
.panel-text::-webkit-scrollbar-track { 
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 3px; 
}
.panel-text::-webkit-scrollbar-thumb { 
    background: rgba(122, 122, 122, 0.3); 
    border-radius: 15px; 
}
.panel-text::-webkit-scrollbar-thumb:hover { 
    background: rgba(82, 82, 82, 0.3); 
} */

.panel-text h2 { 
    font-size: 28px; 
    margin-top: 0; 
    margin-bottom: 30px; 
}

.panel-image {
    position: absolute;
    right: 0;
    height: 400px;
    width: 50%;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    
}
        
.carousel-arrow {
    position: absolute;
    /* top: 50%; */
    transform: translateY(-50%);
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a; 
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    backdrop-filter: blur(0.8px); 
    -webkit-backdrop-filter: blur(0.8px); 
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.arrow-prev { 
    left: -22px; 
}

.arrow-next { 
    right: -22px; 
}

.carousel-arrow.hidden { 
    opacity: 0; 
    pointer-events: none; 
}

.timeline { 
    list-style-type: none; 
    padding: 0; margin: 0; 
    border-left: 3px solid #e9ecef; 
    padding-left: 20px; 
}

.timeline-item { 
    position: relative; 
    padding-bottom: 35px; 
}

.timeline-item:last-child { 
    padding-bottom: 5px; 
}

.timeline-item::before { 
    content: ''; 
    position: absolute; 
    left: -34px; 
    width: 18px; 
    height: 18px; 
    background-color: #fff; 
    border: 3px solid #3663A3; 
    border-radius: 50%; 
    z-index: 1; 
}

.timeline-time { 
    font-weight: 600; 
    color: #1D3557; 
    display: block; 
    margin-bottom: 5px; 
}

.timeline-title { 
    font-size: 20px; 
    font-weight: 600; 
    margin: 0 0 8px 0; 
}

.timeline-description { 
    margin: 0;
    color: #1a1a1a;
    line-height: 1.6;
}


@media (max-width: 860px) {
    .tour-text-content {
        height: auto;      
        min-height: initial; 
    }

    .tour-day-panel {
        position: static; 
        display: none;   
        opacity: 1;     
        visibility: visible;
        flex-direction: column-reverse; 
        width: 100%;
        height: auto;
    }

    .tour-day-panel.active {
        display: flex;
        flex-direction: column-reverse; 
    }
    
    .panel-image {
        position: static;
        width: 100%;
        height: 250px; 
    }

    .panel-text {
        width: 100%;
        padding: 20px 15px 60px 15px; 
        margin: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        text-shadow: none;
    }

    .tab-button {
        font-size: 14px;
        /* padding: 8px 16px; */
    }

    .carousel-arrow {
        top: auto;
        bottom: 0;
    }

    .arrow-prev {
        left: 0;
    }
    .arrow-next {
        right: 0;
    }
}





















/* Преимущества */
.services-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card-services {
    display: flex;
    width: calc(50% - 10px);
    background-color: #ffffff4d;
    padding: 20px;
    margin-top: 18px;
    border-radius: 15px;
    /* box-shadow: 0 4px 25px rgba(0,0,0,0.05); */
    box-shadow: 0 1px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.card-services-image {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 80px;
    flex-shrink: 0;
}

.card-services-image svg {
    width: 50px;
    color: #3663A3;
}

.card-services-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    padding-left: 10px;
    height: 100%;
}

.card-services i {
    color: #3663A3;
}

.card-services h3 {
    margin: 0;
}

.card-services p {
    margin: 0;
    color: #646464;
}

.card-service-excursion {
    width: 33%;
    gap: 10px;
}

@media (max-width: 900px) {
    .card-services {
        width: 100%;
    }
}














/* Таблица цен */
.booking-parametres {
    width: 100%;
}

.tari_choose_body_container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tari_choose_body {
    border-radius: 50px;
    padding: 5px 20px;
    text-decoration: none;
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    color: #1a1a1a;
    transition: all 0.5s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.tari_choose_body .fa-male {
    color: #555;
    font-size: 24px; 
    transition: color 0.3s ease;
}

.tari_choose_body .fa-child {
    color: #555;
    font-size: 16px; 
    transition: color 0.3s ease;
}

.tari_choose_body:not(.active):hover {
    background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff; 
}

.tari_choose_body:hover .fa {
    color: #ffffff;
}

.tari_choose_body.active {
    background: linear-gradient(155deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff;
}

.tari_choose_body.active .fa {
    color: #ffffff;
}

.tari_choose_trips_container {
    margin: 20px 0;
}

.tari_choose_trips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px; 
    
}

.tari_choose_trip {
    border-radius: 50px;
    padding: 5px 20px;
    text-decoration: none;
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.tari_choose_trip:not(.active):hover {
    background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff; 
}

.tari_choose_trip:hover .fa {
    color: #ffffff;
}

.tari_choose_trip.active {
    background: linear-gradient(155deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff;
}

.tari_choose_trip.active .fa {
    color: #ffffff;
}

.tari_tour_selectors_container {
    margin-bottom: 20px;
}

.tari_tour_selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; 
    
}

.chose_tour {
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.chose_tour:not(.active):hover {
    background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff;
}


.chose_tour.active {
    background: linear-gradient(155deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff;
}

















































/* карусель отзывов */

.carousel-wrapper {
    position: relative;
    max-width: 550px;
    margin: 20px auto;
}

.main-carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%; 
    box-sizing: border-box;
    padding: 0 10px;
}

.slide-content {
    /* background-color: #e0e0e0; */
    /* border-radius: 12px; */
    overflow: hidden;
    /* aspect-ratio: 16 / 9; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reviews-logo {
    width: 150px;
}


/* текстовый отзыв */
.text-content {
    background-color: #ffffff;
    padding: 30px;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
}

.review-text {
    width: 100%;
    /* font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
    font-style: italic;
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto; */

}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a; 
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #ffffff4d;
    backdrop-filter: blur(0.8px);
    -webkit-backdrop-filter: blur(0.8px); 
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prev-btn {
    left: -22px;
}

.next-btn {
    right: -22px;
}

@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover {
    background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff; 
    transform: translateY(-50%) scale(1.05);
  }

  .carousel-arrow:hover { 
    background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff; 
    transform: translateY(-50%) scale(1.05);
}
}

.carousel-dots {
    text-align: center;
    padding-bottom: 10px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f4f4f4; 
    margin: 0 4px;
    cursor: pointer;
    border: none; 
    padding: 0; 
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #1D3557;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .prev-btn {
        left: -15px;
    }
    .next-btn {
        right: -15px;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 860px) {
    .reviews-logo {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        padding: 0; 
    }
}




















/* Футер */
.footer {
    display: flex;
    justify-content: center;
    background: linear-gradient(134deg,rgba(29, 53, 87, 1) 20%, rgb(68 121 197) 100%);
    color: #ffffff;
    padding: 50px 0 90px 0; 
    margin-top: -20px;
}

.footer-wrapper {
    width: 100%;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 50px;
    padding-bottom: 20px;
    align-items: flex-start;
}

.footer-block {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.footer-block h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-block p {
    color: #ffffff;
    text-decoration: none;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ffffff;
    text-decoration: none;
}

.contact-item .icon {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-item a:hover {
    text-decoration: underline;
}

.btn-site:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center; 
}

.privacy-policy a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
}

.privacy-policy a:hover {
    text-decoration: underline;
}




















/* Модальное окно */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.modal-content {
    width: 100%;
    max-width: 350px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-open {
    display: flex; 
    justify-content: center;
    align-items: center;
}

.modal-close {
    display: none; 
}

.custom-modal-close {
    position: absolute;
    top: 20px;
    right: 5px;
    cursor: pointer;
    border: none;
    background: none;
}

.custom-modal-close:hover {
    color: #000;
} 

.header-form-modal {
    background-color: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 350px; 
    min-width: 280px;
    color: #1a1a1a;
    padding: 20px;
    margin-top: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

.form-section-title-modal {
    color: #000;
}



















.hotels {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    transition: all 0.3s ease;
    margin-bottom: 30px; */
    /* justify-items: center; */
    /* justify-items: stretch;
    align-items: stretch; */
    width: 100%;
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hotel-card {
    position: relative;
    /* width: calc(50% - 10px); */
    max-width: 800px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    /* cursor: pointer; */
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgb(0 0 0 / 25%);
}

/* .hotel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgb(0 0 0 / 20%);
} */

.hotel-card img {
    /* width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    flex: 0 0 200px; */
    width: 100%;
    aspect-ratio: 16 / 11;         
    height: auto;                  
    object-fit: cover;             
    border-radius: 15px;
    flex: 0 0 auto;                
    display: block;
}

.hotel-card-info-container {
    width: 100%;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    left: 0;
    /* width: 290px; */
    /* padding: 5px; */
    z-index: 10;
}

.hotel-card-info {
    display: flex;
    justify-content: space-between;
}

.hotel-card-info-btn {
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff;
    border: 1px solid #e0e0e04d;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.hotel-card-info-btn:hover {
    background: #e9e9e9;
}

.hotel-card-info-btn svg{
    width: 30px;                 
    height: 30px;
    display: block;              
    flex: 0 0 20px;             
    fill: #000;          
    overflow: visible;
    pointer-events: none;       
}

/* Подвал карточки с ценой */
.table-tour-price {
    text-align: left;
    padding-top: 10px;
    /* margin-top: auto; */
    /* border-top: 1px solid #d7d7d7; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    /* border: 1px solid #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgb(0 0 0 / 5%); */
}

.table-tour-price p {
    margin: 0;
    /* font-size: 1.4rem;
    font-weight: 600; */
}

.table-tour-price p span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #36a336;
}

.table-tour-price-text {
    /* text-align: left; */
    /* padding-top: 10px; */
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* border-bottom:1px solid #d7d7d7; */
    /* border: 1px solid #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgb(0 0 0 / 5%); */
    /* padding: 5px 10px; */
}

.table-header {
    /* border-bottom:1px solid #d7d7d7; */
}

.table-price-container {
    width: 60%;
    min-width: 240px;
    display: flex;

    
}

.prices {
    border: 1px solid #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 3px 1px rgb(0 0 0 / 10%);
    margin-bottom: 5px;
    padding-left: 10px;
}

.table-price-container p {
    width: 50%;
    text-align: center;
    color: #929292; 
    white-space: nowrap; 

    
}

/* Кнопка "Купить" */
.tari-btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    /* background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%); */
    background: linear-gradient(280deg,rgb(34, 87, 29) 34%, rgb(54, 163, 54) 100%);
    border: 1px solid #e0e0e04d;
    color: #ffffff;
    box-shadow: 0 1px 10px rgba(255, 255, 255, 0.25);
}

.tari-btn:hover {
    /* background: linear-gradient(155deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%); */
    background: linear-gradient(155deg,rgb(29, 87, 29) 34%, rgb(58, 163, 54) 100%);
    color: #fff; 
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}





.hotel-card-toggle-container {
    padding-top: 3px;
    display: none;
    justify-content: flex-end;
}

.hotel-card-toggle {
    display: flex;
    justify-content: space-between;
    height: 44px;
    width: 150px;
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    border-radius: 50px;
}

.hotel-card-toggle-btn {
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff4d;
    border: 1px solid #e0e0e04d;
    border-radius: 50px;
    width: 65px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.hotel-card-toggle-btn:hover {
    background: #ffffffa4;
}

.hotel-card-toggle-btn.active {
    background: linear-gradient(280deg, rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
}

.hotel-card-text {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotel-card-header {
    /* width: 250px; */
    margin: 5px 0;
}

.hotel-card-price {
    /* margin: 0; */
    margin-bottom: 0;
    padding: 0 5px 5px 0;
    text-align: end;
}

.hotel-card-price span{
    font-weight: 400;
}

.hotel-card-info-status {
    padding: 0 20px;
    background: linear-gradient(280deg,rgba(29, 53, 87, 1) 34%, rgba(54, 99, 163, 1) 100%);
    color: #fff; 
    border: 1px solid #e0e0e04d;
    border-radius: 50px;
    height: 44px;
    width: 150px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.hotel-card.active {
    transform: translateY(2px) scale(0.995);
    box-shadow:
        inset 0 6px 18px rgba(0,0,0,0.28),
        inset 0 -2px 6px rgba(0,0,0,0.12),
        0 2px 10px rgba(0,0,0,0.18);
    border-color: rgba(255,255,255,0.35);
    outline: 2px solid #3663a3; 
}

.hotel-card.active .hotel-card-info-status, 
.hotel-card.active .hotel-card-toggle-container {
    display: flex;
}

.stars { 
    display: inline-flex; 
}



@media (max-width: 992px) {
    .hotel-card {
        width: 100%;
    }
}





/* модальное окно информации об отеле */
.hotel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    overflow: auto;
}

.hotel-modal-content {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 15px;
    position: relative;
    overflow-y: auto;
    border-radius: 15px;
    background-color: #f9f9f9;
}

.hotel-modal-open {
    display: flex; 
    justify-content: center;
    align-items: flex-start; 
}

.hotel-modal-close {
    display: none; 
}

.hotel-btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    border: none;
    background: none;
}

.hotel-btn-close:hover {
    color: #000;
} 

.body-modal-open {
    overflow: hidden;
}

.hotel-modal-title {
    margin: 0;
}

.tari-hotel-window-content h2 {
    margin: 0;
}

.tari-hotel-window-content div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tari-hotel-window-content div img{
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.hotels-note {
    width: 100%;
}