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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #6b6b6b;
    --accent-color: #333333;
    --background: #ffffff;
    --surface: #ffffff;
    --card-background: #ffffff;
    --border-color: #f0f0f0;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius: 12px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--primary-color);
    background-color: var(--background);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    min-height: 100vh;
}


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

.menu-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    background: var(--background);
    position: relative;
}

.menu-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.restaurant-name {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.date-display {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: center;
}

.date-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    font-weight: 500;
}

.current-date {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.menu-content {
    padding: var(--spacing-lg) 0;
}

.menu-section {
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.menu-section:nth-child(1) { animation-delay: 0.1s; }
.menu-section:nth-child(2) { animation-delay: 0.2s; }
.menu-section:nth-child(3) { animation-delay: 0.3s; }
.menu-section:nth-child(4) { animation-delay: 0.4s; }

.menu-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
    color: var(--accent-color);
    position: relative;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.menu-card {
    background: var(--card-background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-content {
    padding: var(--spacing-sm);
    flex: 1;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-xs);
    gap: var(--spacing-sm);
}

.item-name {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    flex: 1;
    color: var(--primary-color);
}

.item-price {
    font-size: 1.125rem;
    color: var(--accent-color);
    font-weight: 600;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-price::before {
    content: '$';
    font-size: 0.875rem;
    margin-right: 1px;
}

.item-price-original {
    font-size: 1rem;
    color: var(--secondary-color);
    text-decoration: line-through;
    font-weight: 400;
}

.item-price-original::before {
    content: '$';
    font-size: 0.875rem;
    margin-right: 1px;
}

.item-price-current {
    font-size: 1.125rem;
    color: var(--accent-color);
    font-weight: 600;
}

.item-price-current::before {
    content: '$';
    font-size: 0.875rem;
    margin-right: 1px;
}

/* Override the main ::before when using nested price structure */
.item-price:has(.item-price-original)::before {
    content: none;
}

.item-description {
    font-size: 0.875rem;
    color: var(--secondary-color);
    line-height: 1.5;
    font-weight: 400;
    margin-top: auto;
}

.menu-footer {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: var(--surface);
}

.footer-note {
    font-size: 0.8125rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.02em;
}

.footer-note:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .restaurant-name {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .card-image {
        height: 160px;
    }
}

@media (min-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.image-skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media print {
    body {
        font-size: 12pt;
        background: white;
    }
    
    .menu-header {
        padding: 1cm 0;
    }
    
    .menu-header::after {
        display: none;
    }
    
    .menu-section {
        page-break-inside: avoid;
        margin-bottom: 1cm;
        animation: none;
        opacity: 1;
    }
    
    .menu-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .card-image {
        height: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-section {
        animation: none;
        opacity: 1;
    }
    
    .menu-card {
        transition: none;
    }
    
    .card-image img {
        transition: none;
    }
}

@supports (backdrop-filter: blur(10px)) {
    .menu-header {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }
}

.image-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f5f5f5;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Password Protection Modal Styles */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.password-modal-content {
    background: var(--background);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.password-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.password-subtitle {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.password-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
    background: var(--background);
}

.password-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.password-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.password-submit:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.password-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    min-height: 1.2em;
}

.password-form.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Protected content initially hidden */
#protectedContent {
    display: none;
}

/* Disable text selection on password modal */
.password-modal {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobile responsiveness for password modal */
@media (max-width: 767px) {
    .password-modal-content {
        padding: var(--spacing-md);
        width: 95%;
    }
    
    .password-title {
        font-size: 1.5rem;
    }
    
    .password-input,
    .password-submit {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

