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

:root {
    /* Brand Colors */
    --primary-color: #FFD700;
    --primary-hover: #FFC000;
    --secondary-color: #121212;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;

    /* Backgrounds */
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(20, 20, 20, 0.6);

    /* Effects */
    --backdrop-blur: 16px;
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-glass: 0 4px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.02) 0%, transparent 40%);
    color: var(--text-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

/* --- Utilities --- */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border: var(--border-glass);
    box-shadow: var(--shadow-glass);
}

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

.bg-gold {
    background-color: var(--primary-color) !important;
}

/* --- Navbar --- */
.navbar {
    background: rgba(5, 5, 5, 0.85);
    /* Slightly clearer for nav */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand .fw-bold {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #FFD700, #FFF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.navbar-brand .tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: -2px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    /* Prevent flash */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.4), var(--bg-dark)), url('banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #E0E0E0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.hero p.lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* --- Menu Sections --- */
.menu-category h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.menu-category h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Cards */
.menu-item-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 0;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.menu-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.3);
}

.menu-item-card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Buttons */
.add-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.remove-btn {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition);
}

.remove-btn:hover {
    background: #dc3545;
    color: white;
}

/* Accordion */
.accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 !important;
}

.accordion-button {
    background: transparent;
    color: var(--text-primary);
    padding: 1.5rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary-color);
}

.accordion-button::after {
    filter: invert(1) brightness(2);
    transition: var(--transition);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(1.2) contrast(1);
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1rem 0 2rem 0;
}

/* Cart Utility */
.cart-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.4rem;
    border: 4px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}

.cart-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF3B30;
    color: white;
    font-size: 0.75rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--bg-dark);
}

/* Modal */
.modal-content {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.btn-close {
    filter: invert(1);
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    padding: 0.8rem;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    margin-top: 8rem;
    padding: 5rem 0 2rem;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
}

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

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animations for list items handled in JS or CSS nth-child if static */
/* For now, scroll observer handles visibility */
.visible {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        background-attachment: scroll;
        /* Performance on mobile */
    }

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

    .hero p.lead {
        font-size: 1rem;
    }

    .menu-category h2 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .card-body>div:last-child {
        width: 100%;
        margin-top: 1rem;
        display: flex;
        justify-content: flex-end;
    }

    .accordion-button {
        font-size: 1.1rem;
        padding: 1rem 0;
    }

    .cart-fab {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}