.SHOW_MORE_POOLVILLA_LAYOUT {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.BOX_SHOW_MORE_POOLVILLA {
    position: relative;
    width: 32.00%;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.BOX_SHOW_MORE_POOLVILLA:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.BOX_SHOW_MORE_POOLVILLA img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.poolvilla-detail {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    /* พื้นหลังโปร่งแสงสีดำ */
    backdrop-filter: blur(5px);
    /* transform: translateY(100%); */
    transition: transform 0.4s ease-in-out;
}

.BOX_SHOW_MORE_POOLVILLA:hover .poolvilla-detail {
    transform: translateY(100%);
}

.poolvilla-detail h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.poolvilla-detail p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.SHOW_MORE_POOLVILLA {
    width: 100%;
}

.BOOKING_GROUP {
    border: 1px solid #fff;
    padding: 20px;
}



.GROUP_MAIN_ROOM_1 {
    display: flex;
    justify-content: center;
}

.H2_CONTENT_FIX_INSITEROOM {
    font-size: 1.8rem;
    border-left: 3px solid #c28559;
    padding-left: 10px;
}

.button-container {
    display: flex;
    gap: 10px;
}

.book-button {
    padding: 5px 15px 5px;
    border: none;
    cursor: pointer;
    color: white;
    background: #c28559;
    transition: all 0.4s ease;
}

.book-button:hover {
    transform: scale(1.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0a4f5f;
    --secondary-color: #f7a948;
    --text-color: #333;
    --bg-light: #f4f4f4;
    --bg-dark: #1a1a1a;
    --white: #fff;

    --primary-color: #c28559;
    --secondary-color: #f7f1e3;
    --text-color: #3d3d3d;
    --heading-color: #4b2e20;
    --accent-color: #8a6a57;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

h1,
h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 50px 0;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e69a37;
}


.hero-section {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    z-index: 10;
}

.hero-content h1 {
    color: #fff;
}

.hero-content p {
    color: #fff;
}

/* ส่วน About */
.about-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.about-flex {
    display: flex;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-family: Kanit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    /* color: #333333; */
    color: #967c69;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ส่วนแกลเลอรี */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
}

.gallery-item {
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

figure {
    margin-bottom: unset !important;
}

figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.gallery-item:hover figcaption {
    opacity: 1;
    cursor: pointer;
}

/* Room Details - Minimal Style */
.room-details-section {
    padding: 40px 0;
    background: #fff;
}

.room-details-section .container {
    max-width: 1000px;
}

.room-details-section h2.card-title {
    color: #333;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.5px;
}

.list-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-details li {
    background: #fff;
    margin: 0;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.list-details li:last-child {
    border-bottom: none;
}

.list-details li i {
    color: #c28559;
    font-size: 1.1rem;
    margin-right: 12px;
    min-width: 24px;
    text-align: center;
}

.list-details li span {
    color: #444;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .room-details-section {
        padding: 30px 0;
    }
    
    .room-details-section h2.card-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .list-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .list-details li {
        padding: 10px 12px;
    }
}

/* ส่วนจองห้องพัก */
.booking-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    margin-top: 80px;
    display: flex;
    justify-content: center;

}

.booking-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.booking-form input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    flex: 1 1 200px;
}

.booking-form .btn {
    width: 100%;
    background: var(--secondary-color);
}

.content_1_room_width {
    width: 90%;
}

.content_1_room_width h2 {
    color: #c28559;
    font-size: 26px;
}

.BAGDROUND_ROOM {
    background: #d38e5c;
    width: 100%;
    height: 5px;
}

.content_1_room_width_h2 {
    color: #fff !important;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ส่วน Hero (แบนเนอร์ด้านบน) */
.hero-section {
    position: relative;
    height: 60vh;
    /* background: url('https://images.unsplash.com/photo-1549488344-934526284f18?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    color: white;
    text-shadow: var(--shadow-light);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.room-details-section {
    margin-top: 20px;
    width: 90%;
}

.amenities-section {
    margin-top: 40px;
    width: 90%;
}

.section-title {
    font-size: 1.5rem;
    color: #c28559;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.PAD_LEFT {
    /* padding-left: 40px; */
}

.card {
    background: white;
    padding: 30px;
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
    width: 100%;
}

.card-title {
    font-size: 1.5rem;
    color: #c28559 !important;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-top: 20px;
    font-weight: 400;
}

.list-details {
    color: #967c69;
    list-style: none;
    padding-left: 0;
}

.list-details li {
    font-size: 16px;
    padding: 0.5rem 22px;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #e0e0e0;
}

.list-details li:last-child {
    border-bottom: none;
}

/* ส่วน Icon */
.list-details i,
.amenity-card i {
    font-size: 16px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 25px;
    text-align: center;
    vertical-align: middle;
}

.amenity-card:hover {
    transform: translateY(-3px);
}

.amenity-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.amenity-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #967c69;
    padding-bottom: 20px;
}

.amenity-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}
.amenity-list li::before {
    content: '✓';
    color: #c28559;
    position: absolute;
    left: 0;
    font-weight: bold;
}
.list-details li::before {
    /* content: '✓'; */
    color: #c28559;
    position: absolute;
    left: 0;
    font-weight: bold;
}
.amenity-list li i {
    font-size: 1.2rem;
    margin-right: 10px;
}
.content_1_room_width_text{
    list-style: inside; 
    color:#967c69;
    font-family: "Kanit", Sans-serif;
}
.content_1_room_width_text1{
    /* list-style: inside;  */
    color:#967c69;
    font-family: "Kanit", Sans-serif;
}
/* Amenities Section Styling */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(237px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.amenity-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(194, 133, 89, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(194, 133, 89, 0.3);
}

.amenity-card i {
    font-size: 2.5rem !important;
    color: #c28559;
    margin-bottom: 1.5rem !important;
    background: rgba(194, 133, 89, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.amenity-card:hover i {
    background: #c28559;
    color: #fff;
    transform: scale(1.1);
}

.amenity-title {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.amenity-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #c28559;
    transition: width 0.3s ease;
}

.amenity-card:hover .amenity-title::after {
    width: 80px;
}

.amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}
.DETAIL_TEXT_CONTENT1{
    text-align: justify !important;
}
@media (max-width: 768px) {
    .amenities-grid {
        gap: 1rem;
    }
    
    .amenity-card {
        padding: 1.2rem;
    }
    
    .amenity-card i {
        width: 50px;
        height: 50px;
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    .amenity-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .amenity-list li {
        font-size: 0.8rem;
        padding-left: 1.2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 คอลัมน์ต่อแถว */
    }
}




/* Responsive สำหรับหน้าจอโทรศัพท์ */
@media screen and (max-width: 768px) {
    .BOX_SHOW_MORE_POOLVILLA {
        width: 100%;
    }

    .content_1_room_width h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
    }

    .gallery-section {
        padding: 33px 0;
    }

    .book-button {
        padding: 7px 15px 10px;
    }

    .about-section {
        padding: 33px 0;
    }

    .hero-section {
        height: 70vh;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .about-flex {
        flex-direction: column;
    }

    .booking-form .btn {
        flex: 1 1 100%;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Lazy Load Image Animation */
.lazy-load {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.lazy-load.loaded {
    opacity: 1;
}




