/* ======================================================
   RESET & BASE STYLES
   ====================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --logo-h: 52px;
    --navbar-h: calc(var(--logo-h) + 40px);
    --gold-primary: #c9a35a;
    --gold-dark: #b8863f;
    --gold-light: #e8cf9c;
    --bg-cream: #fdfaf4;
    --text-dark: #262626;
    --text-muted: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: #fffefb;
    color: var(--text-dark);
}

/* ======================================================
   NAVBAR
   ====================================================== */
.navbar-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: var(--navbar-h);
    background: linear-gradient(180deg, #ffffff 0%, #fdfaf4 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #c9a35a, #e8cf9c, #c9a35a) 1;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.navbar.navbar-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.navbar.navbar-scrolled {
    background: linear-gradient(180deg, #ffffff 0%, #fdfaf4 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar.navbar-slim {
    --navbar-h: calc(var(--logo-h) * 0.72 + 24px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    flex: 1;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    color: #262626 !important;
    text-decoration: none;
    padding: calc(var(--logo-h) * 0.42) calc(var(--logo-h) * 0.35);
    display: block;
    font-size: calc(var(--logo-h) * 0.28);
    font-weight: 500;
    cursor: pointer;
}

.nav-link:hover,
.nav-item.active > .nav-link {
    color: var(--gold-dark) !important;
}

.dropdown {
    display: none;
    position: absolute;
    top: var(--navbar-h);
    left: 0;
    background-color: #ffffff !important;
    min-width: 230px;
    z-index: 1000;
    border-top: 2px solid var(--gold-primary);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.dropdown a {
    display: block;
    color: #3a3a3a !important;
    text-decoration: none;
    padding: calc(var(--logo-h) * 0.28) calc(var(--logo-h) * 0.38);
    border-bottom: 1px solid #eee;
    font-size: calc(var(--logo-h) * 0.26);
}

.dropdown a:hover {
    background-color: #faf3e6 !important;
    color: var(--gold-dark) !important;
}

.nav-item.active .dropdown {
    display: block;
}

.arrow {
    font-size: calc(var(--logo-h) * 0.21);
    margin-left: 5px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1200;
}

.navbar-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #262626;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--gold-dark);
}

.navbar-toggle.open span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--gold-dark);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nav-overlay.show {
    display: block;
    opacity: 1;
}

@media (max-width: 991.98px) {
    :root {
        --logo-h: 42px;
        --navbar-h: calc(var(--logo-h) + 30px);
    }
    .navbar {
        padding: 0 18px;
    }
    .navbar-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 82vw);
        background: linear-gradient(180deg, #ffffff 0%, #faf3e6 100%);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        padding: calc(var(--navbar-h) + 10px) 0 30px;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 1150;
    }
    .nav-menu.open {
        transform: translateX(0);
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .nav-link {
        padding: 16px 24px;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #fbf6ec !important;
        min-width: 100%;
    }
    .dropdown a {
        padding: 13px 34px;
        font-size: 14px;
    }
}

/* ======================================================
   HERO SECTION
   ====================================================== */
.rooms-hero {
    position: relative;
    width: 100%;
    height: 62vh;
    background: url('/images/fronthotelfootage.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.rooms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}

.rooms-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding-left: 70px;
    margin-top: 40px;
}

.rooms-subtitle {
    font-size: 14px;
    letter-spacing: 8px;
    margin-bottom: 22px;
    font-weight: 300;
}

.rooms-title {
    font-family: 'Cinzel', serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1.1;
}

.hero-check-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 42px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--gold-dark);
    border: 1px solid var(--gold-dark);
    border-radius: 2px;
    cursor: pointer;
    transition: background .35s ease;
}

.hero-check-btn:hover {
    background: #9c6f30;
}

@media(max-width:768px) {
    .rooms-hero {
        height: 48vh;
    }
    .rooms-hero-content {
        padding: 0 25px;
        margin-top: 50px;
    }
    .rooms-subtitle {
        font-size: 11px;
        letter-spacing: 4px;
    }
    .rooms-title {
        font-size: 42px;
    }
}




/* --- BOOKING BAR --- */
.booking-section {
    position: relative;
    z-index: 20;
    margin-top: -50px;
    margin-left: 50px;
    margin-right: 50px;
}

.booking-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f1f5f9;
    border-bottom: 4px solid #c5a059;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 6px;
}

.form-group label i {
    color: #c5a059;
    margin-right: 4px;
}

.form-group input, .form-group select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.85rem;
    outline: none;
    color: #1f2937;
    background-color: #ffffff;
}

.form-group input:focus, .form-group select:focus {
    border-color: #c5a059;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

.btn-search-booking {
    background: #d3a64d;
    color: #ffffff;
    border: 1px solid #334155;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-search-booking:hover {
    background: #c5a059;
    border-color: #c5a059;
}

/* ======================================================
   ROOMS SECTION & CARDS
   ====================================================== */




.rooms-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 90px 24px 100px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.margin-top-lg {
    margin-top: 90px;
}

.section-eyebrow {
    font-size: 13px;
    letter-spacing: 6px;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #c9a35a, #e8cf9c, #c9a35a);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.room-card {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #efe8d8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.room-card.heritage-border {
    border-top: 3px solid var(--gold-dark);
    background: #fdfaf4;
}

.room-card.highlight-card {
    border: 2px solid var(--gold-primary);
}

.room-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.room-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-img-wrap img {
    transform: scale(1.06);
}

.room-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(20, 18, 15, 0.7);
    color: #fff;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 5px 12px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    border: 1px solid rgba(201, 163, 90, 0.7);
}

.heritage-tag {
    background: rgba(184, 134, 63, 0.9);
}

.heritage-tag-gold {
    background: linear-gradient(135deg, #c9a35a, #b8863f);
    font-weight: 600;
}

.room-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-name {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.room-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.room-specs span {
    font-size: 12px;
    color: var(--gold-dark);
    background: #f8f3ea;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.room-specs i {
    margin-right: 4px;
}

.room-short-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.room-card-footer {
    margin-top: auto;
}

.btn-detail {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--gold-dark);
    border: 1px solid var(--gold-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-detail:hover {
    background: var(--gold-dark);
    color: #ffffff;
}

.btn-gold {
    background: linear-gradient(135deg, #c9a35a, #b8863f);
    color: #ffffff;
    border: none;
}

.btn-gold:hover {
    filter: brightness(1.08);
}

@media (max-width: 992px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================
   MODAL POPUP DETAIL KAMAR
   ====================================================== */
.room-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.room-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.room-modal {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.35s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.room-modal-overlay.active .room-modal {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--gold-dark);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.modal-info-container {
    padding: 36px 30px;
}

.modal-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold-dark);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-divider {
    width: 50px;
    height: 2px;
    background: var(--gold-primary);
    margin-bottom: 18px;
}

.modal-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-section-heading {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.modal-features-list {
    list-style: none;
    margin-bottom: 28px;
}

.modal-features-list li {
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-features-list i {
    color: var(--gold-dark);
    font-size: 12px;
}

.modal-action-row {
    margin-top: 10px;
}

.modal-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: filter 0.3s ease;
}

.modal-book-btn:hover {
    filter: brightness(1.08);
}

@media (max-width: 768px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
    }
    .modal-image-container img {
        height: 240px;

    }
}

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

.navbar-logo-im {
    height: 20px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-footer-top {
    padding: 70px 24px 60px;
    background: var(--bg-cream);
    text-align: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.site-footer-top.in-view { opacity: 1; transform: translateY(0); }

.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 44px;
}

.footer-social-row a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: background .35s ease, color .35s ease, transform .35s ease;
}

.footer-social-row a:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #ffffff;
    transform: translateY(-4px);
}

.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
}

.footer-newsletter-label {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 16px;
    color: #444;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 280px;
}

.footer-newsletter-form input {
    flex: 1;
    border: 1px solid #ddd0b3;
    background: #ffffff;
    padding: 13px 18px;
    font-size: 13.5px;
    outline: none;
}

.footer-subscribe-btn {
    border: none;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0 26px;
    cursor: pointer;
}

.site-footer-main {
    background: #1c1a17;
    padding: 70px 24px 30px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease .1s, transform .7s ease .1s;
}

.site-footer-main.in-view { opacity: 1; transform: translateY(0); }

.footer-main-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 991.98px) {
    .footer-main-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}
@media (max-width: 575.98px) {
    .footer-main-grid { grid-template-columns: 1fr; }
    .footer-newsletter { flex-direction: column; }
}

.footer-col-title {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 14px;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-address-list { list-style: none; }
.footer-address-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #b7b2a8;
}
.footer-address-list i { color: var(--gold-primary); margin-top: 3px; }
.footer-address-list a { color: #b7b2a8; text-decoration: none; }

.footer-link-list { list-style: none; }
.footer-link-list li { margin-bottom: 13px; }
.footer-link-list a {
    font-size: 13px;
    color: #948f84;
    text-decoration: none;
    transition: color .3s ease, padding-left .3s ease;
}
.footer-link-list a:hover { color: #e8cf9c; padding-left: 4px; }

.footer-copyright {
    max-width: 1240px;
    margin: 50px auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 12px;
    color: #7d786e;
}

/* ======================================================
FLOATING WHATSAPP BUTTON
====================================================== */
.floating-whatsapp {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1300;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1ebe5b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    transition: transform .3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
}