/*
Theme Name: Ayatara Resort
Theme URI: https://ayatararesort.com
Author: Ayatara Resort Ubud
Description: Ultra-luxury dark theme untuk Ayatara Resort Ubud. Custom theme mandiri (tanpa page builder) dengan CPT Offers dan Suites & Villas via plugin Ayatara Core.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ayatara
*/

/* =========================================
   FONTS & ULTRA-LUXURY DARK THEME (GLOBAL)
   ========================================= */
@font-face {
    font-family: 'Americana STD';
    src: local('Americana STD'), local('Americana'), serif;
}

:root {
    --font-heading: 'Americana STD', serif;
    --font-body: 'Times New Roman', Times, serif;

    --color-bg-main: #0a0a0a;
    --color-bg-alt: #121212;
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-accent: #d4af37;
    --border-thin: rgba(255, 255, 255, 0.15);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Halaman archive & single offer di file asli memakai transisi 0.4s */
body.post-type-archive-offer,
body.post-type-archive-room,
body.single-offer {
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    line-height: 1.6;
    background-color: var(--color-bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .nav-links a, .discover-link, .mobile-nav a,
.offer-card-title, .box-title, .accordion-header {
    font-family: var(--font-heading);
    font-weight: normal;
    color: var(--color-text-main);
}

p { font-size: 16px; margin-bottom: 20px; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
a:hover:not(.btn-card):not(.btn-reserve) { opacity: 0.6; }

/* =========================================
   HEADER (DESKTOP)
   ========================================= */
header.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 25px 5%;
    transition: var(--transition-smooth);
    background-color: transparent;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
}

header.site-header.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    padding: 15px 5%;
    border-bottom: 1px solid var(--border-thin);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between; width: 100%; position: relative;
}

.header-logo { flex: 1; display: flex; justify-content: center; }
.header-logo img { height: 50px; transition: var(--transition-smooth); }
header.site-header.scrolled .header-logo img { height: 40px; }

.header-left, .header-right { flex: 1; display: flex; }
.header-right { justify-content: flex-end; }

.main-nav { margin-top: 20px; width: 100%; }
.nav-links { list-style: none; display: flex; justify-content: center; gap: 40px; }
.nav-links > li { position: static; }

.nav-links a {
    text-transform: uppercase; font-size: 11px; letter-spacing: 3px;
    padding: 10px 0; display: block;
}

/* Full Width Dropdown */
.dropdown-menu {
    display: flex; position: absolute; top: 100%; left: 0; width: 100vw;
    background-color: rgba(10, 10, 10, 0.98); border-bottom: 1px solid var(--border-thin);
    list-style: none; padding: 20px 0; justify-content: center; gap: 80px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.nav-links li:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-menu li a { font-size: 12px; letter-spacing: 4px; padding: 5px 0; }
.dropdown-menu li a::after {
    content: ''; display: block; width: 0; height: 1px; background: #fff; transition: var(--transition-smooth); margin-top: 5px;
}
.dropdown-menu li a:hover::after { width: 100%; }

.btn-reserve {
    border: 1px solid var(--color-text-main); padding: 10px 30px !important;
    letter-spacing: 2px;
}
.btn-reserve:hover { background-color: var(--color-text-main); color: var(--color-bg-main) !important; opacity: 1; }

/* =========================================
   MOBILE SIDE MENU & HAMBURGER
   ========================================= */
.hamburger {
    display: none; cursor: pointer; background: none; border: none; z-index: 1005;
}

.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    opacity: 0; visibility: hidden; transition: var(--transition-smooth); z-index: 1000;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
    position: fixed; top: 0; right: -400px; width: 100%; max-width: 350px; height: 100vh;
    background: #0a0a0a; border-left: 1px solid var(--border-thin);
    z-index: 1001; transition: var(--transition-smooth);
    padding: 80px 40px; display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu.active { right: 0; }

.btn-close-menu {
    position: absolute; top: 30px; right: 30px; background: none; border: none; cursor: pointer; color: #fff;
}
.btn-close-menu svg { width: 30px; height: 30px; stroke: #fff; stroke-width: 1; }

.mobile-nav { list-style: none; margin-bottom: 40px; }
.mobile-nav li { border-bottom: 1px solid var(--border-thin); }
.mobile-nav a { display: block; padding: 20px 0; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.mobile-nav .sub-menu { list-style: none; }
.mobile-nav .sub-menu a { padding: 12px 0 12px 20px; font-size: 12px; border-top: 1px solid var(--border-thin); }
.mobile-menu .btn-reserve { text-align: center; border-color: rgba(255,255,255,0.3); }

/* =========================================
   HERO SLIDER (FRONT PAGE)
   ========================================= */
.hero {
    position: relative; height: 100vh; width: 100%; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}

.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color: #000;
}
.hero-slide::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.2);
}
.hero-slide.active { opacity: 1; }

.hero-nav {
    position: absolute; top: 50%; width: 100%;
    transform: translateY(-50%); z-index: 3; pointer-events: none;
}
.hero-nav button {
    position: absolute;
    background: transparent; border: none; color: var(--color-text-main);
    cursor: pointer; pointer-events: auto; opacity: 0.5; transition: var(--transition-smooth);
    top: 50%; transform: translateY(-50%);
}
#hero-prev { left: 20px; }
#hero-next { right: 20px; }

.hero-nav button:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }
.hero-nav button svg { width: 60px; height: 60px; stroke-width: 0.5; }

/* =========================================
   MODERN WIDGET BOOKING (FRONT PAGE)
   ========================================= */
.hero-booking-wrapper {
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
    width: max-content; max-width: 95%; z-index: 10;
}

#bookingSidebarForm { display: flex; gap: 20px; align-items: flex-end; }

.booking-field { display: flex; flex-direction: column; position: relative; }
.booking-field label {
    font-family: var(--font-heading); color: var(--color-text-main);
    font-size: 11px; letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase;
}

.booking-input-group {
    display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border-thin);
    padding: 0 20px; height: 55px; background: rgba(0,0,0,0.4); backdrop-filter: blur(12px);
    color: var(--color-text-main); font-family: var(--font-body); font-size: 15px;
    cursor: pointer; min-width: 260px; transition: var(--transition-smooth);
}
.booking-input-group:hover { background: rgba(0,0,0,0.6); }

.btn-check-rates {
    border: 1px solid var(--color-text-main); background: rgba(0,0,0,0.4); backdrop-filter: blur(12px);
    color: var(--color-text-main); height: 55px; padding: 0 40px; font-family: var(--font-heading);
    font-size: 12px; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: var(--transition-smooth);
}
.btn-check-rates:hover { background: var(--color-text-main); color: var(--color-bg-main); }

/* Custom Stacked Modals */
.stacked-modal {
    position: absolute; left: 0;
    background: #0a0a0a; border: 1px solid var(--border-thin);
    padding: 15px 20px; display: flex; flex-direction: column; gap: 20px;
    opacity: 0; visibility: hidden; transition: var(--transition-smooth); z-index: 20;
}

#dateModal {
    bottom: calc(100% + 10px);
    width: max-content;
    min-width: 300px;
}

#guestModal {
    bottom: calc(100% + 10px);
    width: 100%;
}

.stacked-modal.active { opacity: 1; visibility: visible; }

#dateModal .flatpickr-calendar {
    background: transparent !important; border: none !important; box-shadow: none !important; width: 100% !important;
}

.guest-row {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-heading); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #fff;
}
.guest-counter { display: flex; align-items: center; gap: 15px; }
.guest-counter button {
    background: transparent; border: 1px solid var(--border-thin); color: #fff;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth);
}
.guest-counter button:hover { background: #fff; color: #000; }
.guest-counter span { font-family: var(--font-body); font-size: 16px; min-width: 15px; text-align: center; }

/* Custom Flatpickr Compact Overrides */
.flatpickr-calendar { font-family: var(--font-body) !important; color: #fff !important; }
.flatpickr-day { color: #fff !important; max-width: 32px !important; height: 32px !important; line-height: 32px !important;}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: #fff !important; color: #000 !important; border-color: #fff !important;
}
.flatpickr-months .flatpickr-month { height: 40px !important; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months { font-family: var(--font-heading) !important; letter-spacing: 1px; color: #fff !important; font-size: 13px !important;}
.flatpickr-day.inRange { background: rgba(255,255,255,0.1) !important; border-color: transparent !important; box-shadow: none !important; }
.flatpickr-current-month .numInputWrapper span.arrowUp:after { border-bottom-color: #fff !important;}
.flatpickr-current-month .numInputWrapper span.arrowDown:after { border-top-color: #fff !important;}
span.flatpickr-weekday { color: #fff !important; font-size: 12px !important;}
.flatpickr-weekdaycontainer { margin-bottom: 5px !important;}

/* =========================================
   SECTIONS & TYPOGRAPHY (FRONT PAGE)
   ========================================= */
body.home section { padding: 75px 5%; }
body.home section.hero { padding: 0; }
.bg-alt { background-color: var(--color-bg-alt); }

/* Section header — varian FRONT PAGE */
body.home .section-header { text-align: center; max-width: 800px; margin: 0 auto 40px auto; }
body.home .section-header h2 { font-size: 2.2rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 4px; }
body.home .section-header p { color: var(--color-text-muted); margin: 0 auto; line-height: 1.8; }

.btn-intro-reserve {
    display: inline-block; margin-top: 30px; padding: 15px 45px;
    border: 1px solid var(--color-text-main); font-family: var(--font-heading); font-size: 11px;
    letter-spacing: 4px; text-transform: uppercase; color: var(--color-text-main);
    transition: var(--transition-smooth); background: transparent;
}
.btn-intro-reserve:hover { background: var(--color-text-main); color: var(--color-bg-main); }

/* =========================================
   CAROUSEL LAYOUT (FRONT PAGE)
   ========================================= */
.carousel-wrapper { position: relative; width: 100%; }
.carousel-track {
    display: flex; gap: 40px; overflow-x: auto; scroll-behavior: smooth;
    padding-bottom: 10px; -ms-overflow-style: none; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.card { background-color: transparent; text-align: left; border: none; }
.card-img { width: 100%; height: 420px; background-size: cover; background-position: center; margin-bottom: 25px; }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 2px; }
.card p { font-size: 15px; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.discover-link { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; display: inline-block; border-bottom: 1px solid transparent; padding-bottom: 4px; }
.discover-link:hover { border-bottom: 1px solid var(--color-text-main); }

.track-2 .card { flex: 0 0 calc(50% - 20px); min-width: 350px; }
.track-3 .card { flex: 0 0 calc(33.333% - 26.6px); min-width: 280px; }
.track-3 .card .card-img { height: 320px; }

.carousel-arrows { display: flex; justify-content: flex-start; gap: 30px; margin-top: 30px; }
.carousel-arrows button {
    background: transparent; border: none; color: var(--color-text-main);
    cursor: pointer; padding: 10px 0; display: flex; align-items: center; transition: var(--transition-smooth);
}
.carousel-arrows button.inactive { opacity: 0.2; cursor: default; }
.carousel-arrows button svg { width: 50px; height: 15px; stroke-width: 0.8; }

/* =========================================
   ARCHIVE PAGES (OFFERS & SUITES/VILLAS)
   ========================================= */
.archive-hero {
    position: relative;
    height: 65vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0;
}
.archive-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,0) 60%, rgba(10,10,10,1) 100%);
}

/* Section header — varian ARCHIVE */
body.archive .section-header { text-align: center; max-width: 900px; margin: 0 auto 50px auto; }
body.archive .section-header h2 { font-size: 2.5rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 5px; }
body.archive .section-header p { color: var(--color-text-muted); margin: 0 auto; line-height: 1.8; }

.offers-archive-section {
    padding: 80px 5%;
    background-color: var(--color-bg-main);
}

.offers-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.offer-card { display: flex; flex-direction: column; }

/* Varian card ROOM (archive suites & villas): berlatar bg-alt */
body.post-type-archive-room .offer-card { background-color: var(--color-bg-alt); }
body.post-type-archive-room .offer-card-content { padding: 0 10px 10px 10px; }

.offer-card-img-wrapper {
    position: relative; width: 100%; height: 280px;
    overflow: hidden; margin-bottom: 25px;
}

.offer-card-img {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.offer-card:hover .offer-card-img { transform: scale(1.08); }

.offer-card-content { flex-grow: 1; display: flex; flex-direction: column; }

.offer-card-title {
    font-size: 1.3rem;
    text-transform: uppercase; letter-spacing: 3px;
    margin-bottom: 15px;
}
body.post-type-archive-room .offer-card-title { margin-bottom: 25px; }

.offer-card-desc {
    font-size: 14px;
    color: var(--color-text-muted); margin-bottom: 25px;
    line-height: 1.8;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}

/* Amenities Icons (room cards) */
.amenities-list {
    list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1;
    display: flex; flex-direction: column; gap: 12px;
}
.amenity-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-text-main); }
.amenity-item svg {
    width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
}

/* --- BUTTON STYLING (cards) --- */
.offer-card-footer {
    margin-top: auto; display: flex; gap: 15px; width: 100%;
}

.btn-card {
    flex: 1; text-align: center; display: block;
    font-family: var(--font-heading); font-size: 11px; text-transform: uppercase;
    letter-spacing: 2px; padding: 12px 0; border: 1px solid var(--color-text-main);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-card-discover { background: transparent; color: var(--color-text-main); }
.btn-card-discover:hover { background: #ffffff !important; color: #000000 !important; border-color: #000000 !important; }

.btn-card-reserve { background: var(--color-text-main); color: var(--color-bg-main); }
.btn-card-reserve:hover { background: #000000 !important; color: #ffffff !important; border-color: #ffffff !important; }

/* =========================================
   SINGLE OFFER PAGE
   ========================================= */
.offer-hero {
    position: relative; height: 65vh; width: 100%;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0;
}
.offer-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,0) 60%, rgba(10,10,10,1) 100%);
}

/* Section header — varian SINGLE OFFER */
body.single-offer .section-header { text-align: center; max-width: 850px; margin: 0 auto 50px auto; padding-top: 50px; }
body.single-offer .section-header h1 { font-size: 2.5rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 5px; }
body.single-offer .section-header h2 { font-size: 2rem; margin-bottom: 25px; letter-spacing: 2px; }
body.single-offer .section-header p { color: var(--color-text-muted); margin: 0 auto; line-height: 1.8; text-transform: none; }

.offer-section { padding: 0 5% 80px; background-color: var(--color-bg-main); }

.offer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr; gap: 60px;
}

.offer-description h2 { font-size: 2rem; margin-bottom: 25px; letter-spacing: 2px; }
.offer-description p { margin-bottom: 25px; line-height: 1.8; }

.inclusions-box {
    background: var(--color-bg-alt); border: 1px solid var(--border-thin);
    padding: 40px; margin-top: 2px;
}
.box-title {
    font-size: 1.2rem; text-transform: uppercase; letter-spacing: 3px;
    margin-bottom: 25px; border-bottom: 1px solid var(--border-thin); padding-bottom: 15px;
}

.inclusions-list { list-style: none; }
.inclusions-list li {
    position: relative; padding-left: 30px; margin-bottom: 15px; color: var(--color-text-muted); font-size: 15px;
}
.inclusions-list li::before {
    content: ''; position: absolute; left: 0; top: 8px; width: 15px; height: 1px; background-color: var(--color-text-main);
}

/* =========================================
   SINGLE ROOM (VILLA) PAGE
   ========================================= */
.villa-hero {
    position: relative; height: 75vh; width: 100%;
    background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center;
}
.villa-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0) 60%, rgba(10,10,10,1) 100%);
}

/* Section header — varian SINGLE ROOM */
body.single-room .section-header { text-align: center; max-width: 900px; margin: 0 auto 30px auto; padding-top: 60px; }
body.single-room .section-header h1 { font-size: 2.8rem; margin-bottom: 25px; letter-spacing: 5px; text-transform: uppercase; }

.villa-section { padding: 0 5% 80px; background-color: var(--color-bg-main); }
.villa-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr; gap: 60px; }
.villa-description p { line-height: 1.9; margin-bottom: 25px; color: #b5b5b5; text-align: justify; }

/* Luxury Gallery Grid */
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 15px; margin: 50px 0;
}
.gallery-item {
    position: relative; overflow: hidden; width: 100%; height: 100%; border: 1px solid var(--border-thin);
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.2); opacity: 0; transition: var(--transition-smooth); pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

.item-large { grid-column: span 2; grid-row: span 2; }

.more-photos-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth); z-index: 2;
}
.gallery-item:hover .more-photos-overlay { background: rgba(0,0,0,0.7); }

.eye-icon { width: 36px; height: 36px; stroke: #fff; transition: var(--transition-smooth); }
.gallery-item:hover .eye-icon { stroke: var(--color-accent); transform: scale(1.1); }

/* Modal Gallery (Lightbox) */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(10, 10, 10, 0.6); backdrop-filter: blur(5px);
    opacity: 0; transition: opacity 0.4s ease;
}
.modal.show { opacity: 1; }
.modal-content-wrapper { position: relative; max-width: 85%; max-height: 85vh; text-align: center; margin: auto; }
.modal-content-wrapper img {
    max-width: 100%; max-height: 80vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid var(--border-thin);
}
.modal-close {
    position: absolute; top: 30px; right: 40px; color: #fff; font-size: 45px; font-weight: 300; cursor: pointer;
    transition: 0.3s; line-height: 1; z-index: 2001; font-family: var(--font-body);
}
.modal-close:hover { color: var(--color-accent); transform: scale(1.1); }

.modal-nav {
    cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px;
    color: white; font-size: 30px; transition: 0.3s; user-select: none; border: 1px solid var(--border-thin);
    background: rgba(10,10,10,0.5); z-index: 2001; display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
}
.modal-nav:hover { background-color: var(--color-text-main); color: var(--color-bg-main); border-color: var(--color-text-main); }
.modal-nav.prev { left: -80px; }
.modal-nav.next { right: -80px; }

.modal-counter {
    color: #ffffff; font-size: 13px; position: absolute; bottom: -40px; left: 50%;
    transform: translateX(-50%); letter-spacing: 4px; font-family: var(--font-heading);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Accordion */
.features-wrapper { margin-top: 40px; }
.accordion-item { border-bottom: 1px solid var(--border-thin); margin-bottom: 5px; }
.accordion-item:first-child { border-top: 1px solid var(--border-thin); }

.accordion-header {
    width: 100%; padding: 20px 0; text-align: left; background: transparent; border: none; cursor: pointer;
    font-size: 1.2rem; letter-spacing: 2px; display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition-smooth);
}
.accordion-header:hover { color: var(--color-text-muted); }

.icon-chevron { position: relative; width: 14px; height: 14px; transition: transform 0.4s ease; }
.icon-chevron::before {
    content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px;
    border-bottom: 1.5px solid var(--color-text-main);
    border-right: 1.5px solid var(--color-text-main);
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
}
.accordion-header.active .icon-chevron { transform: rotate(-180deg); }
.accordion-header:hover .icon-chevron::before { border-color: var(--color-text-muted); }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.accordion-inner { padding-bottom: 25px; color: var(--color-text-muted); }

.features-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.features-list li { position: relative; padding-left: 20px; font-size: 15px; }
.features-list li::before {
    content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
    background-color: var(--color-accent); border-radius: 50%;
}

.standalone-note { margin-top: 20px; font-style: italic; font-size: 14px; color: var(--color-accent); }

/* =========================================
   BOOKING WIDGET (SIDEBAR — single pages)
   ========================================= */
.booking-sidebar {
    position: sticky; top: 120px;
    background: var(--color-bg-alt); border: 1px solid var(--border-thin); padding: 40px; text-align: center;
}

.price-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--color-text-muted); display: block; margin-bottom: 10px;}
.price-value { font-family: var(--font-heading); font-size: 2rem; color: var(--color-text-main); margin-bottom: 20px; display: block;}
.sidebar-text { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; }

.btn-book-now {
    display: block; width: 100%; text-align: center;
    background: transparent; border: 1px solid var(--color-text-main);
    color: var(--color-text-main); font-family: var(--font-heading);
    padding: 18px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
    cursor: pointer; transition: var(--transition-smooth);
    margin-top: 30px;
}
.btn-book-now:hover { background: var(--color-text-main); color: var(--color-bg-main); }

/* =========================================
   FOOTER
   ========================================= */
footer.site-footer { background-color: #050505; padding: 80px 8% 40px; border-top: 1px solid var(--border-thin); }

.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr 1.2fr; gap: 50px; margin-bottom: 60px; }

.footer-col h4 {
    font-size: 1.1rem; margin-bottom: 30px; text-transform: uppercase;
    letter-spacing: 3px; white-space: nowrap;
}

.footer-newsletter-text { font-size: 13px; margin-bottom: 15px; color: #888; }

.subscribe-form { display: flex; flex-direction: column; gap: 20px; }
.subscribe-form input {
    padding: 15px 20px; background: transparent; border: 1px solid var(--border-thin);
    color: var(--color-text-main); font-family: var(--font-body); outline: none; font-size: 15px;
    width: 100%; max-width: 350px;
}
.subscribe-form button {
    padding: 15px; background: transparent; border: 1px solid var(--border-thin);
    color: var(--color-text-main); font-family: var(--font-heading); cursor: pointer;
    text-transform: uppercase; letter-spacing: 3px; transition: var(--transition-smooth); font-size: 11px;
    width: 100%; max-width: 350px;
}
.subscribe-form button:hover { background: var(--color-text-main); color: #000; }

.footer-middle-title { text-align: left; }
.footer-middle-links { display: flex; justify-content: flex-start; gap: 80px; }

.footer-menu, .social-links { list-style: none; text-align: left; }
.footer-menu li, .social-links li { margin-bottom: 18px; }
.footer-menu a, .social-links a { font-size: 15px; letter-spacing: 1px; color: var(--color-text-muted); }
.footer-menu a:hover, .social-links a:hover { color: var(--color-text-main); }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-thin); }
.footer-bottom p { font-size: 13px; margin: 0; color: #777; letter-spacing: 1px; }

/* =========================================
   FLOATING WHATSAPP BUTTON (MONOCHROME)
   ========================================= */
.floating-wa {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000;
    background-color: transparent; border: 1px solid var(--border-thin);
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    transition: var(--transition-smooth); backdrop-filter: blur(10px);
    color: #ffffff;
}
.floating-wa svg { width: 22px; height: 22px; fill: currentColor; stroke: none; transition: var(--transition-smooth); }
.floating-wa:hover { background-color: #ffffff; border-color: #ffffff; color: #000000; }

/* Admin bar fix */
body.admin-bar header.site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.site-header { top: 46px; } }

/* =========================================
   RESPONSIVE (MOBILE & TABLET FIXES)
   ========================================= */
@media (max-width: 1024px) {
    .main-nav { display: none; }

    .header-inner { display: flex; justify-content: flex-end; align-items: center; position: relative; }
    .header-logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
    .header-left, .header-right { display: none; }

    .hamburger { display: block; position: relative; z-index: 1005; }
    .hamburger svg { width: 35px; height: 35px; stroke: #fff; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }

    header.site-header { padding: 20px 5%; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px;}
    .footer-middle-links { gap: 40px; }
    #bookingSidebarForm { flex-wrap: wrap; justify-content: center; }
    .hero-booking-wrapper { bottom: 30px; }
    #dateModal { width: 100%; left: 0; }

    .offers-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

    .offer-container { grid-template-columns: 1fr; gap: 40px; }
    .villa-container { grid-template-columns: 1fr; gap: 40px; }
    .booking-sidebar { position: static; }
    body.single-offer .section-header h1 { font-size: 2.2rem; }
    body.single-room .section-header h1 { font-size: 2.2rem; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .item-large { grid-column: span 2; grid-row: span 1; }
    .modal-nav { width: 40px; height: 40px; font-size: 20px; }
    .modal-nav.prev { left: -10px; }
    .modal-nav.next { right: -10px; }
    .modal-content-wrapper { max-width: 95%; }
}

@media (max-width: 768px) {
    .track-2 .card, .track-3 .card { flex: 0 0 100%; min-width: 100%; }
    .hero-nav button svg { width: 40px; height: 40px; }

    .hero-booking-wrapper { position: relative; bottom: 0; padding: 20px; background: var(--color-bg-main); width: 100%; max-width: 100%; margin-top: -5px; }
    #bookingSidebarForm { flex-direction: column; align-items: stretch; gap: 15px; }
    .booking-input-group { justify-content: space-between; width: 100%; }
    .btn-check-rates { width: 100%; margin-top: 10px; }

    .footer-middle-links { flex-direction: column; gap: 18px; }
    #dateModal { bottom: auto; top: calc(100% + 10px); }
    #guestModal { bottom: auto; top: calc(100% + 10px); }

    .archive-hero { height: 50vh; }
    .offers-grid { grid-template-columns: 1fr; }
    .offer-card-footer { flex-direction: column; gap: 10px; }

    .inclusions-box { padding: 25px; }

    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .item-large { grid-column: span 1; grid-row: span 1; }
    .modal-nav.prev { left: 5px; }
    .modal-nav.next { right: 5px; }
    .modal-close { top: 15px; right: 20px; }
}

/* =========================================
   DROPDOWN — MENYATU DENGAN HEADER TRANSPARAN
   Saat submenu terbuka, header + dropdown melebur
   menjadi satu panel kaca gelap tanpa sambungan.
   ========================================= */

/* 1. Header ikut menggelap SELAMA ada menu yang di-hover,
      memakai permukaan yang sama persis dengan dropdown. */
header.site-header:has(.nav-links > li:hover) {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: transparent; /* seam pindah ke bawah dropdown */
}

/* 2. Dropdown memakai permukaan kaca yang identik —
      bukan hitam solid — sehingga menyatu mulus dengan header. */
.dropdown-menu {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
    padding: 30px 0 34px;
    gap: 72px;
}

/* 3. Garis pemisah halus antara baris menu utama dan submenu —
      cukup samar untuk terasa, bukan terlihat. */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(520px, 60%);
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.14), transparent);
}

/* 4. Penutup panel: satu garis rambut emas — aksen brand,
      hanya muncul bersama dropdown. */
.dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent 5%,
        rgba(212, 175, 55, 0.45) 50%,
        transparent 95%);
}

/* 5. Underline hover submenu ikut emas, selaras dengan garis penutup. */
.dropdown-menu li a::after { background: var(--color-accent); }

/* 6. Reveal lebih tenang: turun 6px + fade, tanpa hentakan. */
.dropdown-menu { transform: translateY(-6px); }
.nav-links li:hover .dropdown-menu { transform: translateY(0); }

/* 7. Saat sudah scrolled, header solid 0.98 — samakan dropdown
      agar tetap satu permukaan di kondisi itu juga. */
header.site-header.scrolled .dropdown-menu {
    background: rgba(10, 10, 10, 0.98);
}
