@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: #b20000;
    --santa_main: #b20000;
    --santa_2main: #cf2e2e;
}

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 {
    width: var(--full-minisize);
    height: auto;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.link {
    font-size: 16px;
    color: #B20000;
}

.link a {
    font-size: 16px;
}

.container_link {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: var(--full-minisize);
    margin-left: 80px;

}

.container_link p {
    color: #000;
    font-size: 16px;
}

#sec1 {
    width: var(--full-minisize);
    height: auto;
    /* box-shadow: 0 32px 48px 0 rgba(0, 0, 0, .15); */

}

.row_sec1 {
    width: 100%;

    display: flex;
}

.col1_sec1 {
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.col1_sec1 img {
    width: 90%;
    height: auto;
    border-radius: 20px;

}

.col2_sec1 {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.container_text_1 {
    display: flex;
    flex-direction: column;
}

.container_text_2 {
    display: flex;
    flex-direction: row;

}

.row_col1_container_text_1 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.container_text_1 h1 {
    font-size: 32px;
    margin: 0;
    color: var(--santa_main);
}

.container_text_1 p {
    font-size: 16px;
    margin: 10px 0px;
}

.container_text_1 span {
    font-weight: bold;
    color: var(--santa_main);
}

.col1_container_text_1,
.col2_container_text_1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.col1_container_text_1 p {
    font-size: 14px;
    margin: 0px 15px;
}

.col2_container_text_1 p {
    font-size: 14px;
    margin: 0px 15px;
}

.col1_container_text_1 img,
.col2_container_text_1 img {
    width: 30px;
    height: 30px;
}

.container_text_3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.container_text_3 table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 23px 0 rgba(188, 207, 219, 0.35);
    background: #fff;
}

.container_text_3 th,
.container_text_3 td {
    font-size: 18px;
    font-weight: 700;
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.headtable {
    background-color: #c00;
    color: #fff;
    font-size: 20px;
}

.headtable th {
    padding: 15px;
}

.container_text_3 tr:nth-child(even) {
    background-color: #f9f9f9;
}

.container_text_3 h1 {
    color: var(--santa_main);
    font-size: 32px;
    margin: 10px 0px;
}

.container_text_3 p {
    color: gray;
    font-size: 16px;
    margin: 10px 0px;
}

#sec2 {
    width: var(--full-minisize);
    height: auto;
    padding: 20px;
}

.row_sec2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

}

.col1_row_sec2 {
    width: 50%;
}

.col1_row_sec2 h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.price {
    color: var(--santa_main);
    font-weight: 700;
}

.faq-container {
    width: 100%;
}

.faq-item {
    background: var(--bg_santa_main);
    margin-bottom: 10px;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.faq-question {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg_santa_main);
    color: #fff;
    padding: 10px;
}

.faq-answer {
    font-size: 16px;
    margin-top: 10px;
    display: none;
    padding: 10px 15px;
    background-color: #f9f9f9;
    color: #333;
}

.toggle-btn {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.col2_row_sec2 {
    width: 50%;
}

.col2_row_sec2 h2 {
    color: var(--santa_main);
}

.form-container {
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    font-weight: bold;
    color: var(--santa_main);
    display: block;
    margin-bottom: 5px;
}

.form-input,
.form-textarea {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-textarea {
    resize: none;
    height: 80px;
}

.form-button {
    width: 100%;
    background: var(--santa_main);
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.form-button:hover {
    background: var(--santa_2main);
}

/*---sec3---*/
#sec3 {
    width: var(--full-size);
    height: 500px;
    background-image: linear-gradient(0deg, #fff 0, #ecf6fe 100%);
    display: flex;
    justify-content: center;
    align-items: center;

}

.bg_sec7 {
    width: var(--full-minisize);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.col1_sec7 {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.image-stack {
    position: relative;
    width: 300px;
    height: 400px;
    margin-top: 20px;
    /* เพิ่มระยะห่างด้านบน */
    margin-bottom: 20px;
    /* เพิ่มระยะห่างด้านล่าง */
}

.image-stack img {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}

/* ภาพที่ 1 (ซ้ายสุด) */
.image-stack img:nth-child(1) {
    transform: rotate(-15deg) translateX(-90px) translateY(20px);
    z-index: 1;
}

/* ภาพที่ 2 (ตรงกลาง-ตรง) */
.image-stack img:nth-child(2) {
    transform: rotate(0deg) translateX(0) translateY(0);
    z-index: 3;
}

/* ภาพที่ 3 (ขวาสุด) */
.image-stack img:nth-child(3) {
    transform: rotate(15deg) translateX(90px) translateY(20px);
    z-index: 2;
}

.col2_sec7 {
    width: 50%;
    height: 400px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

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

.group_img_review {
    display: flex;
    flex-direction: column;
}

.group_text_review {
    display: flex;
    flex-direction: column;
    transform: translateY(-350px);
}

.group_text_review h1 {
    font-size: 30px;
}

.group_text_review p {
    font-size: 18px;
}

.button_readmore {
    background-color: #b20000;
    font-family: "Noto Sans Thai", serif;
    color: #fff;
    font-size: 16px;
    width: 180px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media (min-width:1101px) and (max-width: 1919px) {
    .banner {
        width: 100%;
    }

    .container_link {
        width: 100%;

    }

    #sec1 {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .row_sec1 {
        width: 90%;
        display: flex;
        justify-content: center;
    }

    #sec2 {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .row_sec2 {
        width: 90%;
    }

    #sec3 {
        width: 100%;
    }
}

@media (max-width:1100px) {
    .banner {
        width: 100%;
    }

    .link {
        width: 90%;
    }

    .link a {
        font-size: 12px;
    }

    .container_link {
        width: 100%;
        margin-left: 20px;

    }

    .container_link p {
        font-size: 12px;
    }

    #sec1 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .row_sec1 {
        width: 100%;
        align-items: center;
        flex-direction: column;
    }

    .col1_sec1 {
        width: 100%;
    }

    .col1_sec1 img {
        width: 100%;
        height: auto;
    }

    .container_text_1 h1 {
        font-size: 24px;
        margin: 20px 0px 0px;
    }

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

    .col2_sec1 {
        width: 90%;
    }

    .container_text_3 h1 {
        font-size: 24px;
    }

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

    .container_text_3 th,
    .container_text_3 td {
        font-size: 14px;
    }

    #sec2 {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .row_sec2 {
        width: 90%;
        flex-direction: column;
    }

    .col1_row_sec2 {
        width: 100%;
    }

    .col2_row_sec2 {
        width: 100%;
    }

    .form-container {
        width: 90%;
        padding: 20px;
    }

    #sec3 {
        width: 100%;
        height: 700px;
        margin-bottom: 30px;
    }

    .bg_sec7 {
        width: 100%;
        height: 600px;
        flex-direction: column;
    }

    .col1_sec7 {
        width: 100%;
        height: 50%;
    }

    .image-stack {
        width: 180px;
        height: 180px;
    }


    .col2_sec7 {
        width: 90%;
        height: 50%;
    }

    .group_img_review {
        width: 100%;
        transform: translateY(-150px);
    }

    .group_text_review {
        height: 100%;


    }

    .group_text_review h1 {
        font-size: 24px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer {
        font-size: 14px;
    }
}