:root {
    --primary: #D32F2F;
    /* Vivid Red */
    --primary-dark: #B71C1C;
    --accent: #FFD700;
    /* Gold touches */
    --secondary: #388E3C;
    /* Green */
    --bg-main: #FFFFFF;
    /* White Background */
    --bg-card: #F9F9F9;
    /* Very light grey for cards */
    --text-main: #333333;
    /* Dark text */
    --text-muted: #666666;
    --border-color: #EEEEEE;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    --font-heading: 'Oleo Script', cursive;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.5);
}

.secondary-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.secondary-btn:hover {
    background: var(--primary);
    color: white;
}

.accent {
    color: var(--primary);
}

.text-gradient {
    color: var(--primary);
    /* Keep it simple red/gold for light theme */
    background: -webkit-linear-gradient(45deg, var(--primary), #FF5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Essential for absolute centering */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
    /* Keep above center element if overlap */
}

/* Perfectly Centered Banner */
.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.header-right {
    z-index: 2;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

nav a:hover {
    color: var(--primary);
}

.cart-icon {
    position: relative;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.cart-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Post-Header Spacer (to prevent content hiding behind fixed header) */
/* Hero Section */
#hero {
    height: 90vh;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), url('assets/noodles.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -60px;
    /* Slight pull up */
    padding-top: 180px;
    /* Clean spacing */
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    color: #222;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #444;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* Menu Section */
#menu {
    padding: 100px 0;
    background: #FAFAFA;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.categories {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cat-btn {
    background: white;
    border: 1px solid #ddd;
    color: var(--text-muted);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.item-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.item-info {
    padding: 25px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
}

.item-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
}

.item-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.add-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    font-size: 1rem;
}

.add-btn:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
    background: white;
    color: #444;
}

.footer-col h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.social-links a {
    color: var(--text-muted);
    margin-left: 20px;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--primary);
}

.copyright {
    color: #999;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
}

.cart-item {
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.cart-item-info h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: #333;
}

.cart-item-info span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.remove-item {
    background: #FFEBEE;
    color: #D32F2F;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.remove-item:hover {
    background: #D32F2F;
    color: white;
}

.cart-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--primary), #D32F2F);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

/* Modal */
.checkout-modal {
    background: white;
    color: #333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 20px;
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.checkout-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.close-modal {
    background: #f5f5f5;
    border: none;
    color: #555;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: #FFEBEE;
    color: var(--primary);
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
    background: #fcfcfc;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 1.1rem;
    background: var(--primary);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.3);
}

visibility: hidden;
transition: 0.3s;
backdrop-filter: blur(3px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-group input,
.form-group select {
    background: white;
    border: 1px solid #ddd;
    color: #333;
}

.form-group input:focus {
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Special Hero Button */
.hero-btn {
    background: linear-gradient(45deg, #FF512F, #DD2476);
    color: white;
    padding: 18px 45px;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(221, 36, 118, 0.4);
    transition: 0.3s;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 2px;
    display: inline-block;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(221, 36, 118, 0.6);
}


/* Live Offer Styles */
.live-offer-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    border-radius: 15px;
    margin: 0 auto 30px;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary);
    animation: slideIn 0.8s ease-out;
}

.pulse-badge {
    color: #D32F2F;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
    background: #FFEBEE;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-text {
    font-size: 1.3rem !important;
    color: #222 !important;
    margin-bottom: 0 !important;
    font-weight: 700 !important;
}

.hero-video-placeholder {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
    animation: fadeInUp 1.2s ease-out;
}

.video-overlay span {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 5;
    text-transform: uppercase;
    animation: blink 2s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}