/* File: style.css (Versi Final Sempurna) */

:root {
    --brand-blue: #2B6CB0;
    --brand-green: #38A169;
    --brand-brown: #795548;
    --brand-dark: #2D3748;
    --brand-light-gray: #F7FAFC;
}

body {
    background-color: var(--brand-light-gray);
}

/* === GAYA BARU UNTUK NAVIGASI COMPACT === */
.nav-compact-item {
    display: block;
    text-decoration: none;
    color: var(--brand-dark);
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.nav-compact-item:hover {
    color: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.07);
}

.nav-compact-item i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-compact-item span {
    font-weight: 500;
}

.icon-green { color: var(--brand-green); }
.icon-blue { color: var(--brand-blue); }
.icon-brown { color: var(--brand-brown); }

/* === GAYA UNTUK FLOATING ACTION BUTTON (FAB) === */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: white;
    font-size: 2rem;
    line-height: 60px; /* Vertically center icon */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1050; /* Ensure it's above other elements */
    transition: transform 0.2s ease;
}

.fab:hover {
    color: white;
    transform: scale(1.1);
}

/* Tambahan untuk Pop-up Katalog Produk */
.product-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card-name {
    font-weight: 600;
    font-size: 0.9em;
    height: 40px; /* Pastikan tinggi konsisten */
    overflow: hidden;
}

.product-card-price {
    font-size: 1em;
    font-weight: bold;
    color: var(--brand-blue);
}