@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

:root {
    --full-size: 1920px;
    --full-minisize: 1200px;
    --fit-height: 1080px;
    --bg_santa_main: #C00000;
    --santa_main: #4D3809;
    --santa_2main: #21AB99;
}


body {
    display: flex;
    max-width: 1920px;
    margin: 0px;
    font-family: "Noto Sans Thai", serif;
    background-color: rgb(255 255 255);
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    align-items: center;
}

#banner {
    position: relative;
    width: var(--full-size);
    height: 400px;
    overflow: hidden;
}

.banner-background img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.7);
}


.context_banner {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.context_banner h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}

.context_banner p {
    font-size: 22px;
    margin-top: 10px;
}
/*--sec1--*/

#section1 {
    width: var(--full-size);
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-bottom: 20px;

}

.con_link {
    display: flex;
    justify-content: flex-start;
    width: var(--full-minisize);
}

.text_con_link {
    color: #BABABA;
    font-weight: 600;
}

.text_con_link_active {
    color: var(--bg_santa_main);
    font-weight: 600;
}
.con_link a {
    text-decoration: none;
}
.header_sec1 {
    color: #000;
    font-weight: bold;
    font-size: 38px;
}

.header_sec1 span {
    color: var(--bg_santa_main);
    font-weight: bold;
}

.con_routes {
    width: var(--full-minisize);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.con_routes a {
    text-decoration: none;
}

.package-info {
    width: 100%;
    height: 350px;
    display: flex
;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    justify-content: space-around;
}

.package-info img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px 20px 0px 0px;
}


.con_row1_chinaroutes {
    height: 20%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.row1_chinaroutes {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
    margin: 0px 10px;
    align-items: flex-start;
}

.row1_chinaroutes div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.row1_chinaroutes img {
    width: 20px;
    height: 20px;
}

.row1_chinaroutes p {
    font-size: 14px;
    margin: 2px;
    color: #A6A6A6;
}

.row1_chinaroutes .highlight {
    color: #000;
}

.con_button {
    display: flex;
    justify-content: flex-end;
    margin: 10px 10px 10px 0px;
}

.btn-download {
    background-color: #00b894;
    color: white;
    padding: 5px 10px;
    display: inline-block;
    margin-top: 10px;
    border-radius: 30px;
    text-decoration: none;
}

.filter-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-controls {
    margin: 20px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.result-count {
    font-weight: bold;
    color: #333;
    margin-right: auto;
    padding-right: 10px;
}

.filter-select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    background-color: #fff;
    color: #333;
    min-width: 150px;
}

.btn {
    padding: 10px 40px;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: "Noto Sans Thai", serif;
}

.search-btn {
    background-color: var(--bg_santa_main);
    color: #fff;
    border: none;
}

.search-btn:hover {
    background-color: var(--santa_2main);
}

.reset-btn {
    background-color: #f0f0f0;
    color: #000;
    border: 1px solid #ccc;
}

.reset-btn:hover {
    background-color: #e0e0e0;
}

.city-btn {
    width: 80px;
    background-color: #fff;
    color: #000;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.city-btn:hover {
    background-color: #fff;
    color: var(--bg_santa_main);

}

/*---text---*/
.con_text {
    width: var(--full-minisize);
    height: 400px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
    margin-bottom: 40px;
}

.col1_con_text {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.col1_con_text img {
    width: 100%;
    height: 400px;
}

.col2_con_text {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.text_col2_con_text {
    text-align: start;
    font-size: 18px;
}

.header_col2_con_text {
    font-size: 32px;
    font-weight: bold;
}

.header_col2_con_text span {
    color: var(--bg_santa_main);
}

.header_col2 {
    display: flex;
    justify-content: flex-start;
    width: var(--full-minisize);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.pagination a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 50%;
  background-color: #eee;
}

.pagination a.active {
  background-color: var(--bg_santa_main);
  color: white;
  font-weight: bold;
}

#section2 {
    width: var(--full-size);
    height: 300px;
    position: relative;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/static/img/privertour/bannersec2.svg');
    z-index: 0;
    gap: 1rem;
}

.header_col_sec2 {
    font-size: 32px;
    font-weight: bold;
}

.header_col_sec2 span {
    color: var(--bg_santa_main);
}

.row_text {
    width: var(--full-minisize);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.row_text1 {
    gap: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.con_row_text {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width:1101px) and (max-width: 1919px) {

    #banner,
    #section1,
    #section2,
    #section3,
    #section4 {
        width: 100%;
    }

    #banner {
        height: auto;
    }

    .row_sec3 ,
    .con_link,
    .con_routes{
        width: 90%;
    }
    .package-info {
        height: auto;
    }


}

@media (max-width:1100px) {

    #section1 {
        width: 100%;
    }

    #section1 {
        height: auto;
    }



    .context_banner h1 {
        font-size: 20px;
    }

    .context_banner p {
        font-size: 14px;
    }

    #banner {
        width: 100%;
        height: auto;
    }

    
    .context_banner {
        top: 65%;
    }

    .banner-background img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .con_link {
        width: 90%;
    }


    .con_link p {
        font-size: 14px;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select,
    .search-btn {
        width: 100%;
    }

    .header_sec1 {
        font-size: 20px;
    }

    .filter-form,
    btn reset-btn {
        width: 90%;
    }

    .con_routes {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .package-info {
        height: auto;
    }

    .package-info img {
        width: 100%;
        height: auto;
        object-fit: fill;
    }

    .con_row1_chinaroutes {
        height: 40%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-evenly;
                padding: 10px 0px;
    }

    .row1_chinaroutes img {
        width: 15px;
        height: 15px;
    }

    #section2 {
        width: 90%;
        height: auto;
    }

    .con_row_text,
    .row_text {
        width: 90%;
    }

    .row_text1 img {
        width: 80px;
        height: 80px;
    }

    .header_col_sec2 {
        font-size: 20px;
        margin: 0;
    }
    .text_col2_con_text {
    text-align: start;
    font-size: 14px;
}

    .con_text {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
.col1_con_text img {
    width: 100%;
    height: 300px;
}
    .col1_con_text {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .col2_con_text {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .con_row_text {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-bottom: 20px;
    }
.header_col2{
    width: 90%;
}
.header_col2_con_text {
    font-size: 20px;
}
    .row_text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}