/* =========================================
   1. VARIABLES & SETUP
   ========================================= */
:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-surface: #121212;
    --bg-surface-hover: #1e1e1e;
    --bg-overlay: rgba(0, 0, 0, 0.7);

    --primary: #FFD700;
    /* Gold/Yellow for premium feel */
    --accent: #FF8C00;
    /* Vibrant Orange for food appetite */
    --accent-hover: #e07b00;

    --text-main: #FFFFFF;
    --text-muted: #B3B3B3;
    --text-dark: #121212;

    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* =========================================
   2. RESET & BASE
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   3. UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 4rem 0;
}

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

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.grid {
    display: grid;
    gap: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--text-main);
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    /* Slight round, mostly sharp */
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* =========================================
   4. COMPONENT: CARDS (Glassmorphism/Dark)
   ========================================= */
.card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

/* =========================================
   5. HEADER & NAV
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
    padding: 1rem 0;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(255,255,255,0.1); */
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on navbar height */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

/* =========================================
   6. HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)), url('/assets/images/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* =========================================
   7. SECTIONS (Offer, Categories, Testimonials)
   ========================================= */
/* Offer of the Day */
.offer-of-day {
    background: var(--bg-surface);
    border-top: 4px solid var(--accent);
    text-align: center;
}

.offer-of-day h2 {
    color: var(--primary);
    font-size: 2.5rem;
}

.offer-of-day img {
    max-height: 300px;
    width: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Menu Categories */
.menu-categories {
    background: var(--bg-dark);
}

.category-card {
    position: relative;
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.category-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.category-card:hover img {
    filter: brightness(1.1);
}

.category-card h4 {
    font-size: 1.5rem;
    margin: 0;
}

/* =========================================
   8. MENU PAGE SPECIFIC
   ========================================= */
.menu-nav {
    position: sticky;
    top: 80px;
    /* Below header */
    background: var(--bg-dark);
    z-index: 900;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.category-scroll::-webkit-scrollbar {
    height: 4px;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
}

.category-scroll a {
    padding: 0.5rem 1.2rem;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    white-space: nowrap;
}

.category-scroll a:hover,
.category-scroll a.active {
    background: var(--accent);
    color: var(--text-main);
    border-color: var(--accent);
}

/* Menu Items Grid */
.menu-category h2 {
    font-size: 2.5rem;
    color: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.item-list li {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.item-list li strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-main);
}

.item-list li p {
    color: var(--text-muted);
    font-size: 0.95rem;
    width: 100%;
    margin-top: 0.5rem;
}

.item-list li span {
    color: var(--accent);
    font-weight: bold;
    font-family: var(--font-heading);
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background: var(--bg-surface);
    color: var(--text-muted);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   10. MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu hidden by default */
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 4rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .category-boxes {
        grid-template-columns: 1fr;
    }

    .item-list li {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   11. NEW HOMEPAGE SECTIONS
   ========================================= */

/* Fan Favorites */
.favorite-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 350px;
}

.favorite-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.favorite-card:hover img {
    transform: scale(1.1);
}

.fav-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.favorite-card:hover .fav-content {
    transform: translateY(0);
}

.fav-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.fav-content p {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.favorite-card:hover .fav-content p {
    opacity: 1;
}

.btn-text {
    color: var(--accent);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Why Choose Us */
.feature-box {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    background: var(--bg-surface-hover);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

/* Parallax Effect */
.parallax-bg {
    background-image: url('../images/hero.png');
    /* Fallback or specific image */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay */
    z-index: 1;
}

.parallax-bg .container {
    position: relative;
    z-index: 2;
}

/* Micro-interaction: Pulse */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.btn-primary.pulse {
    animation: pulse-gold 2s infinite;
}