:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-primary: #ffffff;
    --color-secondary: #888888;
    --color-accent: #333333;
    --color-highlight: #ffffff;
    --color-header-bg: rgba(10, 10, 10, 0.9);
    --color-card-bg: #1a1a1a;
    --overlay-color: rgba(0, 0, 0, 0.85);

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-primary: #000000;
    --color-secondary: #222222;
    --color-accent: #f5f5f5;
    --color-card-bg: #ffffff;
    --color-header-bg: rgba(255, 255, 255, 0.98);
    --overlay-color: rgba(255, 255, 255, 0.9);
    --color-highlight: #000000;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
    font-weight: 300;
}

.highlight {
    background: linear-gradient(90deg, #ffffff, #888888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

[data-theme="light"] .highlight {
    background: linear-gradient(90deg, #444444, #0a0a0a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: none;
    /* Ensure it's sharp */
}

.mobile-only {
    display: none;
}

.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.cta-button.secondary {
    background-color: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-text);
}

.cta-button.secondary:hover {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Force fixed height for stability */
    background-color: var(--color-header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Light Mode Header */
[data-theme="light"] .header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Ensure container fills the header width */
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    /* Increased from 12px */
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--color-primary);
}

.brand-logo-img {
    height: 48px;
    width: 48px;
    /* Force aspect ratio for stability */
    object-fit: contain;
    border-radius: 4px;
    transition: var(--transition);
}

[data-theme="light"] .brand-logo-img {
    filter: invert(1);
    /* Ensure white-based logo is visible in light mode */
}

.nav-list {
    display: flex;
    gap: 4rem;
    /* Even more space for maximum clarity */
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Light Mode Navigation Links */
[data-theme="light"] .nav-link {
    color: #666666;
}

[data-theme="light"] .nav-link:hover {
    color: #000000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    /* Increased from 12px */
}

.header-cta {
    padding: 8px 24px;
    font-size: 0.8rem;
}

/* Theme Toggle Slider */
.theme-toggle {
    width: 56px;
    height: 28px;
    background-color: var(--color-accent);
    border: 1px solid var(--color-secondary);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    z-index: 10;
}

.theme-icon {
    font-size: 0.9rem;
    line-height: 1;
    z-index: 1;
    transition: var(--transition);
    user-select: none;
}

.moon-icon {
    opacity: 1;
}

.sun-icon {
    opacity: 0.3;
}

.theme-toggle-dot {
    position: absolute;
    left: 4px;
    width: 20px;
    height: 20px;
    background-color: var(--color-text);
    border-radius: 50%;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .theme-toggle-dot {
    transform: translateX(28px);
    background-color: var(--color-highlight);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .theme-toggle {
    background-color: #e0e0e0;
    border-color: var(--color-highlight);
}

[data-theme="light"] .moon-icon {
    opacity: 0.3;
}

[data-theme="light"] .sun-icon {
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background-image: linear-gradient(var(--overlay-color), var(--overlay-color)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 0.3s ease;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 10px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2), 0 0 5px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .hero-subtitle {
    text-shadow: none;
    color: var(--color-secondary);
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.menu-card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-highlight);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .menu-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
}

.menu-image-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

.menu-card:hover .menu-image {
    transform: scale(1.1);
}

.menu-info {
    padding: var(--spacing-md);
}

.menu-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.menu-info p {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.menu-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text);
}

.extra-product {
    display: none;
}

.extra-product.show {
    display: block;
}

.menu-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Slightly wider text side for the long title */
    gap: var(--spacing-lg);
    align-items: center;
}

.section-title.left {
    text-align: left;
    font-size: 2.5rem;
    /* Reduced from 3rem to fit the new long sentence better */
    line-height: 1.2;
}

.about-image-side {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    animation: glow-pulse 4s infinite alternate;
}

@keyframes glow-pulse {
    from {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    }

    to {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
    }
}

[data-theme="light"] .about-image-side {
    animation: glow-pulse-light 4s infinite alternate;
}

@keyframes glow-pulse-light {
    from {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    }

    to {
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
    }
}

.about-image-container {
    height: 500px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.about-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: var(--transition);
}

[data-theme="light"] .about-image-container {
    background: var(--color-bg);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .about-image {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    /* Remove invert, keep white logo on black */
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.info-item p {
    color: var(--color-secondary);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 400px;
    position: relative;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.8;
}

.map-container:hover .map-image {
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

/* Modal / Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    animation: zoom 0.3s forwards;
}

@keyframes zoom {
    from {
        transform: scale(0.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Menu Viewer Carousel */
.menu-viewer {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.menu-viewer.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-img-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#full-menu-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius);
}

.menu-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 5rem;
    cursor: pointer;
    padding: 20px;
    z-index: 3001;
}

.menu-nav-btn.prev {
    left: 20px;
}

.menu-nav-btn.next {
    right: 20px;
}

.menu-viewer-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 3002;
}

.menu-counter {
    margin-top: 15px;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: rgba(10, 10, 10, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 999;
    }

    /* Light Mode Mobile Navigation */
    [data-theme="light"] .nav {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

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

    .mobile-only {
        display: block;
    }

    .header-actions {
        gap: 12px;
    }

    .header-cta {
        display: none !important;
        /* Force hide on mobile to prevent overlapping */
    }

    /* Show Order Now in Mobile Menu instead */
    .nav-list::after {
        content: "";
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        width: 50%;
        margin: 10px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }

    .section-title.left {
        text-align: center;
        font-size: 2rem;
    }

    .about-image-container {
        height: 350px;
    }

    .contact-info {
        gap: var(--spacing-md);
    }

    .map-container {
        height: 300px;
    }

    .hero {
        height: 60vh;
        /* Shorter hero on mobile for faster scrolling to menu */
        background-image: none !important;
        /* Hide background image on mobile */
        background-color: var(--color-bg);
        /* Use solid background color instead */
        background-attachment: fixed;
        /* Re-enable parallax effect on mobile */
        background-position: center center;
        background-size: cover;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

/* Very Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .logo {
        font-size: 1.2rem;
        gap: 8px;
    }

    .brand-logo-img {
        height: 36px;
        width: 36px;
    }
}