/* ===== MALAYSIAN FOOD THEME ===== */
:root {
  --rendang-brown: #8B4513;      /* Rich brown like rendang */
  --sambal-red: #C41E3A;         /* Warm red like sambal */
  --turmeric-gold: #FFC72C;       /* Golden yellow like turmeric */
  --pandan-green: #3A7734;        /* Fresh green like pandan */
  --coconut-cream: #FFF8E7;       /* Creamy white like coconut milk */
  --kerisik-brown: #6B4423;       /* Toasted coconut brown */
  --serai-light: #F5E6D3;         /* Light lemongrass color */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--serai-light);
    color: #2C1810;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Inspired by Rendang */
header {
    background: linear-gradient(135deg, var(--rendang-brown) 0%, var(--kerisik-brown) 100%);
    color: var(--coconut-cream);
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    border-bottom: 3px solid var(--turmeric-gold);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: var(--turmeric-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
    color: var(--coconut-cream);
}

/* Hero Section - Inspired by Nasi Lemak */
.hero {
    background: linear-gradient(rgba(255, 248, 231, 0.95), rgba(255, 248, 231, 0.95)), 
                url('https://images.unsplash.com/photo-1604329760661-e71dc83f8f26?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
    border: 2px solid var(--turmeric-gold);
}

.hero h2 {
    color: var(--rendang-brown);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 199, 44, 0.2);
}

.hero p {
    color: var(--kerisik-brown);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.qr-placeholder {
    display: inline-block;
    background: var(--coconut-cream);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    border: 2px solid var(--turmeric-gold);
}

.qr-code {
    width: 180px;
    height: 180px;
    background: var(--serai-light);
    border: 3px dashed var(--sambal-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.qr-code i {
    font-size: 5rem;
    color: var(--sambal-red);
    opacity: 0.8;
}

/* Categories */
.categories {
    margin: 3rem 0 2rem;
}

.categories h2 {
    font-size: 2rem;
    color: var(--rendang-brown);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid var(--turmeric-gold);
    padding-bottom: 10px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--sambal-red);
    background: var(--coconut-cream);
    color: var(--sambal-red);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--sambal-red);
    color: var(--coconut-cream);
    border-color: var(--sambal-red);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 4rem;
}

.menu-item {
    background: var(--coconut-cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--turmeric-gold);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(196, 30, 58, 0.2);
    border-color: var(--sambal-red);
}

.menu-item-image {
    height: 180px;
    background: linear-gradient(45deg, var(--rendang-brown) 0%, var(--sambal-red) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coconut-cream);
    font-size: 4rem;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    font-size: 1.4rem;
    color: var(--rendang-brown);
    margin-bottom: 10px;
}

.menu-item p {
    color: var(--kerisik-brown);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.menu-item-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pandan-green);
}

.add-to-cart {
    background: var(--sambal-red);
    color: var(--coconut-cream);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--sambal-red);
}

.add-to-cart:hover {
    background: var(--rendang-brown);
    border-color: var(--rendang-brown);
}

.add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    border-color: #ccc;
}

/* Loading */
.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--kerisik-brown);
}

.loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--sambal-red);
}

/* Cart Button - Inspired by Sambal */
.cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
    z-index: 1000;  /* Higher than footer */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: var(--rendang-brown);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--turmeric-gold);
    color: var(--rendang-brown);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coconut-cream);
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(107, 68, 35, 0.5);
    z-index: 998;
    display: none;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: var(--coconut-cream);
    z-index: 999;
    box-shadow: -5px 0 25px rgba(139, 69, 19, 0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--turmeric-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--serai-light);
}

.cart-header h3 {
    color: var(--rendang-brown);
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--sambal-red);
}

.cart-items {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--turmeric-gold);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--sambal-red);
    background: var(--coconut-cream);
    color: var(--sambal-red);
    cursor: pointer;
    font-weight: bold;
}

.cart-item button:hover {
    background: var(--sambal-red);
    color: var(--coconut-cream);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--turmeric-gold);
    background: var(--serai-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--rendang-brown);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--pandan-green);
    color: var(--coconut-cream);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 1px solid var(--pandan-green);
}

.checkout-btn:hover {
    background: #2d5a28;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(107, 68, 35, 0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal {
    background: var(--coconut-cream);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.3);
    border: 3px solid var(--turmeric-gold);
}

.modal h3 {
    color: var(--pandan-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.close-modal {
    margin-top: 1.5rem;
    padding: 12px 30px;
    background: var(--sambal-red);
    color: var(--coconut-cream);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.close-modal:hover {
    background: var(--rendang-brown);
}

/* Table Banner */
.table-banner {
    background: var(--rendang-brown);
    color: var(--coconut-cream);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    border-bottom: 3px solid var(--turmeric-gold);
}

.table-banner button {
    background: rgba(255, 248, 231, 0.2);
    color: var(--coconut-cream);
    border: 1px solid var(--turmeric-gold);
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.table-banner button:hover {
    background: rgba(255, 199, 44, 0.3);
}

/* AI Recommendations Styles */
.recommendations-section {
    background: linear-gradient(135deg, var(--serai-light) 0%, #faf0e0 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--turmeric-gold);
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    position: relative;
}

.rec-header h3 {
    color: var(--rendang-brown);
    font-size: 1.5rem;
    margin: 0;
}

.rec-badge {
    background: var(--sambal-red);
    color: var(--coconut-cream);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    position: absolute;
    right: 0;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.rec-item {
    background: var(--coconut-cream);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
}

.rec-item:hover {
    transform: translateY(-5px);
    border-color: var(--sambal-red);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.2);
}

.rec-rank {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--sambal-red);
    color: var(--coconut-cream);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(196, 30, 58, 0.3);
    border: 2px solid var(--turmeric-gold);
}

.rec-item h4 {
    margin: 0.5rem 0;
    color: var(--rendang-brown);
}

.rec-item p {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--pandan-green);
    margin: 0.5rem 0;
}

.rec-orders {
    font-size: 0.8rem;
    color: var(--kerisik-brown);
    background: var(--serai-light);
    padding: 2px 8px;
    border-radius: 12px;
}

.popular-badge {
    display: inline-block;
    background: var(--turmeric-gold);
    color: var(--rendang-brown);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.popular-badge i {
    margin-right: 4px;
    animation: flame 1s ease-in-out infinite;
}

@keyframes flame {
    0%, 100% { color: var(--sambal-red); }
    50% { color: var(--turmeric-gold); }
}


/* ===== UPDATED HERO SECTION ===== */
.hero {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: white;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    color: white;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.feature-item i {
    font-size: 1.5rem;
    color: #FFD700;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.qr-container {
    animation: fadeInUp 1s ease 0.6s both;
    margin-bottom: 2rem;
}

.qr-code-modern {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
    transition: transform 0.3s ease;
}

.qr-code-modern:hover {
    transform: scale(1.05);
}

.qr-code-modern i {
    font-size: 3.5rem;
    color: #000000;
}

.qr-container p {
    font-size: 1rem;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-cta:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);
    border-color: white;
}

/* Add a smooth scroll to menu */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 0.8rem 1.2rem;
    }
    
    .feature-item i {
        font-size: 1.2rem;
    }
    
    .feature-item span {
        font-size: 0.8rem;
    }
}








/* Make sure footer has lower z-index than cart button */
.page-footer {
    position: relative;
    z-index: 100;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    margin-top: 2rem;
}

/* Cart button - HIGHEST z-index */
.cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
    z-index: 1000;  /* Higher than footer */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: #283593;
    transform: scale(1.1);
}

/* Chat toggle button */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
    z-index: 1000;
    font-size: 24px;
    transition: transform 0.3s;
}

/* Chat widget */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 1001;  /* Even higher when open */
    overflow: hidden;
}










/* ===== HERO SECTION UPDATES ===== */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: #1a237e;
    color: white;
}

.hero-btn-primary:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);
    border-color: white;
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
    background: white;
    color: #1a237e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-btn i {
    font-size: 1.2rem;
}

/* Track Order Button (for Option 2) */
.hero-track-btn {
    display: inline-block;
    margin: 1rem auto 2rem;
    padding: 0.8rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-track-btn:hover {
    background: white;
    color: #1a237e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-track-btn i {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}


















/* Popular Items Section */
.popular-section {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8d9 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid #ff9800;
}

.popular-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.popular-header i {
    font-size: 2rem;
    color: #ff5722;
    animation: flame 1s ease-in-out infinite;
}

.popular-header h3 {
    font-size: 1.5rem;
    color: #ff5722;
    margin: 0;
}

.ai-badge {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.popular-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #ff9800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.popular-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.2);
    border-color: #ff5722;
}

.popular-rank {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #ff5722;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.popular-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.popular-image i {
    font-size: 3rem;
    color: #ff9800;
}

.popular-info h4 {
    margin: 0.5rem 0 0.2rem;
    color: #333;
}

.popular-info p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2e7d32;
    margin: 0;
}

.popular-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-top: 0.5rem;
}

@keyframes flame {
    0%, 100% { color: #ff5722; transform: scale(1); }
    50% { color: #ff9800; transform: scale(1.1); }
}







/* ===== FIXED FOOTER STYLES ===== */
body {
    margin: 0;
    padding: 0;
    padding-bottom: 90px; /* Space for fixed footer */
}

/* Fixed Footer - Always at bottom */
.page-footer {
    position: relative;
    z-index: 100;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    margin-top: 2rem;
}


.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
}

.footer-links a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-links a i {
    font-size: 0.85rem;
}

.footer-copyright {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 5px;
}

.home-btn {
    background: #ff9800;
    color: #1a237e !important;
    font-weight: bold;
}

.home-btn:hover {
    background: #ff5722;
    color: white !important;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 110px;
    }
    
    .footer-links {
        gap: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}















/* Instructions Modal */
.instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

.instructions-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.instructions-modal-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a237e;
    border-radius: 15px 15px 0 0;
}

.instructions-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.instructions-modal-header .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.instructions-modal-header .modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.instructions-modal-body {
    padding: 1.5rem;
}

.instructions-modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.instructions-modal-body textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}

.instructions-modal-body textarea:focus {
    border-color: #1a237e;
    outline: none;
}

.instruction-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #888;
}

.instructions-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.instructions-modal-footer button {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.instructions-modal-footer .btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.instructions-modal-footer .btn-cancel:hover {
    background: #e0e0e0;
}

.instructions-modal-footer .btn-add {
    background: #1a237e;
    color: white;
}

.instructions-modal-footer .btn-add:hover {
    background: #283593;
    transform: translateY(-1px);
}






.order-type-selector {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.order-type-option {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.order-type-option.selected {
    border-color: #1a237e;
    background: #e8eaf6;
}

.order-type-option i {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 0.5rem;
    display: block;
}

.order-type-option span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.order-type-option small {
    font-size: 0.7rem;
    color: #666;
}