/* ===== CSS Variables ===== */
:root {
    --primary-color: #c9ada7;
    --secondary-color: #9a8c98;
    --accent-color: #d4a5a5;
    --background-color: #f5f5f5;
    --card-background: #ffffff;
    --text-color: #2c2c2c;
    --text-light: #666666;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.restaurant-name {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInGlow 2s ease-in-out;
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        letter-spacing: 10px;
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        letter-spacing: 5px;
    }
    100% {
        opacity: 1;
        letter-spacing: 3px;
        filter: blur(0);
    }
}

.tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===== Navigation ===== */
.menu-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: var(--card-background);
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.button {
    padding: 15px 20px;
    font-size: 16px;
    background: transparent;
    border: none;
    position: relative;
    color: #ffffff;
    z-index: 1;
    cursor: pointer;
    font-weight: 600;
}

.button::after,
.button::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    transition: all .4s;
}

.button::before {
    transform: translate(0%, 0%);
    width: 100%;
    height: 100%;
    background: #c9ada7;
    border-radius: 10px;
}

.button::after {
    transform: translate(10px, 10px);
    width: 35px;
    height: 35px;
    background: #ffffff15;
    backdrop-filter: blur(5px);
    border-radius: 50px;
}

.button:hover::before {
    transform: translate(5%, 20%);
    width: 110%;
    height: 110%;
}

.button:hover::after {
    border-radius: 10px;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
}

.button.active::before {
    background: #9a8c98;
    box-shadow: 0 4px 15px rgba(154, 140, 152, 0.5);
}

.button.active {
    transform: scale(1.02);
}

/* ===== Menu Container ===== */
.menu-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 3rem 1rem;
    min-height: 400px;
}

/* ===== Menu Section ===== */
.menu-section {
    display: none !important;
}

.menu-section.active {
    display: block !important;
    animation: fadeIn 0.5s ease-in-out;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

/* ===== Menu Items ===== */
.menu-items {
    display: grid;
    gap: 1.5rem;
}

.menu-item {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    overflow: hidden;
}

.menu-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.item-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    flex: 1;
}

.item-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #8a7a8a 100%);
    color: white;
    padding: 3rem 1rem 1rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.footer-section p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .restaurant-name {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .restaurant-name {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .item-image {
        height: 180px;
    }
}