/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --primary-color: #c59d5f; /* Gold accent */
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --body-bg: #f9f9f9;
    --text-color: #555;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --border-radius: 8px;
    --shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
    background-color: #b38b50;
    transform: translateY(-2px);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.4s ease;
}
.navbar.scrolled .logo {
    color: var(--dark-color);
}
.navbar nav a {
    color: var(--light-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.navbar.scrolled nav a {
    color: var(--dark-color);
}
.navbar nav a:hover {
    color: var(--primary-color);
}
.navbar nav a.btn-primary {
    color: var(--light-color) !important;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=2070') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}
.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.btn-hero {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* --- MENU SECTION --- */
.menu-section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title span {
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-size: 1.5rem;
}
.section-title h2 {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--dark-color);
    margin-top: 5px;
}

/* Filter Buttons */
.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    /* UPDATED: Added transition for hover and filtering */
    transition: transform 0.3s ease, opacity 0.4s ease, box-shadow 0.3s ease; 
}

/* NEW: Hover effect */
.menu-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.menu-item.hide {
    transform: scale(0.9);
    opacity: 0;
    display: none;
}
.menu-item img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
    flex-shrink: 0;
}
.item-details {
    width: 100%;
}
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.item-header h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
}
.item-header .price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}
.item-details p {
    font-size: 0.9rem;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-color);
    color: #a0a0a0;
    padding: 30px 0;
    text-align: center;
}

/* --- ANIMATIONS --- */
.anim-fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }
.anim-fade-in-delay1 { animation: fadeIn 1s 0.3s ease-out forwards; opacity: 0; }
.anim-fade-in-delay2 { animation: fadeIn 1s 0.6s ease-out forwards; opacity: 0; }

@keyframes fadeIn {
    to { opacity: 1; }
}

/* NEW: On-scroll animation classes */
.anim-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.anim-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- CONTACT SECTION (from previous step) --- */
.contact-section { padding: 100px 0; background-color: var(--light-color); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; margin-top: 40px; align-items: flex-start; }
.contact-info h3 { font-family: var(--heading-font); font-size: 1.8rem; color: var(--dark-color); margin-bottom: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.contact-item svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--primary-color); margin-top: 5px; }
.contact-item h4 { color: var(--dark-color); font-size: 1.1rem; margin-bottom: 3px; }
.contact-item p { margin: 0; line-height: 1.6; }
.contact-form .form-row { display: flex; gap: 20px; }
.contact-form .form-group { margin-bottom: 20px; width: 100%; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: var(--border-radius); font-family: var(--body-font); font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(197, 157, 95, 0.2); }
.contact-form button { border: none; cursor: pointer; font-size: 1rem; }
.map-container { margin-top: 60px; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-container iframe { width: 100%; height: 450px; border: 0; }


/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .menu-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar { background-color: var(--light-color); padding: 15px 0; }
    .navbar .logo, .navbar nav a { color: var(--dark-color); }
    .navbar nav a:not(.btn-primary) { display: none; } 
    .hero-content h1 { font-size: 2.5rem; }
    .contact-form .form-row { flex-direction: column; gap: 0; }
}