:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --sidebar-bg: #2c3e50;
    --sidebar-active: #34495e;
    --sidebar-hover: #1a252f;
    --card-bg: #fff;
    --card-shadow: 0 4px 24px rgba(30,41,59,0.08);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --border-radius: 16px;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    background: #f8f9fa;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.7)),
                url('../images/sample-hero.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 41, 59, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 30px;
    border-radius: 16px;
    background: rgba(0,0,0,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.animate-fade-in {
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.navbar {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-primary, .btn-outline-primary {
    border-radius: 30px;
    font-size: 1.15rem;
    padding: 0.75rem 2.5rem;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 16px rgba(230,126,34,0.15);
}

.btn-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(230,126,34,0.18);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(230,126,34,0.18);
}

/* Menu Page Styles */
.menu-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* Order Page Styles */
.cart-item {
    background-color: var(--accent-color);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

/* Admin Panel Styles */
.admin-panel {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    margin-left: 250px;
}

.admin-sidebar,
.admin-sidebar * {
    background-color: var(--sidebar-bg) !important;
    color: #fff !important;
    transition: background 0.2s, color 0.2s;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    min-height: 100vh;
    width: 250px;
    padding: 32px 0 0 0;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    box-shadow: 2px 0 12px rgba(30,41,59,0.04);
    background-color: var(--sidebar-bg) !important;
    color: #fff !important;
    z-index: 1000;
}

.admin-sidebar h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    color: #fff;
    padding-left: 2rem;
}

.admin-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: 30px 0 0 30px;
    margin-bottom: 0.5rem;
    color: #fff !important;
    transition: background 0.2s, color 0.2s;
}

.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:focus {
    background: var(--sidebar-active) !important;
    color: #fff !important;
    font-weight: 600;
}

.admin-sidebar .nav-link:hover {
    background: var(--sidebar-hover) !important;
    color: #fff !important;
}

.admin-sidebar .nav-link.text-danger {
    color: #ff6b6b !important;
}

.admin-sidebar .nav-link.text-danger:hover {
    background: #fff0f0 !important;
    color: #c1121f !important;
}

/* Sidebar Icons */
.admin-sidebar .nav-link::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    width: 1.2em;
    text-align: center;
}

.admin-sidebar .nav-link[href*='index.php']::before { content: '\f015'; } /* fa-home */
.admin-sidebar .nav-link[href*='menu.php']::before { content: '\f2e7'; } /* fa-utensils */
.admin-sidebar .nav-link[href*='categories.php']::before { content: '\f03a'; } /* fa-list */
.admin-sidebar .nav-link[href*='images.php']::before { content: '\f302'; } /* fa-images */
.admin-sidebar .nav-link[href*='orders.php']::before { content: '\f07a'; } /* fa-shopping-cart */
.admin-sidebar .nav-link[href*='logout.php']::before { content: '\f2f5'; } /* fa-sign-out-alt */

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: none;
    margin-bottom: 2rem;
}

.card-title {
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-primary, .btn-success, .btn-danger {
    border-radius: 30px;
    font-size: 1.1rem;
    padding: 0.6rem 2rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(230,57,70,0.08);
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-2px) scale(1.04);
}

.btn-success {
    background-color: #43aa8b;
    border-color: #43aa8b;
}

.btn-success:hover {
    background-color: #388e6c;
    border-color: #388e6c;
}

.btn-danger {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

.btn-danger:hover {
    background-color: #c1121f;
    border-color: #c1121f;
}

.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
}

.table th, .table td {
    vertical-align: middle;
}

/* Responsive Admin Panel */
@media (max-width: 991px) {
    .admin-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
        height: auto;
        border-radius: 0;
        padding: 16px 0 0 0;
    }
    .admin-sidebar h3 {
        padding-left: 1rem;
    }
    .admin-sidebar .nav-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        min-height: auto;
        border-radius: 0;
        padding: 8px 0 0 0;
    }
    .admin-sidebar h3 {
        font-size: 1.2rem;
        padding-left: 0.5rem;
    }
    .admin-sidebar .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.5rem;
    }
    .card {
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    .hero-content {
        padding: 30px 10px;
    }
    .display-3 {
        font-size: 2.2rem;
    }
}

/* Spicy Level Indicators */
.spicy-indicator {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.menu-item .spicy-indicator {
    background: rgba(255, 87, 34, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

.spicy-indicator:hover {
    background: rgba(255, 87, 34, 0.2);
    transition: background 0.3s ease;
}

/* Spicy level colors in admin table */
.text-success {
    color: #28a745 !important;
}

/* Cart notification */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Cart count badge */
.cart-count {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

@media (max-width: 991px) {
    .admin-panel {
        margin-left: 0;
    }
}

.sidebar-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 10px auto;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}
.sidebar-logo-circle i {
    color: #3498db;
    font-size: 2rem;
}
.sidebar-title {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.sidebar-subtitle {
    color: #b0b8c1;
    font-size: 0.95rem;
} 