/*--------------------------------------------------------------------- 
   M2 Plus Resort - Enhanced Stylesheet 
---------------------------------------------------------------------*/

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

/*--------------------------------------------------------------------- 
   import Files 
---------------------------------------------------------------------*/
@import url(animate.min.css);
@import url(normalize.css);
@import url(icomoon.css);
@import url(font-awesome.min.css);
@import url(meanmenu.css);
@import url(owl.carousel.min.css);
@import url(swiper.min.css);
@import url(slick.css);
@import url(jquery.fancybox.min.css);
@import url(jquery-ui.css);
@import url(nice-select.css);

/*--------------------------------------------------------------------- 
   Base Styles 
---------------------------------------------------------------------*/

* {
    box-sizing: border-box !important;
}

.container {
    max-width: 1170px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #4a5568;
    font-size: 16px;
    font-family: 'Sarabun', 'Poppins', sans-serif;
    line-height: 1.7;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    font-weight: 600;
    position: relative;
    padding: 0 0 10px 0;
    line-height: 1.3;
    color: #1a202c;
    margin: 0;
}

h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 28px; font-weight: 600; }
h4 { font-size: 22px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }

p {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

a {
    color: #2d3748;
    text-decoration: none !important;
    outline: none !important;
    transition: all 0.3s ease;
}

a:hover {
    color: #d4af37;
}

ul, li, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.full {
    float: left;
    width: 100%;
}

/*--------------------------------------------------------------------- 
   Preloader 
---------------------------------------------------------------------*/

.loader_bg {
    position: fixed;
    z-index: 9999999;
    background: #fff;
    width: 100%;
    height: 100%;
}

.loader {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader img {
    width: 280px;
}

/*--------------------------------------------------------------------- 
   Header & Navigation 
---------------------------------------------------------------------*/

.header {
    width: 100%;
    height: 86px;
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navigation.navbar {
    float: right;
    padding-top: 14px !important;
    padding: 0;
}

.navigation.navbar-dark .navbar-nav .nav-link {
    padding: 7px 0 27px 0;
    margin: 0 22px;
    color: #2d3748;
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: transparent solid 3px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.navigation.navbar-dark .navbar-nav .nav-link:focus,
.navigation.navbar-dark .navbar-nav .nav-link:hover {
    color: #d4af37;
    border-bottom: #d4af37 solid 3px;
}

.navigation.navbar-dark .navbar-nav .active > .nav-link,
.navigation.navbar-dark .navbar-nav .nav-link.active {
    color: #d4af37;
    border-bottom: #d4af37 solid 3px;
}

/*--------------------------------------------------------------------- 
   Banner Section 
---------------------------------------------------------------------*/

.banner_main {
    position: relative;
}

.banner .carousel-indicators li {
    width: 20px;
    height: 20px;
    border-radius: 30px;
    background: #000;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.banner .carousel-indicators .active {
    background-color: #d4af37;
    opacity: 1;
}

.booking_ocline {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.book_room {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(20, 20, 20, 0.9) 100%);
    padding: 40px 40px;
    border-left: #d4af37 solid 5px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.book_room h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: #fff;
    padding-bottom: 25px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

.book_now label {
    display: block;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.book_now .form-control {
    width: 100%;
    height: 50px;
    border: rgba(255, 255, 255, 0.3) solid 1px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.book_now .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(254, 0, 0, 0.2);
}

.book_now .btn {
    background: linear-gradient(135deg, #d4af37 0%, #c80000 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(254, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

.book_now .btn:hover {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(254, 0, 0, 0.4);
}

/*--------------------------------------------------------------------- 
   Title Page 
---------------------------------------------------------------------*/

.titlepage {
    text-align: center;
    padding-bottom: 50px;
}

.titlepage h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #1a202c;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.titlepage h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #ff4444 100%);
    border-radius: 2px;
}

.titlepage p {
    font-size: 17px;
    line-height: 1.7;
    color: #4a5568;
    margin-top: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.read_more {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #fff;
    padding: 12px 35px;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.read_more:hover {
    background: linear-gradient(135deg, #d4af37 0%, #c80000 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 0, 0, 0.3);
}

/*--------------------------------------------------------------------- 
   About Section 
---------------------------------------------------------------------*/

.about {
    background-color: #fff;
    padding-top: 90px;
}

.about .titlepage {
    text-align: left;
    padding-bottom: 0;
    max-width: 520px;
    width: 100%;
    float: right;
}

.about .titlepage h2 {
    margin-bottom: 30px;
    text-align: left;
    display: block;
}

.about .titlepage h2::after {
    left: 0;
    transform: none;
}

.about .titlepage p {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.8;
    padding-bottom: 35px;
    color: #4a5568;
}

.about_img {
    margin-right: 40px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about_img figure {
    margin: 0;
}

.about_img figure img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about_img figure img:hover {
    transform: scale(1.08);
}

/*--------------------------------------------------------------------- 
   Our Room Section 
---------------------------------------------------------------------*/

.our_room {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 80px 0 50px 0;
    margin-top: 90px;
}

.our_room .titlepage {
    text-align: center;
}

.our_room .titlepage p {
    color: #4a5568;
    font-size: 17px;
    margin-top: 25px;
}

.our_room .room {
    text-align: center;
    background-color: #fff;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.our_room .room:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(254, 0, 0, 0.15);
}

.our_room .room .room_img {
    overflow: hidden;
}

.our_room .room .room_img figure {
    margin: 0;
}

.our_room .room .room_img figure img {
    width: 100%;
    transition: transform 0.5s ease;
}

.our_room .room .room_img figure img:hover {
    transform: scale(1.1);
}

.our_room .room .bed_room {
    padding: 30px 25px;
}

.our_room .room .bed_room h3 {
    font-family: 'Playfair Display', serif;
    color: #1a202c;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-bottom: 10px;
}

.our_room .room:hover .bed_room h3 {
    color: #d4af37;
}

.our_room .room .bed_room p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
}

/*--------------------------------------------------------------------- 
   Gallery Section 
---------------------------------------------------------------------*/

.gallery {
    padding-top: 80px;
}

.gallery .titlepage {
    text-align: center;
}

.gallery .gallery_img {
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery .gallery_img:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery .gallery_img figure {
    margin: 0;
}

.gallery .gallery_img figure img {
    width: 100%;
    transition: transform 0.5s ease;
}

.gallery .gallery_img figure img:hover {
    transform: scale(1.1);
}

/*--------------------------------------------------------------------- 
   Blog Section 
---------------------------------------------------------------------*/

.blog {
    position: relative;
    background: url(../images/blog_bg.avif) center/cover no-repeat;
    padding: 90px 0 60px 0;
    margin-top: 80px;
}

.blog::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.blog .container {
    position: relative;
    z-index: 2;
}

.blog .titlepage h2 {
    color: #fff;
}

.blog .titlepage h2::after {
    background: linear-gradient(90deg, #fff 0%, #f5f5f5 100%);
}

.blog .titlepage p {
    color: #f5f5f5;
    font-size: 17px;
    margin-top: 25px;
}

.blog .blog_box {
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.blog .blog_box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.blog .blog_box .blog_img {
    overflow: hidden;
}

.blog .blog_box .blog_img figure {
    margin: 0;
}

.blog .blog_box .blog_img figure img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog .blog_box .blog_img figure img:hover {
    transform: scale(1.12);
}

.blog .blog_box .blog_room {
    padding: 28px 25px;
    text-align: left;
}

.blog .blog_box .blog_room h3 {
    font-family: 'Playfair Display', serif;
    color: #1a202c;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog .blog_box .blog_room span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog .blog_box .blog_room p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
}

/*--------------------------------------------------------------------- 
   Contact Section 
---------------------------------------------------------------------*/

.contact {
    background: #fff;
    margin-top: 90px;
}

.main_form .contactus {
    border: #e2e8f0 solid 1px;
    padding: 0 20px;
    margin-bottom: 25px;
    width: 100%;
    height: 58px;
    background: #fff;
    color: #2d3748;
    font-size: 16px;
    font-weight: 400;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(254, 9, 9, 0.08);
    transition: all 0.3s ease;
}

.main_form .contactus:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(254, 0, 0, 0.1);
    outline: none;
}

.main_form .textarea {
    border: #e2e8f0 solid 1px;
    margin-bottom: 25px;
    width: 100%;
    background: #fff;
    color: #2d3748;
    font-size: 16px;
    font-weight: 400;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(254, 9, 9, 0.08);
    height: 150px;
    border-radius: 8px;
    transition: all 0.3s ease;
    resize: vertical;
}

.main_form .textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(254, 0, 0, 0.1);
    outline: none;
}

.main_form .send_btn {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    text-transform: uppercase;
    color: #fff;
    padding: 14px 0;
    max-width: 200px;
    width: 100%;
    display: block;
    margin-top: 10px !important;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main_form .send_btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #c80000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 0, 0, 0.3);
}

#request *::placeholder {
    color: #a0aec0;
    opacity: 1;
}

/*--------------------------------------------------------------------- 
   Footer 
---------------------------------------------------------------------*/

.footer {
    background: linear-gradient(135deg, #0f1521 0%, #1a1f2e 100%);
    margin-top: 90px;
    padding-top: 70px;
    text-align: center;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.3;
    text-align: left;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: #d4af37 solid 3px;
    padding-bottom: 8px;
    display: table;
}

ul.conta li {
    color: #cbd5e0;
    text-align: left;
    padding-bottom: 18px;
    font-size: 16px;
    line-height: 1.6;
}

ul.conta li i {
    padding-right: 15px;
    text-align: center;
    font-size: 20px;
    color: #d4af37;
}

ul.conta li a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

ul.conta li a:hover {
    color: #d4af37;
}

ul.link_menu li {
    display: block;
    text-align: left;
}

ul.link_menu li.active a {
    color: #d4af37;
}

ul.link_menu li a {
    color: #cbd5e0;
    font-size: 16px;
    line-height: 2.2;
    display: block;
    transition: all 0.3s ease;
}

ul.link_menu li a:hover {
    color: #d4af37;
    padding-left: 5px;
}

ul.social_icon {
    padding-top: 30px;
    width: 100%;
    float: left;
    text-align: left;
}

ul.social_icon li {
    display: inline-block;
}

ul.social_icon li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-size: 22px;
    border-radius: 50%;
    margin: 0 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

ul.social_icon li a:hover {
    color: #fff;
    background: #d4af37;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 60px;
    padding: 25px 0;
    background-color: #fff;
    border-top: #d4af37 solid 3px;
}

.copyright p {
    color: #2d3748;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
    margin: 0;
}

.copyright a {
    color: #2d3748;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #d4af37;
}

/*--------------------------------------------------------------------- 
   Inner Pages 
---------------------------------------------------------------------*/

.back_re {
    background: linear-gradient(135deg, #0f1521 0%, #1a1f2e 100%);
}

.back_re .title {
    text-align: center;
}

.back_re .title h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 44px;
    padding: 50px 0;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.margin_0 {
    margin: 0 !important;
}

.inner_page .gallery {
    padding-top: 90px;
}

.inner_page .blog {
    margin-top: 90px;
}

/*--------------------------------------------------------------------- 
   Responsive Adjustments 
---------------------------------------------------------------------*/

@media (max-width: 768px) {
    .titlepage h2 {
        font-size: 32px;
    }
    
    .book_room h1 {
        font-size: 26px;
    }
    
    .about .titlepage {
        float: none;
        max-width: 100%;
        text-align: center;
    }
    
    .about .titlepage h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
.rules_section {
    background: #f9f9f9;
    padding: 60px 0;
}
.rule_card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 5px solid #d4af37; /* สีทองเดียวกับโลโก้ */
}
.rule_card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}
.rule_list {
    list-style: none;
    padding: 0;
}
.rule_list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}
.rule_list li::before {
    content: "•";
    color: #d4af37;
    font-weight: bold;
    position: absolute;
    left: 0;
}
.price_tag {
    color: #d4af37;
    font-weight: bold;
}