:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --accent: #f59e0b;
    --neutral-900: #0f172a;
    --neutral-700: #334155;
    --neutral-500: #64748b;
    --neutral-400: #94a3b8;
    --neutral-100: #f1f5f9;
    --neutral-50: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

html { font-size: 16px; }
body { background-color: var(--neutral-50); color: var(--neutral-900); line-height: 1.6; overflow-x: hidden; font-size: 1rem; }

.page-view { display: block; }
.page-hidden { display: none !important; }

/* Top Bar */
.top-bar { background: var(--neutral-900); color: var(--white); padding: 8px 5%; font-size: 0.78rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.top-bar-info { display: flex; align-items: center; gap: 15px; }
.top-bar-info span { display: inline-flex; align-items: center; gap: 5px; }
.top-bar-info i { color: var(--accent); }
.top-bar-settings { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; gap: 2px; background: rgba(255, 255, 255, 0.1); padding: 2px; border-radius: 20px; }
.lang-btn { background: transparent; border: none; color: rgba(255, 255, 255, 0.7); padding: 2px 8px; border-radius: 16px; cursor: pointer; font-size: 0.7rem; font-weight: 700; transition: all 0.2s; }
.lang-btn.active { background: var(--primary); color: var(--white); }

/* Header */
header { position: sticky; top: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); padding: 12px 5%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 6px; text-decoration: none; letter-spacing: -0.5px; cursor: pointer; }
.logo i { color: var(--accent); font-size: 1.35rem; }

nav { display: flex; gap: 18px; align-items: center; }
nav a { text-decoration: none; color: var(--neutral-700); font-weight: 600; font-size: 0.88rem; transition: color 0.2s; position: relative; padding: 4px 0; cursor: pointer; }
nav a:not(.btn-nav-mobile):hover, nav a.active { color: var(--primary); }
nav a:not(.btn-nav-mobile)::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--primary); transition: width 0.2s ease-in-out; }
nav a:not(.btn-nav-mobile):hover::after, nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-header { background: var(--primary); color: var(--white); padding: 8px 18px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.85rem; transition: all 0.2s; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25); white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.btn-header:hover { background: var(--primary-dark); transform: translateY(-1px); }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.3rem; color: var(--neutral-900); cursor: pointer; padding: 4px; }
.btn-nav-mobile { display: none; }

/* Hero */
.hero { background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.8) 100%), url('https://images.unsplash.com/photo-1571257468160-c6518a24fc4d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; padding: 60px 5% 60px; text-align: center; color: var(--white); }
.hero h1 { font-size: clamp(1.5rem, 4vw + 0.8rem, 2.6rem); font-weight: 800; margin-bottom: 12px; line-height: 1.25; }
.hero p { font-size: clamp(0.9rem, 1.5vw + 0.4rem, 1.1rem); max-width: 650px; margin: 0 auto; color: var(--neutral-100); font-weight: 400; }

.page-banner { background: linear-gradient(180deg, var(--neutral-900) 0%, #1e293b 100%); color: var(--white); padding: 40px 5% 30px; text-align: center; }
.page-banner h1 { font-size: clamp(1.3rem, 3vw + 0.6rem, 2rem); font-weight: 800; margin-bottom: 6px; }
.page-banner p { color: var(--neutral-100); font-size: clamp(0.85rem, 1vw + 0.4rem, 0.95rem); max-width: 600px; margin: 0 auto; }

/* Filter Kategori */
.category-filters { display: flex; justify-content: center; overflow-x: auto; padding-bottom: 8px; gap: 8px; margin-bottom: 25px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.category-filters::-webkit-scrollbar { display: none; }
.filter-btn { background: var(--white); color: var(--neutral-700); border: 1.5px solid var(--neutral-100); padding: 8px 16px; border-radius: 30px; font-size: 0.82rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; box-shadow: var(--shadow-sm); flex-shrink: 0; white-space: nowrap; }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25); }

/* Tour Cards */
.tour-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.tour-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--neutral-100); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.tour-card-img { position: relative; height: 170px; overflow: hidden; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tour-price-tag { position: absolute; bottom: 10px; right: 10px; background: var(--accent); color: var(--neutral-900); font-weight: 800; font-size: 0.85rem; padding: 4px 10px; border-radius: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.tour-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.tour-route-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 4px 10px; border-radius: 20px; margin-bottom: 8px; width: fit-content; }
.tour-card-body h4 { font-size: 1rem; font-weight: 800; color: var(--neutral-900); margin-bottom: 6px; line-height: 1.3; }
.tour-card-body p { font-size: 0.82rem; color: var(--neutral-500); margin-bottom: 12px; flex: 1; }
.tour-features { list-style: none; display: flex; flex-direction: column; gap: 4px; border-top: 1px dashed var(--neutral-100); padding-top: 10px; margin-bottom: 4px; }
.tour-features li { font-size: 0.78rem; color: var(--neutral-700); display: flex; align-items: center; gap: 6px; }
.tour-features li i { color: #10b981; font-size: 0.8rem; }

/* Accordion */
.accordion-container { display: flex; flex-direction: column; gap: 12px; max-width: 850px; margin: 0 auto; }
.accordion-item { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--neutral-100); box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; background: var(--white); color: var(--primary); font-weight: 700; font-size: 1rem; cursor: pointer; user-select: none; list-style: none; }
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header span { display: inline-flex; align-items: center; gap: 8px; }
.accordion-arrow { font-size: 0.85rem; color: var(--neutral-400); transition: transform 0.3s ease; }
.accordion-item[open] .accordion-arrow { transform: rotate(180deg); color: var(--primary); }
.accordion-item[open] .accordion-header { border-bottom: 1px solid var(--neutral-100); background: var(--neutral-50); }
.accordion-body { padding: 15px 18px; background: var(--white); }
.tariff-list-grid { display: flex; flex-direction: column; gap: 8px; }
.tariff-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--neutral-50); border: 1px solid var(--neutral-100); }
.tariff-row span { font-weight: 600; color: var(--neutral-700); font-size: 0.88rem; }
.tariff-action { display: flex; align-items: center; gap: 10px; }
.tariff-action strong { color: var(--neutral-900); font-size: 0.9rem; }
.btn-select-tariff { background: var(--primary-light); color: var(--primary); border: none; padding: 6px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }

/* Booking Section */
.booking-section { padding: 30px 4% 50px; max-width: 800px; margin: 0 auto; }
.booking-card { background: var(--white); border-radius: var(--radius-lg); padding: 22px 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--neutral-100); width: 100%; }
.booking-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--neutral-700); }
.form-group input, .form-group select, .form-group textarea { padding: 11px 12px; border: 1.5px solid var(--neutral-100); border-radius: var(--radius-sm); font-size: 0.9rem; background: var(--neutral-50); outline: none; width: 100%; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--primary); background: var(--white); }
.full-width { grid-column: 1 / -1; }
.phone-input-group { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--neutral-100); border-radius: var(--radius-sm); background: var(--neutral-50); overflow: hidden; }
.phone-input-group select { width: 90px !important; flex-shrink: 0; padding: 11px 4px; border: none; background: transparent; cursor: pointer; font-size: 0.82rem !important; outline: none; }
.phone-input-group input { border: none; background: transparent; padding: 11px 12px 11px 4px; width: 100%; }
.price-summary-box { background: var(--primary-light); border: 1.5px solid var(--primary); padding: 14px; border-radius: var(--radius-md); margin: 4px 0; }
.price-summary-info { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--neutral-900); }
.price-summary-info strong { font-size: 1.15rem; color: var(--primary-dark); font-weight: 800; }
.btn-submit { background: var(--primary); color: var(--white); border: none; padding: 13px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }

.section { padding: 40px 5%; max-width: 1200px; margin: 0 auto; }
.sub-section-title h3 { font-size: 1.25rem; font-weight: 800; color: var(--neutral-900); display: flex; align-items: center; justify-content: center; gap: 8px; }
.sub-section-title h3 i { color: var(--primary); }
.sub-section-title p { color: var(--neutral-500); font-size: 0.85rem; margin-top: 4px; text-align: center; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 200px; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 12px; background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%); color: var(--white); font-size: 0.82rem; font-weight: 600; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.blog-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--neutral-100); box-shadow: var(--shadow-sm); }
.blog-body { padding: 16px; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.blog-body p { font-size: 0.85rem; color: var(--neutral-500); margin-bottom: 10px; }
.blog-link { display: none; color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.85rem; cursor: pointer; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); display: none; justify-content: center; align-items: center; z-index: 2000; padding: 16px; }
.modal-overlay.active { display: flex; }
.modal-card { background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; padding: 20px; box-shadow: var(--shadow-lg); position: relative; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.modal-header h3 { font-size: 1.15rem; font-weight: 800; color: var(--neutral-900); }
.modal-close { background: none; border: none; font-size: 1.2rem; color: var(--neutral-500); cursor: pointer; padding: 4px; }
.summary-details { display: flex; flex-direction: column; gap: 10px; background: var(--neutral-50); padding: 14px; border-radius: var(--radius-md); border: 1px solid var(--neutral-100); }
.summary-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed var(--neutral-100); padding-bottom: 6px; font-size: 0.85rem; }
.summary-label { color: var(--neutral-500); font-weight: 600; }
.summary-value { color: var(--neutral-900); font-weight: 700; text-align: right; }

.floating-wa { position: fixed; bottom: 20px; right: 20px; background: #25d366; color: white; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); z-index: 999; text-decoration: none; transition: transform 0.3s; }

footer { background: var(--neutral-900); color: var(--white); padding: 40px 5% 20px; font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto 30px; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 12px; color: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: var(--neutral-100); text-decoration: none; cursor: pointer; }
.copyright { text-align: center; border-top: 1px solid var(--neutral-700); padding-top: 15px; color: var(--neutral-500); font-size: 0.78rem; }

.input-clear-wrapper { position: relative; display: flex; align-items: center; width: 100%; }
.input-clear-wrapper input { width: 100%; padding-right: 35px !important; }
.clear-input-btn { position: absolute; right: 8px; background: transparent; border: none; color: var(--neutral-400); cursor: pointer; font-size: 0.85rem; padding: 6px; display: flex; align-items: center; justify-content: center; }

/* RESPONSIVE BREAKPOINTS UNTUK HP KECIL HINGGA TABLET */
@media (max-width: 992px) {
    .btn-header { display: none; }
    .mobile-menu-btn { display: block; }
    nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); padding: 16px 5%; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); gap: 10px; align-items: stretch; border-top: 1px solid var(--neutral-100); }
    nav.active { display: flex; }
    nav a { padding: 8px 0; font-size: 0.95rem; border-bottom: 1px solid var(--neutral-100); }
    .btn-nav-mobile { display: flex !important; background: var(--primary); color: var(--white) !important; padding: 12px 20px; border-radius: 30px; text-align: center; justify-content: center; font-weight: 700; font-size: 0.95rem; border-bottom: none !important; margin-top: 6px; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .top-bar { justify-content: center; text-align: center; }
    .booking-grid { grid-template-columns: 1fr; gap: 12px; }
    .hero { padding: 50px 4% 50px; }
    .section { padding: 30px 4%; }
}
/* Styling Khusus Halaman Tarif / Layanan */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 4px;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-100);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}

.accordion-body {
    padding: 12px 16px 16px 16px;
    background: var(--white);
}

.tariff-list-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tariff-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--neutral-50);
    border: 1px solid var(--neutral-100);
    gap: 10px;
}

.tariff-row span {
    font-weight: 600;
    color: var(--neutral-700);
    font-size: 0.88rem;
    word-break: break-word;
}

.tariff-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tariff-action strong {
    color: var(--neutral-900);
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-select-tariff {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* Penyesuaian Ekstra untuk HP Berukuran Sangat Kecil (Layar < 480px) */
@media (max-width: 480px) {
    .tariff-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 8px;
    }

    .tariff-action {
        width: 100%;
        justify-content: space-between;
        border-top: 1px dashed var(--neutral-200, #e2e8f0);
        padding-top: 8px;
    }

    .accordion-header {
        font-size: 0.92rem;
        padding: 14px;
    }
}
