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

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: #fffefb;
}

/* ======================================================
NAVBAR
====================================================== */

: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-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: #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;
}

.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, background-color 0.3s ease;
}

.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: 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;
        border-top: none;
        box-shadow: none;
        background-color: #fbf6ec !important;
        min-width: 100%;
    }
    .dropdown a {
        padding: 13px 34px;
        font-size: 14px;
    }
}

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

.rooms-hero {
    position: relative;
    width: 100%;
    height: 62vh;
    background: url('../images/fronthotelfootage.webp') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    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;
}

.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: #b8863f;
    border: 1px solid #b8863f;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: background .35s ease, color .35s ease, border-color .35s ease;
}

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

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


/* --- 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: #1c2430;
    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;
}

/* ======================================================
ACHIEVEMENTS SECTION (2 PER HORIZONTAL ROW)
====================================================== */

.section-eyebrow {
    font-size: 13px;
    letter-spacing: 6px;
    color: #b8863f;
    font-weight: 600;
    margin-bottom: 18px;
}

.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);
}

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

/* 2 KOLOM TEPAT DI HORIZONTAL */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-top: 50px;
}

.certificate-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.certificate-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.certificate-frame {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 2px solid #c9a35a;
    padding: 12px;
    box-shadow: inset 0 0 12px rgba(201, 163, 90, 0.12), 0 10px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.certificate-border-inner {
    border: 1px solid #e2d2b0;
    overflow: hidden;
    background: #fcfcfc;
}

.certificate-img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    background-color: #faf8f5;
    display: block;
    transition: transform 0.6s ease;
}

.certificate-frame:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 0 15px rgba(201, 163, 90, 0.2), 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: #b8863f;
}

.certificate-frame:hover .certificate-img {
    transform: scale(1.03);
}

@media(max-width: 991.98px) {
    .achievement-grid {
        gap: 24px;
    }
    .certificate-img {
        height: 280px;
    }
}

@media(max-width: 575.98px) {
    .achievement-grid {
        gap: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .certificate-frame {
        padding: 6px;
    }
    .certificate-img {
        height: 180px;
    }
}

/* ======================================================
FOOTER (FULL RESPONSIVE)
====================================================== */

.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: 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 #c9a35a;
    color: #b8863f;
    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, #c9a35a, #b8863f);
    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-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    outline: none;
}

.footer-subscribe-btn {
    border: none;
    background: linear-gradient(135deg, #c9a35a, #b8863f);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 13px 26px;
    cursor: pointer;
    transition: filter .3s ease;
}

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

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

.footer-col-title {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    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: #c9a35a;
}

.footer-address-list, .footer-link-list {
    list-style: none;
}

.footer-address-list li {
    display: flex;
    align-items: flex-start;
    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;
}

.footer-link-list li {
    margin-bottom: 13px;
}

.footer-link-list a {
    font-size: 13px;
    color: #948f84;
    transition: color .3s ease;
}

.footer-link-list a:hover {
    color: #e8cf9c;
}

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

@keyframes waPulse {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ======================================================
MEDIA QUERIES FOOTER (TABLET & HP)
====================================================== */

@media (max-width: 991.98px) {
    .site-footer-top {
        padding: 50px 20px 40px;
    }
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 575.98px) {
    .site-footer-top {
        padding: 40px 16px 30px;
    }
    
    .footer-social-row {
        gap: 12px;
        margin-bottom: 28px;
    }
    
    .footer-social-row a {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-newsletter-label {
        white-space: normal;
        text-align: center;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .footer-newsletter-form {
        flex-direction: column;
        width: 100%;
        min-width: 0;
        gap: 10px;
    }

    .footer-newsletter-form input {
        width: 100%;
        text-align: center;
    }

    .footer-subscribe-btn {
        width: 100%;
        padding: 12px 0;
    }

    .site-footer-main {
        padding: 40px 16px 20px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-address-list li {
        word-break: break-word;
    }
}