/* ==========================================
   QR CODE DIGITAL MENU SYSTEM - CUSTOMER STYLES
   ========================================== */

:root {
    --primary: #dc3545;
    --primary-dark: #b02a37;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* Dark Mode */
body.dark-mode {
    background: #1a1a2e;
    color: #e0e0e0;
}
body.dark-mode .navbar {
    background: #16213e !important;
}
body.dark-mode .card {
    background: #16213e;
    border-color: #0f3460 !important;
    color: #e0e0e0;
}
body.dark-mode .card-footer {
    background: transparent;
    border-color: #0f3460;
}
body.dark-mode .text-muted {
    color: #8892b0 !important;
}
body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode .input-group-text {
    background: #0f3460;
    border-color: #0f3460;
    color: #e0e0e0;
}
body.dark-mode .badge.bg-light {
    background: #0f3460 !important;
    color: #e0e0e0 !important;
    border-color: #0f3460 !important;
}
body.dark-mode footer {
    background: #16213e !important;
}

/* Menu Cards */
.menu-card {
    cursor: pointer;
    transition: var(--transition);
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}
.menu-card .card-img-top {
    transition: var(--transition);
}
.menu-card:hover .card-img-top {
    transform: scale(1.05);
}
.menu-card .position-relative {
    overflow: hidden;
}

/* Search */
#searchInput:focus {
    box-shadow: none;
}

/* Category Filters */
#categoryFilters {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#categoryFilters::-webkit-scrollbar {
    display: none;
}
#categoryFilters .btn {
    white-space: nowrap;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.menu-item {
    animation: fadeIn 0.4s ease forwards;
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Banner */
.hero-banner img {
    transition: var(--transition);
}

/* Responsive */
@media (max-width: 576px) {
    .hero-banner img {
        height: 180px !important;
    }
    .display-5 {
        font-size: 1.75rem;
    }
    .menu-card .card-img-top {
        height: 160px !important;
    }
}
