:root {
    --primary: #FF6B00;
    --primary-light: #FF8533;
    --secondary: #1A1A1A;
    --accent: #FFB300;
    --bg-light: #F5F5F7;
    --text-dark: #2D2D2D;
    --text-light: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Festive Greeting Banner */
.festive-banner {
    position: fixed;
    top: 80px;
    width: 100%;
    height: 50px;
    z-index: 999;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.festive-banner-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    align-items: center;
}

.festive-message {
    font-size: 1rem;
    font-weight: 500;
    padding: 18px 3rem 0 3rem;
    letter-spacing: 1px;
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Festive Banner */
@media (max-width: 768px) {
    .festive-banner {
        top: 70px;
        padding: 0.8rem 0;
    }
    
    .festive-message {
        font-size: 1rem;
        padding: 0 2rem;
    }
    
    .festive-banner-content {
        animation: scroll-left 20s linear infinite;
    }
}

@media (max-width: 480px) {
    .festive-banner {
        top: 65px;
        padding: 0.7rem 0;
    }
    
    .festive-message {
        font-size: 0.85rem;
        padding: 0 1.5rem;
    }
    
    .festive-banner-content {
        animation: scroll-left 15s linear infinite;
    }
}

.brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-btn {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1610192244261-3f33de3f55e4?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 10%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

/* Sections */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 2rem 10%;
    text-align: left;
}

.footer {
    color: white;
    padding: 1rem 1%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 2fr;
    gap: 0.5rem;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-10px);
}

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

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.menu-item-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.special-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.sold-out-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
}

.low-stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f39c12;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.4s ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav { display: none; }
    .cart-drawer { width: 100%; right: -100%; }
}

/* Hero Background Slideshow */
.hero-slideshow {
    position: relative;
    background-size: cover;
    background-position: center;
    animation: heroSlideshow 30s infinite;
}

.hero-slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-slideshow h1,
.hero-slideshow p,
.hero-slideshow .btn-primary {
    position: relative;
    z-index: 2;
}

@keyframes heroSlideshow {
    0%, 16.66% {
        background-image: url('/Images/banners/idlichutney.jpg');
    }
    16.67%, 33.33% {
        background-image: url('/Images/banners/masaladosa.jpg');
    }
    33.34%, 50% {
        background-image: url('/Images/banners/medhuvada.jpg');
    }
    50.01%, 66.66% {
        background-image: url('/Images/banners/paneerbuttermasala.jpg');
    }
    66.67%, 83.33% {
        background-image: url('/Images/banners/parappuvada.jpg');
    }
    83.34%, 100% {
        background-image: url('/Images/banners/plaindosa.jpg');
    }
}
