/*
Theme Name: Yamanara Properti App
Theme URI: https://yamanara.com
Author: Yamanara Dev
Description: Tema aplikasi mobile untuk properti
Version: 2.0.0
Text Domain: yamanara
*/

:root {
    --primary-orange: #FF6B00;
    --primary-orange-gradient: linear-gradient(135deg, #FF8A00 0%, #FF6B00 50%, #E65100 100%);
    --primary-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-cream: #FFF8F0;
    --text-dark: #1A1A1A;
    --text-gray: #6B7280;
    --text-light-gray: #9CA3AF;
    --border-light: #F0F0F0;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --radius-lg: 20px;
    --radius-md: 14px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
header.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: var(--primary-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    z-index: 1000;
}

.header-left img {
    height: 42px;
}

.hamburger-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: var(--primary-orange);
    cursor: pointer;
    background: var(--bg-cream);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content */
#app-wrapper {
    margin-top: 72px;
    margin-bottom: 80px;
    padding: 20px 16px;
    min-height: calc(100vh - 152px);
}

/* Hero */
.welcome-hero {
    background: var(--primary-orange-gradient);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin-bottom: 24px;
    color: var(--primary-white);
}

.welcome-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Page Content */
.app-page-content {
    background: var(--primary-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

.app-page-content h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 18px;
}

.content-body {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
}

/* Bottom Navigation */
nav.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: var(--primary-white);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light-gray);
    font-size: 11px;
    font-weight: 500;
    gap: 4px;
    flex: 1;
    padding: 6px 4px;
    transition: var(--transition-smooth);
}

.nav-item i {
    font-size: 22px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-orange);
}

/* Sidebar */
.app-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    height: 100vh;
    background: var(--primary-white);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px 20px;
    overflow-y: auto;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}

.app-sidebar.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--bg-cream);
    padding-bottom: 18px;
    margin-bottom: 20px;
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-orange);
}

.close-sidebar {
    width: 38px;
    height: 38px;
    font-size: 20px;
    color: var(--primary-orange);
    cursor: pointer;
    background: var(--bg-cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-sidebar ul {
    list-style: none;
}

.app-sidebar ul li a {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.app-sidebar ul li a:hover {
    background: var(--bg-cream);
    color: var(--primary-orange);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

/* Responsive */
@media (min-width: 768px) {
    #app-wrapper {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
    nav.app-bottom-nav {
        max-width: 720px;
        left: 50%;
        transform: translateX(-50%);
    }
}
