
:root {
    --bg-color: #0f1115;
    --text-color: #ffffff;
    --primary-color: #00e676; /* Green matching logo */
    --surface-color: #1a1d24;
    --glass-bg: rgba(26, 29, 36, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-color); padding-bottom: 90px; }

/* Top Bar */
.top-bar {
    position: sticky; top: 0; left: 0; width: 100%; height: 60px;
    background: var(--glass-bg); backdrop-filter: blur(10px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo-container { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary-color); font-size: 1.2rem;}
.logo { height: 35px; width: 35px; object-fit: contain; }
.notification { position: relative; font-size: 1.3rem; cursor: pointer; color: #fff;}
.badge {
    position: absolute; top: -5px; right: -5px;
    background: var(--primary-color); color: #000;
    font-size: 0.6rem; font-weight: bold; width: 15px; height: 15px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* Bottom Bar - Capsule & Glassmorphism */
.bottom-bar {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px; height: 65px;
    background: rgba(30, 34, 42, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; justify-content: space-around; align-items: center;
    z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav-item { color: rgba(255,255,255,0.5); font-size: 1.5rem; text-decoration: none; transition: 0.3s; padding: 10px;}
.nav-item.active { color: var(--primary-color); filter: drop-shadow(0 0 5px var(--primary-color)); }

/* Page Routing */
.page { display: none; padding: 15px; animation: fadeIn 0.3s ease-in-out;}
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.page-title { margin-bottom: 15px; color: var(--primary-color); font-size: 1.5rem; }

/* Section 1: Hero Promo */
.hero-bar { background: linear-gradient(135deg, #113a22 0%, var(--surface-color) 100%); border-radius: 15px; padding: 20px; margin-bottom: 20px; border-left: 4px solid var(--primary-color); }
.hero-content h1 { font-size: 1.2rem; color: var(--primary-color); }
.hero-content p { font-size: 0.9rem; margin-top: 5px; color: #ccc;}

/* Section 2: Slider 4:3 */
.slider-section { margin-bottom: 30px; }
.mainSlider { width: 100%; aspect-ratio: 4/3; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.3);}
.swiper-slide { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--surface-color); }
.bg-slide { background-size: cover; background-position: center; position: relative; }
.slide-overlay { position: absolute; bottom: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); text-align: left; }
.slide-overlay h3 { color: var(--primary-color); }

/* Booking Form Slide */
.form-slide { padding: 20px; text-align: left; align-items: flex-start; justify-content: flex-start; overflow-y: auto;}
.booking-card { width: 100%; height: 100%; display: flex; flex-direction: column; }
.booking-card h2 { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 5px; }
.work-hours { font-size: 0.8rem; color: #aaa; margin-bottom: 15px; }
form input, form textarea {
    width: 100%; padding: 10px; margin-bottom: 10px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3); color: #fff; outline: none;
}
form input:focus, form textarea:focus { border-color: var(--primary-color); }
.btn-submit {
    width: 100%; padding: 12px; background: var(--primary-color); color: #000; font-weight: 700;
    border: none; border-radius: 8px; cursor: pointer; transition: 0.2s; margin-top: 5px;
}
.btn-submit:hover { opacity: 0.8; }
#form-msg { font-size: 0.8rem; margin-top: 5px; text-align: center; }

/* Section 3: Card Carousel */
.section-title { font-size: 1.1rem; margin-bottom: 10px; }
.service-card {
    background: var(--surface-color); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 20px 10px; height: 100px; text-align: center;
}
.service-card i { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }
.service-card h4 { font-size: 0.8rem; font-weight: 600; }

/* List Container (Antrian & Histori) */
.list-container { display: flex; flex-direction: column; gap: 15px; }
.list-item {
    background: var(--surface-color); border-radius: 10px; padding: 15px;
    border-left: 4px solid var(--primary-color); box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.list-item.histori-item { border-left-color: #555; opacity: 0.7; }
.list-item h4 { margin-bottom: 5px; }
.list-item p { font-size: 0.85rem; color: #aaa; margin-bottom: 3px; }
.list-item .date { font-weight: bold; color: var(--primary-color); margin-top: 5px; }
.histori-item .date { color: #fff; }

/* Desktop overrides */
@media (min-width: 768px) {
    #app-content { max-width: 800px; margin: 0 auto; padding-top: 20px;}
    .bottom-bar { max-width: 600px; }
}
