:root {
    --bg-color: #0f1412;
    --surface-color: #161d1a;
    --surface-hover: #1e2824;
    --primary-color: #ff8c00; /* Vibrant Dark Orange */
    --text-main: #ffffff;
    --text-muted: #b0bcb6;
    --accent: #ff3d00; /* Vibrant Red-Orange */
    --border-color: rgba(255, 140, 0, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

html {
    scroll-behavior: smooth;
}

/* Header */
.header {
    position: relative;
    text-align: center;
    padding: 6rem 1rem 4rem;
    background: url('assets/images/header_bg.png') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,20,18,0.9) 0%, rgba(15,20,18,0.4) 50%, rgba(15,20,18,1) 100%);
    z-index: 0;
}

.logo-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
    animation: elegantLevitate 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes elegantLevitate {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -15px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 2px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-color), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85));
}

.header h1 span {
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: 5px;
}

.subtitle {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--text-main);
    font-style: italic;
    font-family: var(--font-heading);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.95);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Navigation */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 22, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.category-nav ul {
    display: flex;
    list-style: none;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    scrollbar-width: none; /* Firefox */
}

.category-nav ul::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-nav li {
    flex: 0 0 auto;
}

.category-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: var(--transition);
    display: block;
    border: 1px solid transparent;
}

.category-nav a:hover,
.category-nav a.active {
    color: var(--bg-color);
    background-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(212, 163, 115, 0.4);
}

/* Main Layout */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.menu-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.section-header {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18,22,20,1) 0%, rgba(18,22,20,0.4) 100%);
    z-index: 1;
}

.section-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-header h2 {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 2px 4px 10px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.menu-item.highlight {
    background: linear-gradient(145deg, var(--surface-hover), var(--surface-color));
    border: 1px solid var(--accent);
}

.item-info {
    flex: 1;
    padding-right: 1rem;
}

.item-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.item-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.item-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .item-price {
        align-self: flex-end;
    }
}
