@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #C5A880; /* SeaPearl Gold */
    --secondary-color: #0B1C39; /* Deep Ocean Blue */
    --text-color: #555555;
    --light-bg: #F9F9F9;
    --white: #FFFFFF;
    --transition: all 0.4s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--secondary-color);
    font-weight: 700;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: space-between; /* Keeps Logo left, Menu right */
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    height: 100%;
    max-width: 80%; /* Prevents logo from taking full width */
}

.logo img {
    height: 50px;
    width: auto;
}

.logo p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; /* Desktop Size */
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    white-space: nowrap;
}

#nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
    margin: 0;
}

#nav-menu li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

#nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

#nav-menu li a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.hamburger {
    display: none !important;
    font-size: 26px;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 1001; /* Ensure it stays above everything */
}

/* --- HERO SECTION --- */
#firstsection {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background-color: transparent;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 57, 0.4);
    z-index: 1;
}

.welcomeline {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 20px;
    animation: fadeInUp 1.2s ease;
}

.welcometag {
    font-size: 80px; 
    font-size: clamp(24px, 5vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff !important;
    white-space: nowrap;
}

.slogan-text {
    font-size: 22px;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #ffffff !important;
}

.cta-btn {
    padding: 18px 45px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.vip-header h1, .page-header h1 {
    color: #ffffff !important;
}
.vip-header p, .page-header p {
    color: #ffffff !important;
}

/* --- SECTIONS --- */
.section-head {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-head h1 {
    font-size: 45px;
    margin-bottom: 15px;
}

.section-head span {
    color: var(--primary-color);
    font-family: 'Jost', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

/* --- ROOMS SECTION --- */
#secondsection {
    padding: 100px 50px;
    background-color: var(--light-bg);
}

.roomselect {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.roombox {
    background: var(--white);
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.roombox:hover {
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.hotelphoto {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.h1 { background-image: url('../image/room_suite_1.jpg'); } 
.h2 { background-image: url('../image/room_double_1.jpg'); } 
.h3 { background-image: url('../image/room_suite_1.jpg'); }
.h4 { background-image: url('../image/room_single_1.jpg'); }

.roomdata {
    padding: 30px;
    text-align: center;
}

.roomdata h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.services {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.bookbtn {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.bookbtn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* --- FACILITIES SECTION --- */
#thirdsection {
    padding: 100px 50px;
    background-color: var(--white);
}

.facility {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    height: 400px;
}

.box {
    position: relative;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    transition: var(--transition);
}

.box:hover {
    flex-grow: 2;
}

.box:hover::before {
    background: rgba(0,0,0,0.1);
}

/* IMAGE MAPPINGS */
.box:nth-child(1) { background-image: url('../image/business_header.jpg'); }
.box:nth-child(2) { background-image: url('../image/vip_header.jpg'); }
.box:nth-child(3) { background-image: url('../image/food.jpg'); }
.box:nth-child(4) { background-image: url('../image/service_luxury.jpg'); }

.box h2 {
    position: absolute;
    bottom: 30px;
    left: 20px;
    color: var(--white);
    font-size: 20px;
    z-index: 1;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

/* --- RESERVATION MODAL --- */
#guestdetailpanel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 57, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.guestdetailpanelform {
    background: var(--white);
    width: 900px;
    max-width: 95%;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: fadeInUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

.guestdetailpanelform .head {
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guestdetailpanelform .head h3 {
    color: var(--white);
    margin: 0;
    font-size: 24px;
}

.guestdetailpanelform .head i {
    cursor: pointer;
    font-size: 24px;
    transition: 0.3s;
}

.guestdetailpanelform .head i:hover {
    color: var(--primary-color);
}

.guestdetailpanelform .middle {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 30px;
}

.line {
    background: #eee;
    height: 100%;
}

.guestinfo h4, .reservationinfo h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guestdetailpanelform input, .guestdetailpanelform select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: #fdfdfd;
    font-family: 'Jost', sans-serif;
    color: var(--text-color);
    outline: none;
    transition: 0.3s;
}

.guestdetailpanelform input:focus, .guestdetailpanelform select:focus {
    border-color: var(--primary-color);
}

.datesection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.guestdetailpanelform .footer {
    padding: 20px 40px;
    background: #f1f1f1;
    text-align: right;
}

.guestdetailpanelform .footer button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.guestdetailpanelform .footer button:hover {
    background: var(--secondary-color);
}

/* --- FOOTER --- */
#contactus {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#contactus i {
    color: var(--white);
    font-size: 20px;
    margin-right: 20px;
    transition: 0.3s;
    cursor: pointer;
}

#contactus i:hover {
    color: var(--primary-color);
}

.createdby h5 {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-weight: 400;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE / MOBILE CSS --- */
@media (max-width: 992px) {
    .facility { grid-template-columns: repeat(2, 1fr); height: auto; }
    .box { height: 250px; }
}

/* MOBILE FIX FOR HAMBURGER MENU & TEXT OVERLAP */
@media (max-width: 768px) {
    nav { 
        padding: 15px 20px; 
    }
    
    .hamburger { 
        display: block !important; 
        margin-left: 15px; /* Add spacing between logo and icon */
    }
    
    /* Shrink Logo Text on Mobile */
    .logo p {
        font-size: 16px !important; 
        white-space: normal !important; /* Allow wrapping if absolutely necessary */
        line-height: 1.2;
    }
    
    /* Shrink Logo Image on Mobile */
    .logo img {
        height: 40px; 
    }

    .logo {
        gap: 8px; /* Reduce gap between icon and text */
    }

    .page-header, 
    .vip-header {
        height: 40vh !important;
        min-height: 250px !important;  
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .welcometag, 
    .page-header h1, 
    .vip-header h1 { 
        font-size: 32px !important; 
        white-space: normal !important;
        line-height: 1.2;
    }
    
    #nav-menu {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 998;
    }
    #nav-menu.active { 
        transform: translateY(0); 
    }
    
    .guestdetailpanelform { width: 100%; height: 100%; max-width: 100%; }
    .guestdetailpanelform .middle { grid-template-columns: 1fr; overflow-y: scroll; }
    .line { display: none; }
    #contactus { flex-direction: column; gap: 20px; text-align: center; }
}