/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Poppins:wght@300;400;600;700&display=swap');

/* --- Brand Variables & Theme Colors --- */
:root {
    /* Brand Colors */
    --brand-red: #D32F2F;      /* Appetizing, punchy red */
    --brand-red-hover: #B71C1C;
    --brand-yellow: #FFC107;   /* Fast-food energetic yellow */
    
    /* Mild Dark / Light Theme Colors */
    --bg-dark: #222222;        /* Mild Dark */
    --bg-darker: #1A1A1A;      /* Deep Dark for Footer */
    --bg-card-dark: #333333;   /* Elevated dark cards */
    --bg-light: #F8F9FA;       /* Clean Off-White */
    --white: #FFFFFF;
    
    /* Text Colors */
    --text-light: #F1F1F1;
    --text-dark: #222222;
    --text-muted-light: #AAAAAA;
    --text-muted-dark: #666666;

    --transition: 0.3s ease-in-out;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark); /* Base is Mild Dark */
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.text-center { text-align: center; }

/* Light Theme Utility Class */
.bg-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* --- Top Promo Bar --- */
.top-promo {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    text-align: center;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--bg-darker);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--brand-red);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container a { text-decoration: none; color: var(--white); }
.logo-container h1 { font-size: 2rem; color: var(--brand-yellow); letter-spacing: 1px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-yellow);
}

/* Buttons */
.btn-order-nav, .btn-primary, .btn-secondary, .btn-add {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-order-nav {
    background-color: var(--brand-red);
    color: var(--white);
    padding: 10px 25px;
    font-size: 1rem;
    letter-spacing: 1px;
}
.btn-order-nav:hover { background-color: var(--brand-red-hover); transform: scale(1.05); }

/* Hamburger Menu */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; background: var(--white); height: 3px; width: 25px; position: relative; transition: var(--transition); border-radius: 2px;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ''; position: absolute; }
.nav-toggle-label span::before { bottom: 8px; }
.nav-toggle-label span::after { top: 8px; }

/* --- Hero Section (Dark Theme overlay) --- */
#hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 60px 5%;
    gap: 40px;
    background: radial-gradient(circle at center, #333333 0%, var(--bg-darker) 100%);
}

.hero-content { flex: 1; }
.hero-image { flex: 1; text-align: center; }

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: rotate(-2deg);
    transition: var(--transition);
}
.hero-image img:hover { transform: rotate(0deg) scale(1.02); }

.hero-content h2 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}
.hero-content h2 span { color: var(--brand-yellow); }

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons { display: flex; gap: 15px; }

.btn-primary { background: var(--brand-red); color: var(--white); padding: 15px 35px; font-size: 1.1rem; border: none; }
.btn-primary:hover { background: var(--brand-red-hover); }

.btn-secondary { background: transparent; color: var(--brand-yellow); border: 2px solid var(--brand-yellow); padding: 13px 35px; font-size: 1.1rem; }
.btn-secondary:hover { background: var(--brand-yellow); color: var(--bg-dark); }

/* --- Menu Categories (Mild Dark Theme) --- */
#categories { padding-top: 100px; padding-bottom: 100px; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--bg-card-dark);
    padding-bottom: 10px;
}
.view-all { color: var(--brand-yellow); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; transition: var(--transition); }
.view-all:hover { color: var(--white); padding-right: 5px; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cat-card {
    background: var(--bg-card-dark);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid transparent;
}

.cat-card:hover { transform: translateY(-8px); border-color: var(--brand-red); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

.cat-img { width: 100%; height: 180px; overflow: hidden; border-radius: 6px; margin-bottom: 15px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s ease; }
.cat-card:hover .cat-img img { transform: scale(1.1); }

.cat-card h3 { font-size: 1.4rem; letter-spacing: 1px; }

/* --- Bestsellers (Light Theme Section) --- */
#bestsellers { padding: 100px 5%; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #EAEAEA;
    display: flex;
    flex-direction: column;
}

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

.product-img { position: relative; height: 250px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.badge-spicy, .badge-bestseller {
    position: absolute;
    top: 15px; left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-spicy { background: var(--brand-red); color: var(--white); }
.badge-bestseller { background: var(--brand-yellow); color: var(--text-dark); }

.product-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 10px; }
.product-info p { color: var(--text-muted-dark); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #EAEAEA;
    padding-top: 15px;
}

.price { font-family: 'Oswald', sans-serif; font-size: 1.8rem; color: var(--brand-red); font-weight: 700; }

.btn-add {
    background: var(--brand-yellow);
    color: var(--text-dark);
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
}
.btn-add:hover { background: var(--text-dark); color: var(--brand-yellow); }

/* --- Location Banner (Mild Dark Theme) --- */
#location-banner {
    background: var(--bg-card-dark);
    margin: 80px 5%;
    border-radius: 16px;
    overflow: hidden;
}

.location-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.location-text { flex: 1; padding: 60px 8%; min-width: 300px; }
.location-text h2 { font-size: 3rem; color: var(--brand-yellow); margin-bottom: 15px; }
.location-text p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 25px; }

.address-box {
    background: var(--bg-darker);
    padding: 20px;
    border-left: 4px solid var(--brand-red);
    border-radius: 4px;
    margin-bottom: 30px;
}
.address-box p { margin: 0; color: var(--white); font-size: 1rem; }

.location-image { flex: 1; min-width: 300px; height: 100%; min-height: 450px; }
.location-image img { width: 100%; height: 100%; object-fit: cover; }

/* --- Footer (Deep Dark) --- */
footer { background: var(--bg-darker); color: var(--text-muted-light); padding: 80px 5% 30px; border-top: 5px solid var(--brand-red); }
.footer-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 50px; }

.footer-logo { font-size: 2rem; color: var(--white); margin-bottom: 15px; }
.footer-col h4 { color: var(--brand-yellow); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p { margin-bottom: 10px; font-size: 0.95rem; }

.website-link a, .footer-col a { color: var(--white); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--brand-red); }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted-light); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 30px; font-size: 0.85rem; color: #777; }

/* --- Mobile Responsive Rules --- */
@media (max-width: 992px) {
    /* Hamburger Activation */
    .nav-toggle-label { display: block; margin-right: 15px; }
    
    nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--bg-darker);
        max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;
        border-bottom: 2px solid var(--brand-red);
    }
    
    .nav-links { flex-direction: column; align-items: center; padding: 0; margin: 20px 0; gap: 20px; }
    .nav-toggle:checked ~ nav { max-height: 350px; padding-bottom: 20px; }
    
    .header-actions { display: none; } /* Hide order button in header on mobile to save space */

    /* Layout Adjustments */
    #hero { flex-direction: column; text-align: center; padding-top: 60px; }
    .hero-content h2 { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
    .hero-image img { max-width: 100%; transform: rotate(0); margin-top: 30px; }
    
    .section-header { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
    
    .location-content { flex-direction: column; }
    .location-text { text-align: center; padding: 40px 5%; }
    .address-box { text-align: left; }
}

@media (max-width: 600px) {
    .container { padding: 60px 5%; }
    .product-grid, .category-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; }
}