/********** Template CSS **********/
:root {
    --primary: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
}

@media (max-width: 991.98px) {
    /* ขยายความสูงของ Navbar เล็กน้อย */
    .navbar {
        padding: 10px 20px !important;
        height: auto;
    }

    /* ขยายขนาดโลโก้ตัวหนังสือ */
    .navbar .navbar-brand h1 {
        font-size: 20px;
        margin: 0;
        line-height: 1.2;
    }

    /* ขยายขนาดรูปโลโก้ */
    .navbar .navbar-brand img {
        max-height: 28px;
        margin-right: 8px;
    }

    /* ขยายปุ่ม 3 ขีดเล็กน้อย */
    .navbar-toggler {
        padding: 4px 8px;
        font-size: 18px;
    }

    /* ปรับเมนูที่เลื่อนลงมา */
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        font-size: 15px;
    }

    /* ขยายปุ่ม Appointment เล็กน้อย */
    .btn.btn-primary {
        font-size: 13px;
        padding: 8px 14px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}



/*** Header ***/
.container-fluid.p-0.pb-5 {
    overflow: hidden !important;
    max-width: 100vw;
    box-sizing: border-box;
}

#home {
    overflow: hidden !important;
    width: 100%;
    position: relative;
}

.owl-carousel.header-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
}

.owl-carousel-item {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    overflow: hidden !important;
}

.owl-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    max-width: 100vw;
}

/* ---- มือถือ ---- */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: auto !important;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-carousel .owl-carousel-item img {
        width: 100% !important;
        height: auto !important;
        max-height: 90vh;
        object-fit: contain;
        background-color: #000;
    }

    .owl-carousel-inner {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        padding: 10px 15px;
        background: rgba(0, 0, 0, .7);
    }

    .header-carousel .owl-dots {
        position: absolute;
        width: 40px;
        right: 10px;
        top: 0;
        height: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 100;
        transform: none;
    }

    .header-carousel .owl-dots .owl-dot {
        width: 30px;
        height: 30px;
        margin: 4px 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-carousel .owl-dots .owl-dot.active {
        width: 35px;
        height: 35px;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 1.8rem !important;
        margin-bottom: 5px;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 0.85rem !important;
        margin-bottom: 5px;
    }
}

/* ---- Desktop ---- */
@media (min-width: 769px) {
    .owl-carousel-item {
        height: 85vh;
    }

    .owl-carousel-item img {
        height: 100% !important;
        object-fit: cover;
        object-position: center 60%;

    }
}

/* ข้อความในภาพ */
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
    padding: 15px;
    box-sizing: border-box;
}

/* owl dots */
.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 4px 0;
    background: var(--dark);
    transition: .5s;
    border-radius: 0;
    overflow: hidden;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 50px;
    height: 50px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/* สำรอง: ป้องกัน dots หาย */
.owl-carousel .owl-dots {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}




/* เพิ่มขนาดของ Owl Carousel */
.owl-carousel .owl-item {
    width: 100%;
    /* ให้แต่ละไอเท็มของ carousel ยืดเต็ม */
    position: relative;
}

/* ปรับขนาดภาพใน Owl Carousel ให้สมบูรณ์ */
.owl-carousel .owl-item img {
    width: 100%;
    height: 100%;
    /* ทำให้ภาพเต็มพื้นที่ */
    object-fit: cover;
    /* ปรับขนาดภาพให้เต็มพื้นที่โดยไม่เสียสัดส่วน */
}

/* ปรับการแสดงผล Modal */
#videoModal .modal-dialog {
    max-width: 80%;
    /* ทำให้ Modal ไม่เกิน 80% ของขนาดหน้าจอ */
}

#videoModal .modal-body {
    padding: 0;
    /* ลบ padding ออก เพื่อให้วิดีโอเต็มขนาด */
}









/* Custom CSS for styling */
.section-title {
    font-size: 1.5rem;
    color: #2C3E50;
    text-transform: uppercase;
    font-weight: 700;
}

.location-timeline {
    display: flex;
    justify-content: space-between;
    /* ให้มีระยะห่างระหว่างไอเทม */
    align-items: center;
    padding: 20px 0;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.location-item {
    display: flex;
    align-items: center;
    position: relative;
}

.location-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ba9361;
    /* ใช้สีที่ต้องการ */
    margin-right: 10px;
}

.location-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-time {
    font-size: 1rem;
    color: #7F8C8D;
    margin-bottom: 5px;
}

.location-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495E;
}

/* เส้นเชื่อมระหว่างวงกลม */
.location-connector {
    width: 2px;
    height: 40px;
    background-color: #ba9361;
    /* สีเส้นเชื่อม */
}

/* สำหรับ effect ของ WOW.js */
.wow {
    visibility: hidden;
}

.wow.fadeInUp {
    animation: fadeInUp 1s ease-in-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --primary: #3B5998;
    --light: #F5F5F5;
    --dark: #14141F;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    left: 25%;
    bottom: 0;
    background: var(--primary);
}

.project-tab {
    transition: .5s;
    border: 1px solid transparent;
}

.project-tab.active {
    border-color: var(--primary);
}

.project-tab:hover {
    background: rgba(59, 89, 152, 0.05);
}

.project-gallery {
    min-height: 500px;
}

.gallery-selector {
    background-color: var(--light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.header-banner {
    background: linear-gradient(rgba(20, 20, 31, 0.7), rgba(20, 20, 31, 0.7)), url('img/bg-header.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.dropdown-select {
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s;
    background-color: white;
}

.dropdown-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 89, 152, 0.25);
    outline: none;
}



@media (max-width: 768px) {
    .location-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .location-item {
        flex-direction: row;
        align-items: center;
        margin-bottom: 20px;
    }

    .location-circle {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .location-info {
        align-items: flex-start;
        text-align: left;
    }

    .location-connector {
        display: none;
    }
}

/* End location */




/* อันนี้ตรงfloor */
:root {
    --primary: #ba9361;
    --light: #F5F5F5;
    --dark: #14141F;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    left: 25%;
    bottom: 0;
    background: var(--primary);
}

.project-tab {
    transition: .5s;
    border: 1px solid transparent;
}

.project-tab.active {
    border-color: var(--primary);
}

.project-tab:hover {
    background: rgba(59, 89, 152, 0.05);
}

.project-gallery {
    min-height: 500px;
}

.gallery-selector {
    background-color: var(--light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.header-banner {
    background: linear-gradient(rgba(20, 20, 31, 0.7), rgba(20, 20, 31, 0.7)), url('img/bg-header.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.dropdown-select {
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s;
    background-color: white;
}

.dropdown-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 89, 152, 0.25);
    outline: none;
}

.gallery-image img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-image img:hover {
    opacity: 0.9;
}

#modalImage {
    max-height: 80vh;
    width: auto;
}

.modal-xl {
    max-width: 90%;
}

@media (max-width: 991.98px) {
  .highlight-price {
    font-size: 2.5rem; /* หรือขนาดที่คุณต้องการให้เด่น */
    font-weight: 800;
    color: var(--primary);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  }
}







/* 10รูป*/
/* Facility Section */
.facility-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8f9fa;
    /* สีพื้นหลังอ่อนๆ */
}

.facility-title {
    color: #333;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: #000;
    margin: 20px auto;
}

.facility-block {
    margin-bottom: 70px;
    /* ระยะห่างระหว่างบล็อก */
}

.facility-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.facility-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

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

.facility-underline {
    height: 1px;
    background-color: #000;
    width: 60px;
    margin-top: 20px;
    margin-bottom: 0;
    border-radius: 1px;
    opacity: 0.7;
}

.facility-content h4 {
    color: #333;
    margin-bottom: 15px;
}

.facility-content p {
    color: #6c757d;
    line-height: 1.7;
}

/* ลบ animation: ไม่มี [data-aos] หรือ .wow */


/* Animation on scroll (ต้องใช้ Library AOS) */
/* [data-aos] {
        opacity: 0;
        transition-property: opacity, transform;
    }

    [data-aos].aos-animate {
        opacity: 1;
        transform: translate(0, 0);
    }

    [data-aos="fade-right"] {
        transform: translateX(-30px); 
    } */
/* ลดระยะเคลื่อนที่บน */
/* ลดระยะเคลื่อนที่ล่าง */
/* [data-aos="fade-left"] {
        transform: translateX(30px); 
    } */





/* location */


/* .nearby-section {
        background-color: #f9f9f9;
        padding: 60px 0;
        font-family: 'Segoe UI', sans-serif;
      }
    
      .nearby-section h2 {
        font-weight: 700;
        font-size: 2.5rem;
        margin-bottom: 40px;
        color: #333;
      }
    
      .nearby-section h5 {
        font-weight: 600;
        color: #ba9361;
        text-transform: uppercase;
        font-size: 1rem;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 8px;
      }
    
      .nearby-section h5::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #ba9361;
      }
    
      .nearby-section ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
      }
    
      .nearby-section li {
        font-size: 0.95rem;
        color: #444;
        line-height: 1.8;
        padding-left: 1.2em;
        position: relative;
      }
    
      .nearby-section li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #ba9361;
        font-size: 1.2rem;
        line-height: 1;
      }
       */


/* location End */








/* วิธีที่ 2: ใช้ scroll-margin-top เฉพาะใน section ที่ต้องการ */
#about,
#services,
#project,
#contact {
    scroll-margin-top: 80px;
    /* ปรับให้ตรงกับความสูงของ navbar */
}













/*   #why-choose-embassy p */

@media (max-width: 767.98px) {
    #why-choose-embassy p {
        text-align: left !important;
    }
}

/*   #why-choose-embassy p */

/*   Award */
.award-scroll.active {
    cursor: grabbing;
}

.award-scroll {
    cursor: grab;
}

/*   Award */


.google-map-container:hover .map-overlay {
    opacity: 1;
}

/* การปรับแต่งสำหรับการแสดงผลบนมือถือ */
@media (max-width: 767.98px) {
    .google-map-container {
        height: 350px;
    }
}









/* อันที่มี contact */
#ready-new-home img {
    height: auto;
    max-height: 400px; /* กำหนดความสูงสูงสุดของภาพ */
    width: 100%;
    object-fit: cover; /* ให้ภาพครอบคลุมพื้นที่โดยไม่ยืด */
}

@media (max-width: 768px) {
    #ready-new-home img {
        max-height: 250px; /* ลดความสูงของภาพในมือถือ */
    }

    #ready-new-home h2 {
        font-size: 1.5rem; /* ปรับขนาดข้อความในหัวข้อให้เล็กลงในมือถือ */
    }

    #ready-new-home p {
        font-size: 1rem; /* ปรับขนาดข้อความในย่อหน้าให้เล็กลงในมือถือ */
    }

    .btn-primary {
        font-size: 1rem; /* ปรับขนาดปุ่มให้เหมาะสม */
        padding: 10px 20px; /* ปรับขนาดปุ่มให้พอดี */
    }
}






/* line */

     .line-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: #00b900;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1000;
    font-size: 2rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0; /* ซ่อนไว้ก่อน */
    pointer-events: none; /* ไม่ให้คลิกได้ตอนซ่อน */
}

.line-button.show {
    opacity: 1;
    pointer-events: auto;
}

.line-button:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .line-button {
        bottom: 100px; /* ปรับระยะห่างจากขอบล่าง */
        right: 30px; /* ปรับระยะห่างจากขอบขวา */
        width: 45px; /* ปรับขนาดปุ่ม */
        height: 45px; /* ปรับขนาดปุ่ม */
        font-size: 1.8rem; /* ปรับขนาดไอคอน */
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15); /* ลดความเข้มของเงา */
    }
}

/* line end */















































/* Album */


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');
  
  .album-container {
    padding: 4rem 0;
    background-color: #f9f6f2;
    font-family: 'Montserrat', sans-serif;
    color: #333;
  }
  
  .album-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #3c3c3c;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 1px;
  }
  
  .album-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ba9361;
  }
  
  .album-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
  }
  
  .filter-buttons {
    margin-bottom: 3rem;
    position: relative;
  }
  
  .filter-buttons::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: rgba(186, 147, 97, 0.3);
  }
  
  .filter-btn {
    margin: 0 8px 10px;
    padding: 10px 22px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.4s ease;
    background-color: transparent;
    color: #555;
    border: 1px solid transparent;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  .filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ba9361;
    transition: all 0.3s ease;
  }
  
  .filter-btn:hover::after, .filter-btn.active::after {
    width: 80%;
  }
  
  .filter-btn:hover, .filter-btn.active {
    color: #ba9361;
    background-color: transparent;
    border-color: transparent;
  }
  
  .gallery-container {
    position: relative;
  }
  
  .gallery-item {
    margin-bottom: 40px;
    transition: all 0.5s ease;
    transform: scale(1);
  }
  
  .gallery-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  }
  
  .gallery-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(186, 147, 97, 0);
    z-index: 1;
    transition: all 0.4s ease;
  }
  
  .gallery-img-container:hover::before {
    background: rgba(186, 147, 97, 0.2);
  }
  
  .gallery-img {
    transition: transform 0.7s ease;
    width: 100%;
    height: 280px;
    object-fit: cover;
  }
  
  .gallery-img-container:hover .gallery-img {
    transform: scale(1.08);
  }
  
  .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(33, 33, 33, 0.85) 0%, rgba(33, 33, 33, 0.4) 50%, transparent 100%);
    color: white;
    padding: 30px 25px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
  }
  
  .gallery-img-container:hover .gallery-overlay {
    opacity: 1;
  }
  
  .gallery-caption {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    opacity: 0;
  }
  
  .gallery-img-container:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
  }
  
  .gallery-subcaption {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    letter-spacing: 1px;
  }
  
  .gallery-img-container:hover .gallery-subcaption {
    opacity: 0.9;
    transform: translateY(0);
  }
  
  .view-more-btn {
    padding: 14px 40px;
    border-radius: 0;
    font-weight: 500;
    background-color: transparent;
    color: #ba9361;
    border: 1px solid #ba9361;
    transition: all 0.4s ease;
    margin-top: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ba9361;
    transition: all 0.4s ease;
    z-index: -1;
  }
  
  .view-more-btn:hover {
    color: white;
  }
  
  .view-more-btn:hover::before {
    left: 0;
  }
  
  /* Animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .animate-item {
    animation: fadeIn 0.8s ease forwards;
  }
  
  .hidden {
    display: none;
  }
  
  /* Custom GLightbox styling */
  .glightbox-clean .gslide-description {
    background: #212121;
    border-top: 2px solid #ba9361;
  }
  
  .glightbox-clean .gslide-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #ba9361;
  }
  
  .glightbox-clean .gslide-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
  }
  
  .gclose {
    background: #ba9361 !important;
    opacity: 0.8;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .gallery-img {
      height: 240px;
    }
    
    .album-title {
      font-size: 2.2rem;
    }
    
    .filter-btn {
      padding: 8px 16px;
      margin: 0 4px 8px;
      font-size: 0.75rem;
    }
  }

/* Album end */






























/* Import Google Fonts */


/* General Body Styling - Clean and Neutral */
body {
    
    margin: 0;
    padding: 0;
    background-color: #FFFFFF; /* เปลี่ยนเป็นสีขาวสว่าง */
    color: #333; /* Darker text for readability */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Gallery Section Styling - Elegant, Spacius Container */
.gallery-section {
    padding: 80px 50px; /* Ample padding for a premium feel */
    text-align: center;
    max-width: 1200px; /* Wider for more impact */
    margin: 100px auto; /* Generous vertical space */
    background-color: #ffffff;
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* More pronounced, soft shadow for depth */
    overflow: hidden;
}

.gallery-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em; /* Large and impactful title */
    color: #222; /* Very dark for strong contrast */
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 1.5px; /* Spaced out for elegance */
    font-weight: 600; /* Bolder for prominence */
    text-transform: uppercase; /* Subtle uppercase for style */
}

.gallery-section-title::after {
    content: '';
    display: block;
    width: 120px; /* Elegant, longer underline */
    height: 3px; /* Thicker, defined underline */
    background-color: #ba9361; /* Your theme color */
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Main Area Layout - Flexbox for structured content */
.gallery-main-area {
    display: flex;
    gap: 40px; /* Clearer separation between sections */
    align-items: flex-start;
    padding-top: 30px;
}

/* Tabs Styling - Clean and Distinguished Tabs */
.gallery-tabs {
    flex: 0 0 250px; /* Wider tabs for better readability and presence */
    display: flex;
    flex-direction: column;
    background-color: #fcfcfc; /* Slight background for definition */
    border-radius: 8px; /* Matching overall aesthetic */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); /* Subtle tab shadow */
    padding: 10px 0; /* Padding inside the tab container */
    border-right: 1px solid #eee; /* Light separator line */
}

.tab {
    padding: 18px 30px; /* More comfortable padding */
    cursor: pointer;
    font-size: 1.1em; /* Larger font for better readability */
    font-weight: 400; /* Regular weight for clarity */
    color: #555; /* Soft gray */
    border: none;
    background-color: transparent;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.tab:hover {
    color: #ba9361; /* Theme color on hover */
    background-color: #f0f0f0; /* More noticeable light background on hover */
}

.tab.active {
    color: #222; /* Stronger dark color for active tab */
    font-weight: 500; /* Slightly bolder for active */
    background-color: #f9f9f9; /* Soft background for active */
    border-left: 4px solid #ba9361; /* Prominent active indicator */
    box-shadow: 0 1px 5px rgba(0,0,0,0.05); /* Slight shadow for active tab */
}

/* Gallery Content Wrapper - Seamless Integration */
.gallery-content-wrapper {
    flex-grow: 1;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0; /* No padding here, let inner elements define spacing */
    border: none;
}

.gallery-content {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
    text-align: center;
}

.gallery-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image Selector (Dropdown) - Integrated and Clean */
.image-selector-container {
    margin-bottom: 40px; /* More space below dropdown */
    padding: 20px; /* More padding */
    background-color: #fdfdfd; /* Very light background */
    border-radius: 8px; /* Matching container radius */
    border: 1px solid #e0e0e0; /* Light, defined border */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Clearer spacing */
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); /* Subtle shadow */
}

.image-selector-container label {
    font-size: 1.05em;
    color: #444;
    font-weight: 400;
    flex-shrink: 0;
}

.image-selector-container select {
    padding: 12px 25px; /* Comfortable padding */
    font-size: 1em;
    border: 1px solid #bbb; /* Clearer border */
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    min-width: 280px; /* Ample width */
    max-width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13%205.7L146.2%20224.2%2018.8%2075.1a17.6%2017.6%200%200%200-25.7%2023.1l132.4%20146.8a17.6%2017.6%200%200%200%2025.7%200l132.4-146.8a17.6%2017.6%200%200%200-12.9-23.1z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03); /* Subtle shadow */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.image-selector-container select:focus {
    outline: none;
    border-color: #ba9361;
    box-shadow: 0 0 0 3px rgba(186, 147, 97, 0.2); /* Soft focus ring */
}

/* Main Image Display - Prominent and Clean */
.main-display-wrapper {
    position: relative;
    display: inline-block;
    background-color: #fff;
    border-radius: 10px; /* Slightly less rounded than section */
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); /* Soft, elegant shadow */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 800px; /* Even wider image size */
    margin: 0 auto;
    cursor: zoom-in; /* Indicate clickable for lightbox */
    border: 1px solid #f2f2f2; /* Very light, almost invisible border */
}

.main-display-wrapper:hover {
    transform: translateY(-8px); /* More noticeable lift */
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); /* More pronounced shadow on hover */
}

.main-display-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Inner radius for image */
    object-fit: contain;
    max-height: 550px; /* Good height */
}

/* Caption below main image */
.main-display-wrapper div {
    margin-top: 20px; /* More space */
    padding: 12px 25px; /* Comfortable padding */
    font-size: 0.9em; /* Readable font size */
    color: #666;
    font-weight: 300;
    background-color: #ffffff; /* Changed to white */
    border-top: 1px solid #f0f0f0; /* Light separator */
    border-radius: 0 0 10px 10px;
    text-align: center;
}

/* --- Lightbox Styling (Re-engineered for side buttons) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Very dark, immersive background */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px); /* Stronger blur for focus */
    animation: fadeInOverlay 0.2s ease-out forwards;
    cursor: zoom-out; /* Indicate it's closable */
}

.lightbox.active {
    display: flex;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lightbox Content (Image) */
.lightbox-content {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    position: relative;
    max-width: calc(100% - 100px); /* Adjusted to give more space for buttons */
    max-height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: zoomIn 0.25s ease-out forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh; /* Image height relative to viewport */
    object-fit: contain;
    border-radius: 0;
}

/* Lightbox Close Button - Prominent and Clear */
.close-lightbox {
    position: fixed;
    top: 30px;
    right: 30px;
    color: #ffffff; /* Pure white X */
    font-size: 4em; /* Large and easy to click */
    cursor: pointer;
    line-height: 1;
    z-index: 100000;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.close-lightbox:hover {
    opacity: 0.8;
    transform: rotate(90deg); /* Subtle rotation on hover */
}

/* Lightbox Navigation Buttons - On the black edges */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px; /* Reduced padding */
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);

    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 3em; /* Reduced font size for shorter appearance */
    font-weight: 300; /* Thinner font for elegance */
    transition: color 0.2s ease, text-shadow 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* Reduced height for shorter appearance */
    width: 40px; /* Defined width for consistent shape */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.lightbox-nav-btn.prev-btn {
    left: 15px; /* Closer to image */
}

.lightbox-nav-btn.next-btn {
    right: 15px; /* Closer to image */
}

.lightbox-nav-btn:hover {
    color: #ba9361; /* Change to theme color on hover */
    background-color: rgba(0, 0, 0, 0.5); /* Darker background on hover */
    text-shadow: 0 0 10px rgba(186, 147, 97, 0.5); /* Subtle glow */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6); /* More pronounced shadow on hover */
}

/* Responsive adjustments for Elegant Minimal Style */
@media (max-width: 992px) {
    .gallery-section {
        padding: 50px 30px;
        margin: 60px auto;
    }

    .gallery-section-title {
        font-size: 3em;
        margin-bottom: 40px;
    }
    .gallery-section-title::after {
        width: 100px;
        height: 2px;
    }

    .gallery-main-area {
        flex-direction: column;
        gap: 30px;
    }

    .gallery-tabs {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
        border-radius: 6px;
    }

    .tab {
        flex-grow: 1;
        text-align: center;
        padding: 15px 10px;
        font-size: 1em;
        border-bottom: 3px solid transparent;
        border-left: none;
        border-radius: 6px 6px 0 0;
    }
    .tab.active {
        border-bottom: 3px solid #ba9361;
        border-left: none;
    }

    .gallery-content-wrapper {
        padding: 15px;
    }

    .image-selector-container {
        padding: 15px;
        gap: 15px;
    }
    .image-selector-container select {
        font-size: 0.9em;
        padding: 10px 20px;
        background-position: right 12px center;
        background-size: 9px auto;
        min-width: 220px;
    }

    .main-display-wrapper img {
        max-height: 450px;
    }

    .main-display-wrapper div {
        font-size: 0.85em;
        padding: 10px 15px;
    }

    .close-lightbox {
        font-size: 3.5em;
        top: 20px;
        right: 20px;
    }

    .lightbox-nav-btn {
        font-size: 2.5em; /* Reduced font size for smaller screens */
        padding: 10px; /* Reduced padding */
        height: 40px; /* Reduced height */
        width: 30px; /* Reduced width */
        left: 10px; /* Closer to edge */
        right: 10px; /* Closer to edge */
    }

    .lightbox-content {
        max-width: calc(100% - 100px); /* Adjusted for smaller buttons */
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 30px 15px;
        margin: 40px auto;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .gallery-section-title {
        font-size: 2.2em;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }
    .gallery-section-title::after {
        width: 80px;
        height: 2px;
    }

    /* Adjustments for Tabs on very small screens */
    .gallery-tabs {
        flex-direction: column; /* เปลี่ยนกลับเป็นแนวตั้งเพื่อไม่ให้ tabs บีบ */
        align-items: stretch; /* ให้เต็มความกว้าง */
        border-bottom: none; /* เอาเส้นคั่นด้านล่างออก */
        border-right: 1px solid #eee; /* เพิ่มเส้นคั่นด้านขวาเหมือนเดิม (ถ้าต้องการ) */
        padding: 0; /* ล้าง padding เดิม */
    }

    .tab {
        font-size: 1em; /* เพิ่มขนาดฟอนต์ให้ชัดเจนขึ้น */
        padding: 15px 10px; /* เพิ่ม padding ให้กดง่ายขึ้น */
        border-bottom: 1px solid #eee; /* เพิ่มเส้นคั่นระหว่าง tab */
        border-left: 4px solid transparent; /* เตรียมไว้สำหรับ active state */
        border-radius: 0; /* ล้าง border-radius ด้านบนออก */
        text-align: center; /* จัดให้อยู่ตรงกลาง */
    }

    .tab.active {
        border-bottom: 1px solid #eee; /* คงเส้นคั่นด้านล่างไว้ */
        border-left: 4px solid #ba9361; /* Active indicator */
        background-color: #f9f9f9; /* Soft background for active */
    }


    .gallery-content-wrapper {
        padding: 10px;
    }

    .image-selector-container {
        padding: 12px;
        gap: 10px;
        flex-direction: column; /* เรียง dropdown ในแนวตั้ง */
        align-items: stretch; /* ให้เต็มความกว้าง */
    }
    .image-selector-container label {
        text-align: center; /* จัด label ให้อยู่ตรงกลาง */
        margin-bottom: 5px; /* เพิ่มระยะห่างระหว่าง label กับ select */
    }
    .image-selector-container select {
        font-size: 0.85em;
        padding: 10px 15px; /* เพิ่ม padding เพื่อให้กดง่ายขึ้น */
        min-width: unset; /* ล้าง min-width เดิม */
        width: 100%; /* ให้เต็มความกว้างของ container */
    }

    .main-display-wrapper img {
        max-height: 300px;
    }

    .main-display-wrapper div {
        font-size: 0.75em;
        padding: 8px 12px;
    }

    .close-lightbox {
        font-size: 2.8em;
        top: 15px;
        right: 15px;
    }

    /* ซ่อนปุ่ม Previous/Next ใน Lightbox บนมือถือ */
    .lightbox-nav-btn {
        display: none; /* ซ่อนปุ่มทั้งหมด */
    }

    .lightbox-content {
        max-width: 100%; /* ให้ content เต็มความกว้างมากขึ้นเมื่อไม่มีปุ่ม */
        margin: 0; /* ไม่มี margin ด้านข้าง */
    }
}






























