:root {
    --bg-color: hsl(220, 20%, 6%);
    --bg-surface: hsla(220, 20%, 10%, 0.7);
    --gold: hsl(43, 74%, 49%);
    --gold-light: hsl(43, 80%, 65%);
    --gold-dim: hsla(43, 74%, 49%, 0.15);
    --text-main: hsl(0, 0%, 95%);
    --text-muted: hsl(220, 10%, 75%);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: none;
    /* Custom cursor */
}

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

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold-light);
    transition: width 0.2s, height 0.2s;
}

/* Glassmorphism Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: hsla(220, 20%, 6%, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid hsla(43, 74%, 49%, 0.1);
    z-index: 1000;
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: hsla(220, 20%, 6%, 0.9);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-light);
}

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

/* Ambient Background */
.background-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, hsla(43, 74%, 49%, 0.03) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    animation: pulse 15s infinite alternate;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(14, 18, 25, 0.4), rgba(14, 18, 25, 1)), url('/images/hero-bg.png') center/cover no-repeat;
    position: relative;
    border-bottom: 1px solid var(--gold-dim);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 10;
}

.restaurant-name {
    font-family: var(--font-heading);
    font-size: 6vw;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: slideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-main);
    font-style: italic;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.6s forwards;
    margin-bottom: 3rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.discover-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeIn 1.2s ease 1s forwards;
    position: relative;
    overflow: hidden;
}

.discover-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.discover-btn:hover {
    color: var(--bg-color);
}

.discover-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Menu Container */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    min-height: 80vh;
}

/* Loaders */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loader-circle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-dim);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Menu Section */
.menu-section {
    margin-bottom: 7rem;
    scroll-margin-top: 100px;
}

/* Initially hidden for scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    text-transform: capitalize;
    letter-spacing: 2px;
    font-style: italic;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.items-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 850px) {
    .items-container {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

/* Menu Items (Glassmorphism Cards) */
.menu-item {
    background: var(--bg-surface);
    border: 1px solid hsla(43, 74%, 49%, 0.08);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s ease;
}

.menu-item:hover {
    transform: translateY(-8px);
    border-color: hsla(43, 74%, 49%, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.menu-item:hover::before {
    height: 100%;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.8rem;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-main);
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu-item:hover .item-name {
    color: var(--gold-light);
}

.item-dots {
    flex-grow: 1;
    border-bottom: 1px dotted var(--gold-dim);
    margin: 0 1rem 0.4rem;
}

.item-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
}

.item-extra {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--gold-dim);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

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

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-socials a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--gold);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .restaurant-name {
        font-size: 12vw;
    }

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

    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-dots {
        display: none;
    }

    .item-price {
        margin-top: 0.5rem;
    }

    /* Disable custom cursor on mobile */
    * {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}