* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; background: #fffefb; }

/* NAVBAR & GLOBAL */
:root { --logo-h: 52px; --navbar-h: calc(var(--logo-h) + 40px); }
.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);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #c9a35a, #e8cf9c, #c9a35a) 1;
}
.navbar.navbar-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.navbar.navbar-slim { --navbar-h: calc(var(--logo-h) * 0.72 + 24px); }
.navbar.navbar-slim .brand-logo { height: calc(var(--logo-h) * 0.72); }
.navbar.navbar-slim .nav-link { padding-top: calc(var(--logo-h) * 0.72 * 0.42); padding-bottom: calc(var(--logo-h) * 0.72 * 0.42); }

.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: #b8863f !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 #c9a35a; 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: #b8863f !important; }
.nav-item.active .dropdown { display: block; }
.arrow { font-size: calc(var(--logo-h) * 0.21); margin-left: 5px; }

/* HAMBURGER */
.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: 0.3s; }
.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #b8863f; }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #b8863f; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 1050; opacity: 0; transition: 0.35s; }
.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; justify-content: flex-start; padding: calc(var(--navbar-h) + 10px) 0 30px;
        transform: translateX(100%); transition: transform 0.4s ease; z-index: 1150; overflow-y: auto;
    }
    .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; justify-content: space-between; }
    .dropdown { position: static; display: none; border-top: none; background-color: #fbf6ec !important; min-width: 100%; box-shadow: none; }
    .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; display: flex; align-items: center;
}
.rooms-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.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: 92px; font-weight: 400; line-height: 1.1; }

@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; margin-bottom: 15px; }
    .rooms-title { font-size: 48px; }
}

/* TYPOGRAPHY COMPONENTS */
.section-eyebrow { font-size: 13px; letter-spacing: 6px; color: #b8863f; font-weight: 600; margin-bottom: 18px; text-transform: uppercase; }
.section-title {
    font-family: 'Cinzel', serif; font-size: 40px; font-weight: 500; color: #262626;
    margin-bottom: 26px; 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);
}



/* --- 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;
}

/* ======================================================
   MANAGEMENT GRID & BINGKAI ALAA HOTEL
====================================================== */
.management-section { max-width: 1200px; margin: 90px auto; padding: 0 24px; text-align: center; }
.management-intro { font-size: 15px; line-height: 1.9; color: #555; max-width: 850px; margin: 0 auto 60px; }

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

.management-card {
    background: #ffffff; padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    display: flex; flex-direction: column; align-items: center;
    border: 1px solid #f2eade;
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}

.management-card.in-view { opacity: 1; transform: translateY(0); }
.management-card.in-view:hover { transform: translateY(-8px); box-shadow: 0 25px 45px rgba(0,0,0,0.12); }

/* BINGKAI FOTO */
.management-frame {
    position: relative; width: 100%; margin-bottom: 24px;
    background: #fdfaf4; padding: 12px;
    border: 8px solid #332f29; /* Kayu frame klasik */
    box-shadow: inset 0 0 0 2px #c9a35a, 0 8px 20px rgba(0,0,0,0.15); /* List Gold */
}

.management-frame::after {
    content: ''; position: absolute;
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    border: 1px solid #c9a35a; pointer-events: none;
}

.management-frame img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
    filter: contrast(1.05) sepia(0.08); /* Efek hangat sedikit retro ala hotel klasik */
}

.management-name { font-family: 'Cinzel', serif; font-size: 20px; font-weight: 600; color: #262626; margin-bottom: 8px; }
.management-title { font-size: 13px; font-weight: 600; color: #b8863f; text-transform: uppercase; letter-spacing: 1px; }


/* ======================================================
   FOOTER & WHATSAPP
====================================================== */
.navbar-logo-im { height: 20px; width: auto; object-fit: contain; display: block; }
.site-footer-top { padding: 70px 24px 60px; background: #fdfaf4; text-align: center; opacity: 0; transform: translateY(18px); transition: 0.7s; }
.site-footer-top.in-view { opacity: 1; transform: translateY(0); }
.footer-social-row { display: flex; justify-content: center; gap: 18px; margin-bottom: 44px; }
.footer-social-row a {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid #c9a35a; color: #b8863f; display: flex;
    align-items: center; justify-content: center; font-size: 16px; text-decoration: none; transition: 0.35s;
}
.footer-social-row a:hover { background: linear-gradient(135deg, #c9a35a, #b8863f); color: #ffffff; transform: translateY(-4px); }

.footer-newsletter { display: flex; 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; padding: 13px 18px; font-family: 'Montserrat', sans-serif; outline: none; }
.footer-newsletter-form input:focus { border-color: #c9a35a; }
.footer-subscribe-btn { border: none; background: linear-gradient(135deg, #c9a35a, #b8863f); color: #ffffff; padding: 0 26px; cursor: pointer; letter-spacing: 2px; font-weight: 600; }

.site-footer-main { background: #1c1a17; padding: 70px 24px 30px; opacity: 0; transform: translateY(18px); transition: 0.7s 0.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; }

.footer-col-title { font-family: 'Cinzel', serif; font-size: 15px; color: #ffffff; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 14px; position: relative; }
.footer-col-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: #c9a35a; }
.footer-address-list, .footer-link-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: #c9a35a; margin-top: 3px; }
.footer-address-list a, .footer-link-list a { color: #b7b2a8; text-decoration: none; transition: 0.3s; font-size: 13px; }
.footer-address-list a:hover, .footer-link-list a:hover { color: #e8cf9c; }
.footer-link-list li { margin-bottom: 13px; }
.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 {
    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: 0.3s;
}
.floating-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37,211,102,0.55); animation: waPulse 2.2s ease-out infinite; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(37,211,102,0.55); color: #fff;}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

@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; } }