/* 1. Global & Typography */
:root {
    --color-primary: #1C1C1C; /* Dark, nearly black */
    --color-secondary: #C39233; /* Elegant Gold/Brass Accent */
    --color-background: #FFFFFF;
    --color-light-bg: #F9F9F9;
    --font-heading: 'Playfair Display', serif; /* Serif for elegance */
    --font-body: 'Poppins', sans-serif; /* Clean sans-serif */
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-primary);
    line-height: 1.6;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: var(--color-light-bg);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-header p {
    color: #666;
    font-size: 1.1em;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 2. Tabbed Navigation (The Filter Component) */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 10px 0;
    border-bottom: 1px solid #E0E0E0;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 12px 20px;
    margin: 5px;
    font-family: var(--font-body);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: color 0.3s, border-color 0.3s;
    border-bottom: 3px solid transparent;
}

/* Dynamic Effect 1: Tab Active State */
.tab-button:hover {
    color: var(--color-secondary);
}

.tab-button.active {
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-secondary);
}

/* 3. Menu Grid & Item Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    padding: 20px 0;
    /* Optional: Fade in effect for category changes */
    transition: opacity 0.4s ease;
}

.menu-item-card {
    background: var(--color-background);
    border: 1px solid #ECECEC;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    opacity: 1; /* Default state for JS filtering */
    display: flex;
    flex-direction: column;
}

/* Dynamic Effect 2: Card Hover */
.menu-item-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Item Content */
.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--color-light-bg);
    border-bottom: 1px solid #EEE;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AAA;
    font-size: 0.8em;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
}

.title {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.description {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.price {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--color-secondary);
    display: block;
    margin-top: auto; /* Pushes the price to the bottom of the card content */
}

/* Signature Item Styling */
.menu-item-card.signature {
    border: 2px solid var(--color-secondary);
    box-shadow: 0 0 15px rgba(195, 146, 51, 0.2);
}

/* Hidden state for JS filtering */
.menu-item-card.hidden {
    display: none;
    opacity: 0;
}