/* ======================================================
RESET & FONT
====================================================== */

*{
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); }
.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%; }
.brand-logo { display: block; height: var(--logo-h); width: auto; object-fit: contain; margin: auto 0; }
.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 & RESPONSIVE NAV */
.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 OFFERS
====================================================== */
.offers-hero {
position: relative; width: 100%; height: 50vh;
background: url('../images/fronthotelfootage.webp');
background-size: cover; background-position: center;
display: flex; align-items: center; justify-content: center; text-align: center;
}
.offers-hero::before {
content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55);
}
.offers-hero-content {
position: relative; z-index: 2; color: #ffffff; padding: 0 20px; margin-top: 40px;
}
.offers-subtitle {
font-size: 14px; letter-spacing: 8px; margin-bottom: 15px; font-weight: 300;
}
.offers-title {
font-family: 'Cinzel', serif; font-size: 64px; font-weight: 400; line-height: 1.1;
}

@media(max-width:768px) {
.offers-title { font-size: 40px; letter-spacing: 2px; }
.offers-subtitle { font-size: 11px; letter-spacing: 4px; }
}

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

@media (max-width: 768px) {
.booking-section {
margin-left: 15px;
margin-right: 15px;
}
}


/* ======================================================
PROMOTIONS SECTION (HORIZONTAL SLIDER)
====================================================== */
.promotions-section {
    background: #fdfaf4; 
    padding: 90px 24px 100px;
    overflow: hidden; /* Mencegah overflow halaman */
}

.section-eyebrow { font-size: 13px; letter-spacing: 6px; color: #b8863f; font-weight: 600; margin-bottom: 18px; text-align: center; }
.section-title { font-family: 'Cinzel', serif; font-size: 40px; font-weight: 500; color: #262626; margin-bottom: 26px; position: relative; display: inline-block; text-align: center; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: 70px; height: 2px; background: linear-gradient(90deg, #c9a35a, #e8cf9c, #c9a35a); }

/* Ubah dari grid menjadi flexbox horizontal bergeser */
.promotions-grid {
    max-width: 1200px; 
    margin: 60px auto 0;
    display: flex; 
    gap: 35px; 
    overflow-x: auto; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    
    /* Tambahkan baris ini untuk menyembunyikan scrollbar */
    scrollbar-width: none; /* Untuk Firefox */
    -ms-overflow-style: none; /* Untuk Internet Explorer & Edge lama */
    touch-action: pan-x;
    user-select: none; /* Mencegah teks/gambar ter-highlight saat di-drag */
    -webkit-user-select: none;
}



/* Untuk Chrome, Safari, dan Opera */
.promotions-grid::-webkit-scrollbar {
    display: none;
}

/* Kustomisasi scrollbar tipis agar tetap elegan */
.promotions-grid::-webkit-scrollbar {
    height: 8px;
}
.promotions-grid::-webkit-scrollbar-thumb {
    background: #c9a35a;
    border-radius: 4px;
}


.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
    cursor: pointer; 
}

/* KARTU BORDER BINGKAI PROMOSI */
.poster-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e2d7c3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    opacity: 0; 
    transform: translateY(24px);
    flex: 0 0 320px; /* Mengunci lebar kartu agar tidak gepeng di baris horizontal */
}
.poster-card img {
    -webkit-user-drag: none; /* Mencegah drag bawaan browser pada gambar */
    user-drag: none;
}

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

.poster-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
    border-color: #c9a35a;
}

.poster-frame {
    position: relative;
    width: 100%;
    border: 1px solid #f0e6d6;
    overflow: hidden;
    background: #f9f7f2;
}

.poster-frame a {
    display: block;
    width: 100%;
    height: 100%;
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.poster-card:hover .poster-frame img {
    transform: scale(1.04);
}

@media(max-width:575.98px) {
    .poster-card { flex: 0 0 260px; }
    .section-title { font-size: 28px; }
}

/* ======================================================
FOOTER
====================================================== */
.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; white-space: nowrap; }
.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; color: #333; outline: none; transition: border-color .3s ease; }
.footer-newsletter-form input:focus { border-color: #c9a35a; }
.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: 0 26px; cursor: pointer; transition: filter .3s ease, transform .3s ease; white-space: nowrap; }
.footer-subscribe-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }

.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; margin: 0; padding: 0; }
.footer-address-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-family: 'Montserrat', sans-serif; font-size: 13px; line-height: 1.7; color: #b7b2a8; }
.footer-address-list i { color: #c9a35a; margin-top: 3px; font-size: 13px; flex: 0 0 auto; }
.footer-address-list a, .footer-link-list a { color: #b7b2a8; text-decoration: none; transition: color .3s ease; }
.footer-address-list a:hover { color: #e8cf9c; }
.footer-link-list li { margin-bottom: 13px; }
.footer-link-list a { font-family: 'Montserrat', sans-serif; font-size: 13px; letter-spacing: .5px; color: #948f84; 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-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: .5px; color: #7d786e; }
.navbar-logo-im { height: 20px; width: auto; object-fit: contain; display: block; }

/* 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, box-shadow .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; }
.floating-whatsapp:hover { color: #ffffff; transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55); }
@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; } .footer-newsletter-label { white-space: normal; } }