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

:root {
    --color-primary: #e53935; /* Red from food truck */
    --color-accent: #ffeb3b; /* Gold/Yellow accent */
    --color-surface: #1a1a1a;
    --color-surface-elevated: #2a2a2a;
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-surface);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

#app {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-y: auto; /* Allow scrolling for content */
    perspective: 1px; /* For parallax */
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.overlay {
    position: relative;
    z-index: 1;
}

.glass-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--glass-shadow);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.glass-nav .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-primary);
}

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

.glass-nav ul li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.glass-nav ul li a:hover {
    color: var(--color-accent);
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    color: var(--color-text);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button.primary {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    color: var(--color-surface);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

.button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(229, 57, 53, 0.4);
}

.button.secondary {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--color-text);
    backdrop-filter: blur(5px);
}

.button.secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--color-surface-elevated);
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--glass-shadow);
}

.section h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--glass-shadow);
}

.menu-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.menu-item p {
    color: var(--color-text-muted);
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--color-text-muted);
    background-color: var(--color-surface);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-nav {
        flex-direction: column;
        padding: 1rem;
    }

    .glass-nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .button {
        width: 80%;
        margin: 0 auto;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section h2 {
        font-size: 2.5rem;
    }
}
