:root {
    /* Color Palette - Light Mode Default */
    --bg-main: #fcfcfc;
    --text-main: #222222;
    --text-muted: #555555;
    --accent-primary: #8b1c1c; /* Deep Wine Red fits Italian restaurant */
    --accent-hover: #a82525;
    --accent-secondary: #d4af37; /* Gold */
    
    /* Light Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 28, 28, 0.3); /* subtle red border on hover */
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.12);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(139, 28, 28, 0.2);
}

.btn-primary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--accent-primary);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 2px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: #ffffff;
}

/* Header & Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.logo span {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: block;
    margin-top: -5px;
}

.desktop-nav a {
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.desktop-nav a:not(.btn-primary):hover {
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=1934&auto=format&fit=crop') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(252,252,252,1) 100%);
}

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

.main-hero-card {
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
}

/* Sections General */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.about-text h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.about-image {
    padding: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Menu Highlights */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-item {
    padding: 0;
    overflow: hidden;
}

.menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover img {
    transform: scale(1.05);
}

.menu-content {
    padding: 1.5rem;
}

.menu-content h4 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* Reservations */
.reservations {
    background: url('https://images.unsplash.com/photo-1559339352-11d035aa65de?q=80&w=1974&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    background-attachment: fixed;
}

.reservations::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.reservation-card {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

.reservation-card h2 {
    color: var(--accent-primary);
}

.contact-info {
    margin: 2rem 0;
    text-align: left;
    display: inline-block;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    background: #f0f0f0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

/* Delays for staggered animations */
.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .desktop-nav {
        display: none; /* Add a hamburger menu for full production */
    }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.theme-toggle-btn:hover {
    background: var(--glass-bg);
    transform: scale(1.1);
}

/* Dark Mode Overrides */
body.dark-mode {
    --bg-main: #0c0c0c;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent-primary: #d4af37; /* Gold */
    --accent-secondary: #8b1c1c; /* Wine red */
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

body.dark-mode footer {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
}

body.dark-mode .glass-nav {
    background: rgba(12, 12, 12, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .hero-overlay {
    background: linear-gradient(to bottom, rgba(12,12,12,0.3) 0%, rgba(12,12,12,0.9) 100%);
}

body.dark-mode .reservations::before {
    background: rgba(12, 12, 12, 0.85);
}

body.dark-mode .menu-page-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(12,12,12,0.6) 0%, rgba(12,12,12,1) 100%);
}

body.dark-mode .full-menu-section::before {
    background: rgba(12, 12, 12, 0.75);
}

body.dark-mode .menu-category h2 {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dark-mode .menu-row {
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}
