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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: var(--full-size);
    font-family: "Noto Sans Thai", serif;
    background-color: #fff;
    overflow-x: hidden;
}


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

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


.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: 0px;
}

#section1 {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
}

.modalsec1 {
    display: none;
    position: fixed;
    z-index: 3001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modalsec1 img {
    width: 500px;
    height: 650px;
    border-radius: 8px;
    object-fit: contain;
}

.modalsec1 .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

#section2 {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
}

.row_photo {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.row_photo img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s;
}

.row_photo img:hover {
    transform: scale(1.05);
}

.modalsec2 {
    display: none;
    position: fixed;
    z-index: 3001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modalsec2 img {
    width: 500px;
    height: 650px;
    border-radius: 8px;
    object-fit: contain;
}

.modalsec2 .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.pagination {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

}

.page-btn {
    background-color: var(--bg_santa_main);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-family: "Noto Sans Thai", serif;
}

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

.page-indicator {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

#section3 {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
    margin: 0px 0px 30px 0px;
}

.modal-counter {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10;
}

.album-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.album {
    width: calc(25% - 15px);
    cursor: pointer;
}

.main-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.thumbs {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.thumbs img {
    width: calc(33.33% - 4px);
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3001;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.modal img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-controls {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.modal-controls button {
    font-size: 2rem;
    margin: 0 20px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    font-weight: 400;
    cursor: pointer;
    z-index: 100;
}

.header_review {
    font-size: 32px;
}

.text_name {
    background-color: var(--bg_santa_main);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-family: "Noto Sans Thai", serif;
}

@media (min-width:1101px) and (max-width: 1919px) {
    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    #section1,
    #section2,
    #section3 {
        width: 90%;
    }

    .container {
        width: 90%;
    }
}

@media (max-width:1100px) {


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


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

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


    .context_banner {
        top: 65%;
    }

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

    #section1,
    #section2,
    #section3 {
        width: 90%;
    }

    .row_photo {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        flex-wrap: wrap;
    }

    .row_photo img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .album-container {
        gap: 12px;
    }

    .modalsec1 img,
    .modal img {
        width: 300px;
        height: auto;
        border-radius: 8px;
        object-fit: contain;
    }

    .album {
        width: calc(50% - 10px);
    }

    .main-image img {
        height: 160px;
    }

    .thumbs img {
        height: 50px;
    }

    .header_review {
        font-size: 20px;
    }

    .modalsec2 img {
        width: 100%;
        height: 450px;
    }
}