:root {
    --red: #d32027;
    --green: #116834;
    --black: rgba(13, 13, 13, 0.85);
    --white: #f5f5f5;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    line-height: 1.6;
    background: url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
}

.page-overlay {
    background: rgba(0, 0, 0, 0.75);
    min-height: 100vh;
    width: 100%;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-green { color: var(--green); }

/* Header */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container img { height: 60px; }

nav { display: flex; align-items: center; }

nav a {
    color: var(--white); text-decoration: none;
    margin-left: 20px; font-weight: 600; transition: color 0.3s;
}
nav a:hover { color: var(--green); }

.btn-lang {
    background: transparent; border: 1px solid var(--white);
    color: var(--white); padding: 5px 10px; border-radius: 4px;
    cursor: pointer; font-weight: bold; margin-left: 30px;
    transition: all 0.3s ease; font-family: 'Montserrat', sans-serif;
}
.btn-lang:hover { background: var(--white); color: var(--black); }

/* Hero */
.hero {
    text-align: center; padding: 120px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.hero h1 { font-size: 3.5rem; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin: 0 auto 30px auto; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }

.btn-primary {
    background-color: var(--red); color: var(--white);
    padding: 15px 30px; border: none; font-size: 1.1rem;
    font-weight: bold; cursor: pointer; border-radius: 4px;
    transition: all 0.3s ease; text-decoration: none;
    display: inline-block; box-shadow: 0 4px 15px rgba(211, 32, 39, 0.4);
}
.btn-primary:hover { background-color: #a8191e; transform: translateY(-2px); }

/* Locations */
.locations { padding: 80px 20px; text-align: center; }
.locations h2 { font-size: 2.5rem; margin-bottom: 40px; color: #4CAF50; text-shadow: 1px 1px 5px rgba(0,0,0,0.8); }
.cards { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.location-card {
    background: var(--glass-bg); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); padding: 30px;
    border-radius: 12px; width: 320px; color: var(--white);
    display: flex; flex-direction: column; align-items: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); cursor: pointer;
}
.location-card:hover {
    transform: translateY(-10px); border-color: var(--red);
    box-shadow: 0 12px 40px 0 rgba(211, 32, 39, 0.3);
}

.map-icon { width: 40px; height: 40px; fill: var(--green); margin-bottom: 15px; transition: fill 0.3s; }
.location-card:hover .map-icon { fill: var(--red); }
.location-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.location-card p { opacity: 0.9; margin-bottom: 15px; }

.btn-map {
    background: rgba(255,255,255,0.1); border: 1px solid var(--green);
    color: var(--white); padding: 8px 15px; border-radius: 4px;
    cursor: pointer; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 20px; transition: 0.3s; text-decoration: none;
    display: flex; align-items: center; gap: 5px;
}
.btn-map:hover { background: var(--green); }

.open-services-text {
    font-size: 0.9rem; font-weight: 600; color: var(--white);
    margin-top: auto; display: flex; align-items: center; gap: 5px; transition: color 0.3s;
}
.location-card:hover .open-services-text { color: var(--red); }

/* Modal Layanan */
.modal {
    display: none; position: fixed; z-index: 1000; left: 0; top: 0;
    width: 100%; height: 100%; overflow: hidden;
    background-color: rgba(0,0,0,0.7); backdrop-filter: blur(5px);
    justify-content: center; align-items: center;
}
.modal-content {
    background: rgba(20, 20, 20, 0.95); border: 1px solid var(--glass-border);
    border-radius: 12px; width: 90%; max-width: 500px; max-height: 80vh;
    display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.modal-header {
    padding: 20px; border-bottom: 1px solid #333;
    display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { color: var(--red); font-family: 'Playfair Display', serif; margin: 0; }
.close-btn { color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s; line-height: 1; }
.close-btn:hover { color: var(--white); }
.modal-body { padding: 20px; overflow-y: auto; }

.category-header {
    color: var(--white); margin: 20px 0 10px 0; font-size: 1.1rem; font-weight: 600;
    border-bottom: 1px solid var(--green); padding-bottom: 5px;
    font-family: 'Playfair Display', serif; letter-spacing: 0.5px;
}
.category-header:first-child { margin-top: 0; }
.menu-item-row {
    display: flex; justify-content: space-between; padding: 6px 0 6px 15px; 
    font-weight: 400; font-size: 0.95rem; opacity: 0.9;
}
.menu-price { color: var(--green); font-weight: 600; }

/* Reservation Form */
.reservation { padding: 80px 20px; border-top: 1px solid var(--glass-border); }
.reservation h2 { text-align: center; font-size: 2.5rem; margin-bottom: 10px; color: var(--red); text-shadow: 1px 1px 5px rgba(0,0,0,0.8); }
.reservation p { text-align: center; margin-bottom: 40px; }

form {
    max-width: 600px; margin: 0 auto; background: var(--glass-bg);
    backdrop-filter: blur(15px); padding: 40px; border-radius: 12px;
    border: 1px solid var(--glass-border); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.form-group { margin-bottom: 25px; position: relative; }
.form-group label.group-label { display: block; margin-bottom: 8px; font-weight: 600; letter-spacing: 0.5px; }
.form-group input[type="number"], .form-group select {
    width: 100%; padding: 15px; background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #555; color: var(--white); border-radius: 6px;
    font-family: inherit; font-size: 1rem; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--green); }
.form-group select option { background-color: #111; color: #fff; }

/* Service Selection Area */
.service-checkbox-list {
    max-height: 250px; overflow-y: auto; background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #555; border-radius: 6px; padding: 10px 15px;
    display: flex; flex-direction: column; gap: 8px;
}
.service-checkbox-list::-webkit-scrollbar, .time-col::-webkit-scrollbar, .modal-body::-webkit-scrollbar { width: 6px; }
.service-checkbox-list::-webkit-scrollbar-track, .time-col::-webkit-scrollbar-track, .modal-body::-webkit-scrollbar-track { background: transparent; }
.service-checkbox-list::-webkit-scrollbar-thumb, .time-col::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; }

.form-category-header {
    font-weight: bold; color: var(--white); font-size: 1rem;
    margin-top: 15px; margin-bottom: 5px; border-bottom: 1px solid #444; padding-bottom: 3px;
}
.form-category-header:first-child { margin-top: 0; }

.service-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; background: rgba(255,255,255,0.03);
    border: 1px solid #444; border-radius: 4px; cursor: pointer; transition: 0.2s;
    margin-left: 10px;
}
.service-option:hover { border-color: var(--green); background: rgba(17, 104, 52, 0.2); }
.service-option input[type="checkbox"] {
    margin-right: 15px; transform: scale(1.2); accent-color: var(--green); cursor: pointer;
}
.service-option span.service-name { display: inline; font-weight: normal; flex-grow: 1; font-size: 0.95rem; }
.service-option .price-badge { font-weight: 600; color: var(--green); font-size: 0.9rem; }

/* Estimasi Biaya Box */
.total-cost-container {
    margin-top: 15px; padding-top: 15px; border-top: 1px dashed #666;
    display: flex; justify-content: space-between; align-items: center;
}
.total-cost-label { font-weight: 600; font-size: 1.1rem; }
.total-cost-value { font-weight: bold; color: var(--green); font-size: 1.4rem; font-family: 'Playfair Display', serif; }

/* Time Picker */
.custom-time-input {
    width: 100%; padding: 15px; background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #555; color: #aaa; border-radius: 6px;
    font-size: 1rem; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; transition: border-color 0.3s;
}
.custom-time-input:hover { border-color: var(--green); }
.custom-time-input.has-value { color: var(--white); }

.time-popover {
    display: none; position: absolute; top: 105%; left: 0; width: 100%;
    background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(10px);
    border: 1px solid var(--green); border-radius: 8px; padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); z-index: 10;
}
.time-popover.active { display: block; }
.time-popover-header { text-align: center; margin-bottom: 10px; font-size: 0.9rem; color: #aaa; }
.time-scroll-container { display: flex; gap: 15px; height: 180px; }
.time-col {
    flex: 1; display: flex; flex-direction: column; overflow-y: auto;
    border: 1px solid #444; border-radius: 6px; background: rgba(0,0,0,0.4);
}
.time-item { padding: 12px; text-align: center; cursor: pointer; transition: 0.2s; border-bottom: 1px solid #333; font-weight: 600; }
.time-item:hover { background: rgba(17, 104, 52, 0.5); }
.time-item.selected { background: var(--green); color: white; border-color: var(--green); }

.btn-apply-time {
    width: 100%; padding: 10px; margin-top: 15px; background: var(--white);
    color: var(--black); border: none; border-radius: 4px; cursor: pointer; font-weight: bold;
}
.btn-apply-time:hover { background: #ddd; }

.btn-wa {
    background-color: #25D366;
    color: #000000;
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0.9;
}

footer { text-align: center; padding: 20px; background-color: rgba(0,0,0,0.9); border-top: 1px solid var(--glass-border); }

/* Styling Kotak Layanan per Orang */
.pax-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.pax-section-title {
    color: var(--green);
    font-weight: bold;
    font-size: 1.05rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #555;
}

/* Membatasi tinggi form scroll di dalam kotak pax */
.pax-section .service-checkbox-list {
    max-height: 220px;
}

/* Styling untuk input waktu saat belum aktif / lokasi belum dipilih */
.custom-time-input.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #444;
}

/* Menyamakan tampilan input form bawaan yang sedang dinonaktifkan */
.form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #444;
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; padding: 15px 20px; }
    nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    nav a { margin-left: 0; }
    .btn-lang { margin-left: 0; margin-top: 0; }
    .hero h1 { font-size: 2.5rem; }
}