.main {
    margin: auto;
    display: flex;
    flex-direction: column;
}

/* Sction One */

.first_section {
    width: 100%;
    height: var(--first-section-height);
    position: relative;
}
.starss_td img{
    max-width: 77px;
}
.three_ds{
    gap: 10px;
}
.three_ds h4{
    font-size: 12px;
}
.bg_img {
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}
.first_section_title {
    padding: 0 10px;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    > h1 {
        font-family: var(--medium-font);
        font-size: 100px;
        font-weight: var(--font-weight-medium);
        line-height: 130px;
        letter-spacing: 0.08em;
        text-align: center;
    }
}
.first_section_button {
    position: absolute;
    bottom: 100px;
    left: 100px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
}
.first_section_button > svg > path {
    fill: transparent;
    transition: all 0.3s ease;
    stroke-width: 1px !important;
}
.first_section_button > svg > path:nth-child(3) {
    fill: white;
}
.first_section_button:hover > svg > path:nth-child(2) {
    transition: all 0.3s ease;
    fill: var(--color-gold);
}
.first_section_button:hover > svg > path:nth-child(3) {
    transition: all 0.3s ease;
    fill: #000;
}
.first_section_button_text {
    text-align: center;
    align-self: center;
}
.first_section_button_text {
    > span {
        font-family: var(--medium-font);
        font-size: 28px;
        font-weight: var(--font-weight-medium);
        line-height: 29px;
        letter-spacing: 0.20000000298023224px;
        text-align: justify;
    }
}

/* Section Two */

.second_section {
    min-height: 100vh;
    width: 100%;
    max-height: min-content;
    padding-left: 162px;
    display: flex;
    position: relative;
}
.second_section_divs {
    display: flex;
    justify-content: space-between;
}

/* tour details */
.tour_details {
    display: flex;
    margin-top: 152px;
    margin-bottom: 152px;
    height: max-content;
}
.tour_details_img_container {
    flex-shrink: 0;
    width: 634px;
    height: 590px;
    > img {
        width: 100%;
    }
}
.tour_details_content_box {
    max-width: 652px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 92px;
    gap: 16px;
}
.tour_details_content_title {
    font-family: var(--medium-font);
    font-size: 50px;
    font-weight: var(--font-weight-medium);
    line-height: 61px;
    letter-spacing: 0.08em;
    text-align: left;
    color: var(--color-gold);
}

.tour_details_content_text {
    font-family: var(--medium-font);
    font-size: var(--text-font-size-small);
    font-weight: var(--font-weight-medium);
    line-height: 19px;
    letter-spacing: 0.20000000298023224px;
    text-align: left;
    color: var(--color-blue);
    opacity: 0.8;
}
.tour_bottom {
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    > h3 {
        font-family: var(--bold-font);
        font-size: 50px;
        font-weight: var(--font-weight-large);
        line-height: 61px;
        letter-spacing: 0.08em;
        text-align: left;
        color: var(--color-blue);
    }
}
.book_now_button {
    display: flex;
    align-items: center;
    background-color: var(--color-gold);
    border-radius: 6px;
    gap: 40px;
    padding: 24px 40px;
}
.book_now_text {
    font-family: var(--medium-font);
    font-size: var(--text-font-size-extrasmall);
    font-weight: var(--font-weight-medium);
    line-height: 17px;
    letter-spacing: 0.1583677977323532px;
    text-align: justify;
}
.book_now_button > svg {
    transition: all 0.3s ease;
}
.book_now_button:hover > svg {
    transform: translateX(20px);
}
.book_now_button:hover {
    background: #f8e4b0;
}

/* Tour Map */

.tour_map {
    margin-top: 120px;
    max-width: 1450px;
    width: 100%;
    height: max-content;
    display: none;
    flex-direction: column;
    gap: 48px;
}

.map_title {
    font-family: var(--light-font);
    font-size: var(--title-font-size-small);
    font-weight: var(--font-weight-thin);
    line-height: 46px;
    letter-spacing: 0.17731092870235443px;
    text-align: left;
}
.map_title > span {
    font-family: var(--bold-font);
    font-size: var(--title-font-size-medium);
    font-weight: var(--font-weight-large);
    line-height: 46px;
    letter-spacing: 0.17731092870235443px;
    text-align: left;
}

/* Tour Gallery */

.tour_gallery {
    margin: 90px auto;
    display: none;
    width: auto;
    height: max-content;
    justify-content: center;
    gap: 80px;
    grid-template-columns: repeat(3, minmax(auto, 400px));
}

/* Tour Animations */

.show_content {
    animation: show-content 1s ease;
}

.hide_content {
    position: absolute;
    z-index: -1;
    animation: hide-content 1s ease;
}

@keyframes hide-content {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(150%);
    }
}

@keyframes show-content {
    0% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Side Bar */
.side_bar {
    min-height: 100%;
    background-color: #fff;
    padding-top: 220px;
    grid-area: aside;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1;
    gap: 20px;
    width: 246px;
}

.side_bar_box {
    width: 152px;
    aspect-ratio: 1 / 1;
    padding: 4px;
    border: 1px solid var(--color-gold);
    transition: margin-right 1s ease;
}

.side_bar_button {
    width: 100%;
    height: 100%;
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    background: radial-gradient(
        329% 331.71% at -145.78% -26.2%,
        var(--color-blue) 0%,
        #4c608f 39.73%,
        var(--color-blue) 51.02%,
        #424753 80.3%,
        rgba(239, 220, 170, 0) 100%
    );
    box-shadow: 0px 3.5196897983551025px 25.517751693725586px 0px
        rgba(0, 0, 0, 0.25) inset;
    transition: background-color 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    color: var(--color-gold);

    > span {
        font-family: var(--medium-font);
        font-size: var(--text-font-size-medium);
        font-weight: var(--font-weight-medium);
        line-height: 27px;
        letter-spacing: 0.6176935434341431px;
        text-align: center;
        color: inherit;
        transition: color 1s ease;
    }
}

.active_button {
    margin-right: 85px;
}

.active_button > button {
    background: var(--color-gold);
    color: var(--color-blue);
}

/* Section Three */

.third_section_box {
    background-color: #fff;
    display: flex;
    justify-content: center;
    padding: var(--page-padding);
    margin-bottom: 180px;
}

article {
    display: flex;
    width: 100%;
    gap: 80px;
}

/* price includes */
.price_includes {
    position: relative;
    display: flex;
}
.price_includes_text {
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 88px;
}
.price_line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.price_line_header {
    display: flex;
}
.price_line_header > h3 {
    margin-left: 14px;
    font-family: var(--medium-font);
    font-size: 50px;
    font-weight: var(--font-weight-medium);
    line-height: 42px;
    letter-spacing: 0.6176935434341431px;
    text-align: left;
    color: rgba(0, 0, 0, 1);
}
.price_line_header > img {
    width: 36px;
}
.price_div > img {
    width: 20px;
    margin-left: 8px;
}
.price_div {
    align-items: flex-start;
    display: flex;
}

.price_div > p {
    max-width: 344px;
    margin-left: 40px;
    font-family: var(--medium-font);
    font-size: var(--text-font-size-medium);
    font-weight: var(--font-weight-medium);
    line-height: 27px;
    letter-spacing: 0.6176935434341431px;
    text-align: left;
    color: rgba(0, 0, 0, 1);
}

/*  days */

.days {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
.days_container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 60px;
}

.days_line {
    display: inline-block;
    position: relative;
    max-width: 688px;
    max-height: max-content;
    text-align: center;
}

.days_line > div > svg {
    width: 100%;
    height: auto;
}

.day {
    margin-top: -60px;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 20px;
}
.even_day {
    flex-direction: row-reverse;
    right: -60px;
}
.odd_day {
    flex-direction: row;
    left: -60px;
}
/* . {
  width: 100%; 
  height: auto;
} */

.day_circle {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: radial-gradient(
            329% 331.71% at -145.78% -26.2%,
            var(--color-blue) 0%,
            #4c608f 39.73%,
            var(--color-blue) 51.02%,
            #424753 80.3%,
            rgba(239, 220, 170, 0) 100%
        )
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.day_circle > * {
    font-family: var(--medium-font);
    font-weight: var(--font-weight-medium);
    line-height: 27px;
    letter-spacing: 0.6176935434341431px;
    text-align: center;
    color: var(--color-gold);
}
.day_circle > h4 {
    font-size: 60px;
}
.day_circle > p {
    font-size: 40px;
}
.day_text {
    max-width: max-content;
}
.day_text > h4 {
    font-size: var(--text-font-size-medium);
    font-family: var(--bold-font);
    line-height: 27px;
    letter-spacing: 0.6176935434341431px;
    font-weight: var(--font-weight-large);
    text-align: center;
}

/* Table style */

.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.table tbody {
    /*height: 94px;*/
    padding: 10px 5px;
    border: 1px solid var(--color-blue);
    display: flex;
    align-items: stretch; 
}
.table tr {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.table th {
    opacity: 0.5;
    font-family: var(--medium-font);
    font-size: var(--text-font-size-small);
    font-weight: var(--font-weight-medium);
    line-height: 56px;
    letter-spacing: 0.20000000298023224px;
}
.table th,
.table td:nth-child(odd) {
    width: 33%; /* Equal width for each column */
    text-align: center;
}
.table td {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; /* Center content horizontally */
    align-items: center;

    > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}
.table td > .table_line {
    opacity: 0.5;
    height: 36px;
    border: 0.35px solid var(--color-blue);
}
.table_div {
    width: max-content;
    padding: 10px 8px;
}
.low_opacity {
    opacity: 0.5;
    width: calc(100% / 3);
}

/* Day modal */

.day_modal {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day_modal_background {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.day_modal_container {
    position: relative;
    border: 1px solid var(--color-gold);
    display: flex;
    max-width: 700px;
    flex-direction: column;
    justify-content: center;
    max-height: 80vh;
    overflow: auto;
    gap: 80px;
    padding: 20px 30px;
    background: #fff;
}

.day_modal_close_button {
    position: absolute;
    right: 28px;
    top: 28px;
    font-size: 42px;
    text-align: center;
}
.day_title > h1 {
    color: var(--color-gold);
    font-family: var(--medium-font);
    font-size: 70px;
    font-style: normal;
    font-weight: var(--font-weight-large);
    line-height: 98px; /* 122.5% */
    letter-spacing: 0.177px;
}
.day_title > p {
    font-family: var(--medium-font);
    font-size: var(--text-font-size-extrasmall);
    font-weight: var(--font-weight-medium);
    line-height: 17px;
    letter-spacing: 0.20000000298023224px;
}

.day_modal_footer > p {
    font-family: var(--medium-font);
    font-size: var(--text-font-size-extrasmall);
    font-weight: 500;
    line-height: 17px;
    letter-spacing: 0.20000000298023224px;
    text-align: justify;
}
.day_modal_footer > p > a {
    font-family: var(--medium-font);
    font-size: var(--text-font-size-extrasmall);
    font-weight: var(--font-weight-large);
    line-height: 17px;
    letter-spacing: 0.20000000298023224px;
    text-align: justify;
}

#car {
    width: 80px;
    position: absolute;
}

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


.gray_block_web{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.5);
}
.gray_block_web_active{
    display: flex;
}
.imgs_popup_web{
    display: none;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}
.imgs_popup_active_web{
    display: flex;
}
.close_galery_web{
    position: absolute;
    top: 15px;
    right: 150px;
    max-width: 60px;
    cursor: pointer;
}
.imgs_popup_blck_web{
    width: 100%;
    gap: 10px;
    padding: 0 50px;
}
.popup_imgs_web{
    width: 100%;
}
.gallery_arrow_web{
    cursor: pointer;
}
.popup_general_img_web{
    max-height: 92vh;
}
.gallery_arrow_web:hover svg path{
    stroke: black;
}
.gallery_arrow_web:hover svg circle{
    stroke: black;
}
.imgs_popup_blck_web{
    display: flex;
    align-items: center;
}

.tour_gallery_img_box img{
    cursor: pointer;
}

.text-danger{
    color: red;
}
