/********************************************
narinthra-heritage Stylesheet by CMNice Solutions. *
********************************************/

/*** Reset Documents ***/
@import url('reset.css');

/******** Fonts ********/
@import url('fonts.css');

/******** Fonts ********/
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Mobile */
@media screen and (max-width: 768px) {
    .header-contain {
        position: relative !important;
    }

    .header-mb {
        background:#000;
        height:80px;
    }

    .header-mb p {
        font: 14px/1.4 'Kanit', sans-serif;
        color: #fff;
        font-weight: 200;
    }

    .mobile-logo {
        height: 88px !important;
    }

    .navbar-expand-lg {
        background-color: #fff !important;
    }

    .nav-item {
        border-bottom: 2px solid #EF4322;
    }

    .nav-item .nav-link {
        font: 18px/1.6 'Kanit', sans-serif !important;
        color: #fff !important;
        font-weight: 300 !important;
        
    }

    .navbar-nav .show {
        background-color: #fff !important;
        color: #fff !important;
    }

    .navbar-nav .dropdown-menu {
        /* background-color: #5F800C !important; */
        color: #fff !important;
    }

    .nav-item .dropdown-menu .dropdown-item {
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .nav-item .dropdown-menu .mb-dropdown-item {
        font-size: 12px !important;
    }

    /**/
    .team-item-text {
        min-height: 7rem !important;
    }

    /**/
    .slide-text-contain {
        min-height: 200px !important;
        background-color: #0b7855;
    }

    /**/
    .service-block {
        height: 310px !important;
    }

    .service-block .mask {
        background: rgba(0, 85, 167, 0.75) !important;

    }

    .service-block .mask h3,
    .service-block .mask p {
        color: #fff !important;
    }

    .service-detail-contain-bg {
        background-size: auto 100% !important;
    }
}

/* Desktop */
body {
    background: #000 !important;
}


/* Content Container */
.content_container {
    position: relative;
}

/* WIDTH SETTING */
.container-fluid {
    padding: 0 !important;
}
.container {
    max-width: 1320px !important;
    /* position: relative; */
}


/* Content Wrapper Container */
.logo {
    position: relative;
}

.top-contact {
    /* position: absolute; */
    font-family: 'Kanit', sans-serif;
    /* background: #ffffff49; */
}

.top-contact p {
    font: 14px/1.4 'Kanit', sans-serif;
    color: #000;
    font-weight: 200;
}
.main-nav {
    width: 100%;
    z-index: 9;
    position: absolute;
    background-color: #000;
}

/* กำหนดขนาด slide */
.carousel-img-wrapper {
    height: 600px; /* ความสูงบนจอคอม */
    overflow: hidden;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* บนมือถือ ปรับเป็นอัตราส่วน 16:9 */
@media (max-width: 768px) {
    .carousel-img-wrapper {
        height: 0;
        padding-top: 56.25%; /* 16:9 */
        position: relative;
    }
    .carousel-img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }
}

.fixed-top {
    background: #0000009a;
    top: -40px;
    /* transform: translateY(40px); */
    transition: transform .3s;
    z-index: 99999;
    /*background: linear-gradient(90deg, rgba(31,87,34,1) 0%, rgba(33,105,43,1) 35%, rgba(33,118,50,1) 100%);*/
}


.bg-boxlang {
    /* background-color: #fff !important; */
    /* border: 1px solid #000; */
    border-radius: 5px !important;
    border:solid #fff 1px;
}

.bg-boxlang:hover {
    /* background-color: #fff !important; */
    border:solid #fff 1px;

}

/* NAVIGATION */
.logo-active {
    display: inline-block;
    width: 157px;
    height: 146px;
    position: relative;
    background: #866d2d;
    vertical-align: top;
}

.logo-active::after {
    position: absolute;
    left: 0;
    top: 100%;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 55px 78.5px 0 78.5px;
    border-color: #866d2d transparent transparent transparent;
}

.logo-active img,
.logo-inactive img {
    display: block;
    margin: 15px auto;
}

.logo-inactive {
    display: inline-block;
    width: 157px;
    height: 146px;
    position: relative;
    vertical-align: top;
}

.nav-logo {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Main Menu */
.nav-list {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 0;
}

.nav-list li {
    display: inline-block;
    height: 100%;
    padding: 0 1em;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    vertical-align: top;
}

.nav-list li:first-child {
    border: 0;
}

.nav-list li:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #333;
}

.nav-list li:last-child:after {
    display: none;
}

/*.nav-list li#active {
    background: #252525;
    border-radius: 15px;
    padding: 1px 15px;
}*/
.nav-list li a {
    text-decoration: none;
    color: #333;
    font: 18px 'alaskaregular';
}

.nav-list li#active a,
.nav-list li#active a span {
    color: #c00c19;
}

.nav-list li a span {
    font: 18px/1 'CordiaDSE';
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-list li a span {
    display: block;
}

.nav-menu {
    display: none;
}

/* Sub nav */
.nav-list li ul {
    width: 120px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99;
}

.nav-list li:hover ul {
    display: block;
}

.nav-list li ul li,
.nav-list li ul li:first-child {
    min-height: 25px;
    width: 100%;
    margin: 0;
    background: #f3f3f3;
    border-bottom: 2px dotted #ccc;
    transition: all 0.5s;
}

.nav-list li ul li:hover {
    background: #ccc;
}

.nav-list li ul li:hover a {
    color: #c00c19;
}

.nav-list li ul li::after {
    display: none;
}

.nav-list li ul li:last-child a {
    border: 0;
}

.nav-list li ul li {
    text-align: center;
}

.nav-list li ul li a {
    text-decoration: none;
    color: #333;
    font: 18px 'alaskaregular';
    text-align: center;
}

.nav-item .nav-link {
    font: 16px/1 'Kanit', sans-serif;
    color: #fff !important;
    font-weight: 200;
}


.navbar-toggler {
    font: 22px/1 'Kanit', sans-serif;
    color: #fff !important;
}


/* Heading */
.heading1 {
    font: 32px/1 'Kanit', sans-serif;
    color: #1a2350;
    position: relative;
    font-weight: 300;
}

.heading2 {
    font: 20px/1 'Kanit', sans-serif;
    color: #000;
}

.text1 {
    font: 16px/1 'Kanit', sans-serif;
    color: #000;
    font-weight: 300;
}

/* About Content */
.about-content {
    /* position: relative; */
    font-family: 'Kanit', sans-serif;
}

.about-content h1 {
    font: 42px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 300;
}
.about-content h2 {
    font: 18px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 300;
}
.about-content p {
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

/* .about-content img {
    max-width: 100%;
} */
.about-content ul {
	list-style-type: disc;
	padding-left: 20px;
    color: #fff;
  }
  
.about-content li {
	margin-bottom: 8px;
  }
.about-content ul li::marker {
	color: #b19748; /* เปลี่ยนสีจุด */
	font-size: 1em; /* ขยายจุด */
  }


/* blog-content */
.blog-content {
    /* position: relative; */
    font-family: 'Kanit', sans-serif;
}

.blog-content h1 {
    font: 42px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 200;
}
.blog-content h2 {
    font: 22px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.blog-content p {
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.blog-content hr {
    border: #edc123 solid 1px;
}

/* .blog-content img {
    max-width: 100%;
} */
.blog-content ul {
	list-style-type: disc;
	padding-left: 20px;
    color: #fff;
  }
  
.blog-content li {
	margin-bottom: 8px;
  }
.blog-content ul li::marker {
	color: #b19748; /* เปลี่ยนสีจุด */
	font-size: 1em; /* ขยายจุด */
  }

/* room Content */

.room-content {
    /* position: relative; */
    font-family: 'Kanit', sans-serif;
}

.room-content h1 {
    font: 38px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.room-content h2 {
    font: 38px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.room-content h3 {
    font: 12px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.room-content p {
    font: 17px/1.3 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.room-content:hover {
  background: url('./images/cover/bg-room.png') center top / cover no-repeat;
}
.bg-room {
  position: relative;
  background-image: url('./images/cover/bg-room.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

/* overlay ดำ (เฉพาะ desktop/tablet) */
.bg-room::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5); /* ดำโปร่งแสง */
  transition: background-color 0.4s ease;
  z-index: 1;
}

.bg-room:hover::before {
  background-color: rgba(0,0,0,0);
}

/* ให้เนื้อหาด้านในไม่ถูก overlay ทับ */
.bg-room > * {
  position: relative;
  z-index: 2;
}

/* 📱 มือถือ: ไม่ต้องมี overlay */
@media (max-width: 768px) {
  .bg-room::before {
    display: none;
  }
}

.room-page h1 {
    font: 42px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 300;
}
.room-page h2 {
    font: 28px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.room-page h3 {
    font: 18px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 300;
}
.room-page p {
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.room-page h4 {
    font: 12px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.room-page button{
    font: 14px/1 'Kanit', sans-serif;
    color: #000;
    font-weight: 300;
}
.dot-room::before {
  content: "";
  display: inline-block;
  width: 100%;   /* ความยาวเส้น */
  height: 8px;   /* ความสูงพื้นที่ */
  background: radial-gradient(circle, #fff 1px, transparent 2px);
  background-size: 7px 8px; /* จุดเล็กลงและห่างกัน */
  margin-right: 8px;
}

.line-room {
    border-bottom: #bb9f4c solid 3px;
    width: 100px;
}


/* promotion Content */
.line-promotion {
    border-bottom: #fff solid 1px;
    width: 100%;
}
.line-content {
    border-left: #edc123 solid 1px;
    height: 100px;
}
.promotion-content {

    background: url(../images/cover/bg-promotion.jpg) center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Kanit', sans-serif;

     
    /* height: 800px; */
}

.promotion-content h1 {
    font: 42px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.promotion-content h2 {
    font: 38px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 300;
}
.promotion-content h3 {
    font: 16px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.promotion-content p {
    font: 14px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

/* Facilities Container */
.facilities-container {
    position: relative;
    z-index: 2;
    font-family: 'Kanit', sans-serif;
}

.facilities-container h1 {
    font: 42px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.facilities-container h2 {
    font: 38px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 300;
}

.facilities-container h3 {
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.facilities-container p {
    font: 14px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.facilities-container a {
    font: 14px/1.5 'Kanit', sans-serif;
    font-weight: 300;
    text-decoration: none;
    color: #fff;
}
.fadein-box {
    position: relative;
    width: 100%;
    height: auto;
}
/* photo  */
.photo_container {
   position: relative;
    z-index: 2;
    font-family: 'Kanit', sans-serif;
}
.photo_container p {
    font: 14px/1.5 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 1.5em;
    color: #fff;
}

.photo_container button {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 300;
    /* line-height: 1.5 em; */
    color: #000;
}

.photo_container h1 {
    font: 42px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;

}

.photo_container h2 {
    font: 38px/1 'Kanit', sans-serif;
    color: #bb9f4c;
    font-weight: 300;
}

.photo_container h3 {
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.photo_container img {
    max-width: 100%;
    height: auto !important;
}

.photo_container a {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    text-decoration: none;
    /* color: #F7904C; */
}

.dot-line::before {
  content: "";
  display: inline-block;
  width: 100%;   /* ความยาวเส้น */
  height: 8px;   /* ความสูงพื้นที่ */
  background: radial-gradient(circle, #fff 1px, transparent 2px);
  background-size: 20px 8px; /* จุดเล็กลงและห่างกัน */
  margin-right: 8px;
}
.fadein {
    opacity: 0;
    margin-top: 100px;
    max-width: 100%;
}

/* Search Box */
.search-box {
    font-family: "Kanit", sans-serif;
    background-color: #fff;

}

.search-box label {
    font: 16px/1 "Kanit", sans-serif;
    color: #000;
    font-weight: 200;

}

/* Text Content */
.text-content {
    position: relative;
    font-family: 'Kanit', sans-serif;
}

.text-content h1 {
    font: 26px/1 'Kanit', sans-serif;
    color: #626262;
}

.text-content p {
    font: 14px/1.3 'Kanit', sans-serif;
    color: #626262;
    font-weight: 300;
}

.text-content img {
    max-width: 100% !important;
    height: auto !important;
}

.text-content ul li {
    list-style: disc;
    list-style-position: inside;
}

.text-content ol li {
    list-style: decimal;
    list-style-position: inside;
}

.text-content ul li,
.text-content ol li {
    font: 14px/1.3 'Kanit', sans-serif;
    color: #626262;
    font-weight: 300;
}


.img-glow {
    padding: 5px;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 1.5px 2.6px 21px rgba(181, 203, 221, 0.8);
}

/* Property Detail */
.pt-h1 {
    font: 21.45px/1 'Kanit', sans-serif;
    color: #333;
    font-weight: 700;
}

.sell-b {
    border: 1px solid #34b558;
    color: #34b558;
}

.rent-b {
    border: 1px solid #d8ae47;
    color: #d8ae47;
}

.sale_rent-b {
    border: 1px solid #3b0eed;
    color: #3b0eed;
}


.property-detail {
    position: relative;
    font-family: 'Kanit', sans-serif;
}

.property-detail h1 {
    font: 26.81px/1 'Kanit', sans-serif;
    color: #072539;
}

.property-detail h2 {
    font: 19.31px/1 'Kanit', sans-serif;
    color: #000;
}

.property-detail h3 {
    font: 18.02px/1 'Kanit', sans-serif;
    color: #666;
}

.property-detail p {
    font: 14.02px/1 'Kanit', sans-serif;
    color: #000;
    line-height: 1.5em;
}

.property-detail ul,
.property-detail ol {
    list-style-position: inside;
}

.property-detail ul {
    list-style-type: disc;
}

.property-detail ol {
    list-style-type: decimal;
}

.property-detail ul li,
.property-detail ol li {
    font: 15.02px/1 'Kanit', sans-serif;
    color: #000;
    font-weight: 300;
    margin-bottom: 10px;
}


/* Contact */
.contact-container {
    position: relative;
    background: url('../images/cover/cover-contact.png') center no-repeat;
    background-size: cover;

}

.contact-container h1 {
    font: 42px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.contact-container h2 {
    font: 24px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}
.contact-container p {
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 200;
    line-height: 1.5em;
    text-decoration: none;
}
.contact-container p a{
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    font-weight: 200;
    line-height: 1.5em;
    text-decoration: none;
}


/* ตั้งค่าเริ่มต้น (Desktop/Tablet) */
#map {
  height: 480px;
}

/* ถ้าเป็นหน้าจอเล็ก (มือถือ ≤ 576px) */
@media (max-width: 576px) {
  #map {
    height: 180px;
  }
}


/* Footer */
.footer-content {
    border-bottom: 2px solid #fff;
}

.footer-content h1 {
    font: 16px/1 'Kanit', sans-serif;
    color: #fff;
    font-weight: 700;
}

.footer-content p {
    font: 14px/1.3 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
}

.footer-content p a {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
}

.footer-content h3 {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
}

.footer-content h3 a {
    color: #debc53;
    font-weight: 300;
    text-decoration: none;
}


.footer {
    width: 100%;
    height: auto;
    background: #333;
    color: #fff;
    position: relative;
}

.footer .banner img {
    max-width: 100%;
}

.footer p {
    font: 21px/1 kittithada_roman_55regular;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.footer p a {
    color: #fff;
    text-decoration: none;
}

#scrollUp {
    bottom: 70px;
    right: 20px;
    padding: 10px 20px;
    background: #E4B742;
    color: #000;
}

.flex-direction-nav a {
    line-height: normal;
}

.social-fix {
    width: 50px;
    height: auto;
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 999;
}

.social-fix img {
    width: 100%;
    float: left;
}

.social-logo {
    width: 100%;
    height: auto;
    /* position: fixed; */
    /* right: 0; */
    /* top: 30%; */
    z-index: 99;
}

.social-logo a img {
    transition: all 0.5s;
}

.social-logo a:hover img {
    transform: scale(1.2);
}

.clearfix {
    clear: both;
}

.bg-zoom-effect {
transition: transform 0.4s ease, box-shadow 0.3s ease;
will-change: transform;
cursor: pointer;
}
.bg-zoom-effect:hover,
.bg-zoom-effect:focus,
.bg-zoom-effect:active {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.img-wrapper {
overflow: hidden;
border-radius: 0; /* หรือใช้ 1rem ถ้าอยากให้มีมุมโค้ง */
}

