/*
Theme Name: Buang Lemak Luxury App
Theme URI: https://buanglemak.com
Author: Yamanara
Description: Theme mewah bergaya Aplikasi Android untuk E-commerce Buang Lemak.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: buanglemak
*/

:root {
    --primary-blue: #084298;
    --primary-green: #0f5132;
    --accent-green: #198754;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-bg);
    color: #333;
    overflow-x: hidden;
}

/* Header Bergaya App */
.app-header {
    background: var(--white);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.app-logo img {
    height: 40px;
    width: auto;
}

.menu-toggle {
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
    background: none;
    border: none;
}

/* Sidebar Overlay */
.app-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    z-index: 1001;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 20px;
    box-sizing: border-box;
    color: white;
}

.app-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.sidebar-header img {
    width: 50px;
    border-radius: 50%;
    background: white;
    padding: 5px;
}

.app-sidebar ul {
    list-style: none;
    padding: 0;
}

.app-sidebar ul li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.app-sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

/* Main Content */
.main-container {
    margin-top: 80px;
    padding: 20px;
    min-height: 80vh;
}

/* Footer Luxury */
.app-footer {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 40px 20px 100px 20px; /* Padding bawah lebih besar untuk bottom nav */
    font-size: 14px;
}

/* Bottom Navigation (Hanya muncul di Mobile) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-item {
    text-align: center;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 12px;
}

.nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
}

/* Overlay dark background when sidebar open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}

.overlay.active {
    display: block;
}