/* ================= LUXURY HOTEL STYLE ================= */

/* Google Font Look Luxury */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Poppins:wght@300;400;500&display=swap');

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

html, body{
    overflow-x:hidden;
    font-family:'Poppins', sans-serif;
    background:#0f0f0f;
    color:#eee;
    scroll-behavior:smooth;
}

img{
    max-width:100%;
    display:block;
}

/* ================= HEADER ================= */

.header{
    position:fixed;
    top:0;
    width:100%;
    height:80px;
    background:rgba(0,0,0,0.85);
    backdrop-filter:blur(12px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 60px;
    z-index:9999;
    border-bottom:1px solid rgba(212,175,55,0.2);
}

.logo{
    font-family:'Playfair Display', serif;
    font-size:24px;
    letter-spacing:2px;
    color:#d4af37;
}

.nav-menu{
    display:flex;
    gap:40px;
}

.nav-menu a{
    color:#eee;
    text-decoration:none;
    font-size:14px;
    letter-spacing:1px;
    position:relative;
    transition:0.3s;
}

.nav-menu a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:1px;
    background:#d4af37;
    transition:0.3s;
}

.nav-menu a:hover{
    color:#d4af37;
}

.nav-menu a:hover::after{
    width:100%;
}

/* ================= LANGUAGE BUTTON ================= */

.lang-btn{
    background:transparent;
    border:1px solid #d4af37;
    color:#d4af37;
    padding:8px 16px;
    cursor:pointer;
    transition:0.3s;
}

.lang-btn:hover{
    background:#d4af37;
    color:#000;
}

.lang-popup{
    position:absolute;
    top:45px;
    right:0;
    background:#111;
    border:1px solid rgba(212,175,55,0.3);
    display:none;
    min-width:140px;
}

.lang-popup.show{
    display:block;
}

.lang-popup a{
    display:block;
    padding:10px;
    color:#eee;
    text-decoration:none;
}

.lang-popup a:hover{
    background:#222;
}

/* ================= HERO ================= */

.hero{
    height:75vh;   /* เดิม 100vh */
    min-height:550px;
    background:url('/assets/images/hero.jpg') center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
}


.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    padding:20px;
}

.hero h1{
    font-family:'Playfair Display', serif;
    font-size:60px;
    letter-spacing:3px;
    color:#fff;
    margin-bottom:20px;
}

.hero p{
    font-size:18px;
    color:#d4af37;
    letter-spacing:1px;
}

/* ================= SECTIONS ================= */

section{
    padding:120px 10%;
}

section h2{
    font-family:'Playfair Display', serif;
    font-size:42px;
    margin-bottom:60px;
    text-align:center;
    color:#d4af37;
    letter-spacing:2px;
}

/* ================= CARD STYLE ================= */

.card{
    background:#1a1a1a;
    padding:40px;
    border-radius:12px;
    transition:0.4s;
    border:1px solid rgba(212,175,55,0.1);
}

.card:hover{
    transform:translateY(-8px);
    border-color:#d4af37;
    box-shadow:0 20px 40px rgba(0,0,0,0.5);
}

/* ================= FACILITIES ================= */

.facilities-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

/* ================= ROOMS ================= */

.room-box{
    background:#1a1a1a;
    padding:35px;
    margin-bottom:25px;
    border-left:4px solid #d4af37;
    transition:0.3s;
}

.room-box:hover{
    background:#222;
}

/* ================= GALLERY ================= */

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

.gallery-grid .box{
    height:250px;
    background:#222;
    border-radius:10px;
    transition:0.4s;
}

.gallery-grid .box:hover{
    transform:scale(1.05);
}

/* ================= CONTACT ================= */

.contact-box{
    background:#1a1a1a;
    padding:50px;
    text-align:center;
    border:1px solid rgba(212,175,55,0.2);
}

/* ================= FOOTER ================= */

footer{
    background:#000;
    text-align:center;
    padding:30px;
    font-size:14px;
    letter-spacing:1px;
    border-top:1px solid rgba(212,175,55,0.2);
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .header{
        padding:0 20px;
    }

    .nav-menu{
        display:none;
    }

    .hero h1{
        font-size:34px;
    }

    section{
        padding:80px 20px;
    }

}

/* ===== Header Layout Fix ===== */

.header {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.header-right{
    display:flex;
    align-items:center;
    gap:20px;
}

/* Desktop Menu */
.nav-desktop{
    display:flex;
    gap:40px;
}

.nav-desktop a{
    text-decoration:none;
    color:#eee;
    font-size:14px;
}

.nav-desktop a:hover{
    color:#d4af37;
}

/* Hamburger */
.hamburger{
    font-size:24px;
    cursor:pointer;
    display:none;
}

/* Mobile Menu */
.nav-mobile{
    position:fixed;
    top:0;
    right:-300px;
    width:260px;
    height:100vh;
    background:#111;
    display:flex;
    flex-direction:column;
    padding:100px 30px;
    gap:30px;
    transition:0.4s;
    z-index:9999;
}

.nav-mobile a{
    color:#eee;
    text-decoration:none;
    font-size:18px;
}

.nav-mobile.active{
    right:0;
}

/* Overlay */
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:none;
    z-index:9998;
}

.menu-overlay.active{
    display:block;
}

/* Mobile Mode */
@media(max-width:900px){

    .nav-desktop{
        display:none;
    }

    .hamburger{
        display:block;
    }

}
/* ================= RESIDENCE LUXURY ================= */

.residence {
    background: #0f0f0f;
    padding: 120px 10%;
}

.residence-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT BIG IMAGE */
.residence-left img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* RIGHT SIDE */
.residence-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

/* TEXT */
.residence-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.2;
    color: #d4af37;
    margin-bottom: 25px;
}

.residence-text p {
    font-size: 17px;
    color: #ccc;
    line-height: 1.6;
    max-width: 500px;
}

/* SMALL IMAGE */
.residence-small img {
    width: 70%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    align-self: flex-end;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: 0.4s;
}

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

/* ================= MOBILE ================= */

@media (max-width: 992px) {

    .residence-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .residence-left img {
        height: 400px;
    }

    .residence-text h2 {
        font-size: 32px;
    }

    .residence-small img {
        width: 100%;
        height: 220px;
        align-self: center;
    }

}
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}
/* ================= WHY SECTION LUXURY ================= */

.why {
    background: #111;
    padding: 120px 10%;
}

.why-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #d4af37;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.why-top {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 100px auto;
}

.why-icon {
    width: 70px;
    margin: 0 auto 25px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(40%) saturate(400%) hue-rotate(5deg);
}

.why-top h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff;
}

.why-top p {
    color: #bbb;
    line-height: 1.7;
    font-size: 16px;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

/* BOX */
.why-box {
    background: linear-gradient(145deg, #1a1a1a, #141414);
    padding: 50px 40px;
    border-radius: 14px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid rgba(212,175,55,0.1);
}

.why-box img {
    width: 60px;
    margin-bottom: 25px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(40%) saturate(400%) hue-rotate(5deg);
}

.why-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.why-box p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
}

/* Hover Effect */
.why-box:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.why-box:hover h3 {
    color: #d4af37;
}
.why-title::after {
    content:'';
    width:80px;
    height:2px;
    background:#d4af37;
    display:block;
    margin:25px auto 0;
}
/* ================= WHY ULTRA LUXURY ================= */

.why {
    position: relative;
    padding: 140px 10%;
    background: #0f0f0f;
    overflow: hidden;
}

/* Background Image Blur */
.why-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero.jpg') center/cover no-repeat;
    opacity: 0.05;
    filter: blur(6px);
    z-index: 0;
}

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

.why-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    color: #d4af37;
    margin-bottom: 120px;
    letter-spacing: 2px;
}

.why-title::after {
    content:'';
    width:90px;
    height:2px;
    background:#d4af37;
    display:block;
    margin:30px auto 0;
}

/* Row Layout */
.why-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s ease;
}

.why-row.reverse {
    flex-direction: row-reverse;
}

.why-text {
    flex: 1;
}

.why-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #fff;
}

.why-text p {
    color: #bbb;
    line-height: 1.7;
    font-size: 17px;
    max-width: 500px;
}

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

.why-image img {
    width: 300px;
    border-radius: 12px;
    transition: 0.4s;
}


.why-row:hover .why-image img {
    transform: scale(1.2);
}

/* Scroll Animation Active */
.why-row.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media(max-width: 900px){
    .why-row,
    .why-row.reverse{
        flex-direction: column;
        text-align: center;
    }

    .why-text p{
        margin: 0 auto;
    }
}

/* ===== SERVICES LUXURY ===== */

.services {
    padding: 120px 10%;
    background: #0f0f0f;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #d4af37;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

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

.service-card {
    background: #151515;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.5s;
    border: 1px solid rgba(212,175,55,0.1);
}

.service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

/* Golden overlay */
.service-img::after {
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.service-content p {
    color: #bbb;
    line-height: 1.6;
    font-size: 15px;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-12px);
    border-color: #d4af37;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card:hover h3 {
    color: #d4af37;
}

/* ===== SERVICES LUXURY ===== */

.services {
    padding: 120px 10%;
    background: #0f0f0f;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #d4af37;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

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

.service-card {
    background: #151515;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.5s;
    border: 1px solid rgba(212,175,55,0.1);
}

.service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

/* Golden overlay */
.service-img::after {
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.service-content p {
    color: #bbb;
    line-height: 1.6;
    font-size: 15px;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-12px);
    border-color: #d4af37;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card:hover h3 {
    color: #d4af37;
}
/* ===== MODERN FACILITIES LAYOUT ===== */

.facilities-modern {
    background: #0f0f0f;
    padding: 120px 8%;
}

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

.main-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #d4af37;
    margin-bottom: 80px;
}

.food-section {
    margin-top: 120px;
}

/* Row Layout */
.facility-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.facility-row.reverse {
    flex-direction: row-reverse;
}

/* Image */
.facility-image {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.facility-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    transition: 0.6s;
}

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

/* Text */
.facility-content {
    flex: 1;
}

.facility-content h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}

.facility-content p {
    color: #bbb;
    line-height: 1.8;
    font-size: 16px;
}

/* Responsive */
@media(max-width: 900px) {
    .facility-row,
    .facility-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .facility-image img {
        height: 250px;
    }
}
