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

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

:root {
    --logo-h: 52px;
    --navbar-h: calc(var(--logo-h) + 40px);
    --gold-primary: #c9a35a;
    --gold-dark: #b8863f;
    --bg-cream: #fdfaf4;
    --dark-bg: #1c1a17;
}

/* ======================================================
NAVBAR (EXACT HOTEL SALAK DESIGN)
====================================================== */
.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;
}

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

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

.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: 12px 18px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

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

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

/* 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: 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.4);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

/* RESPONSIVE NAVBAR */
@media (max-width: 991.98px) {
    .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: 80px 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); }
    .dropdown { position: static; box-shadow: none; background-color: #fbf6ec !important; }
}


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

/* ======================================================
HERO SECTION
====================================================== */
.rooms-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    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, 0.55);
}

.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: 18px;
    font-weight: 300;
}

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

.hero-check-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 38px;
    font-size: 12px;
    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-content { padding: 0 24px; margin-top: 30px; }
    .rooms-title { font-size: 42px; }
    .rooms-subtitle { font-size: 11px; letter-spacing: 4px; }
}

/* ======================================================
DINING CONTAINER & SECTION TITLE
====================================================== */
.dining-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px 70px;
}

.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: 40px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

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

.section-desc {
    max-width: 650px;
    margin: 20px auto 0;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ======================================================
3D FLIP CARD STYLING
====================================================== */
.dining-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

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

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

/* Container Flip Card */
.flip-card {
    background-color: transparent;
    height: 480px;
    perspective: 1000px; /* Perspektif 3D */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ece4d3;
    display: flex;
    flex-direction: column;
}

/* FRONT SIDE */
.card-img-wrap {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

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

.flip-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(28, 26, 23, 0.75);
    color: #ffffff;
    padding: 6px 14px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(201, 163, 90, 0.8);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.card-body h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #262626;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-short-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: 18px;
}

.btn-flip {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #ffffff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-flip:hover {
    opacity: 0.9;
}

/* BACK SIDE STYLING */
.flip-card-back {
    transform: rotateY(180deg);
    background: var(--bg-cream);
    border: 1px solid var(--gold-primary);
    padding: 24px;
    justify-content: space-between;
}

.card-back-header {
    border-bottom: 1px dashed var(--gold-primary);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.card-back-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #262626;
}

.back-subtitle {
    font-size: 12px;
    color: var(--gold-dark);
    font-weight: 500;
}

.card-back-body {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    flex: 1;
}

.info-list {
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-list i {
    color: var(--gold-dark);
    width: 18px;
}

.menu-highlight {
    background: #ffffff;
    border-left: 3px solid var(--gold-primary);
    padding: 12px;
    margin-top: 10px;
    border-radius: 2px;
}

.menu-highlight h4 {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: #262626;
    margin-bottom: 6px;
}

.menu-highlight ul {
    list-style-type: square;
    padding-left: 18px;
}

.menu-highlight li {
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

.btn-flip-back {
    width: 100%;
    padding: 10px 0;
    background: #1c1a17;
    color: #ffffff;
    border: 1px solid var(--gold-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.btn-flip-back:hover {
    background: #333;
}

/* ======================================================
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: var(--dark-bg);
    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);
}