/* --- Visual Brand Palette System --- */
:root {
    --gold-primary: #c8a24a;
    --gold-light: #d4af37;
    --gold-dark: #b8902f;
    --brown-deep: #2f1b12;
    --brown-dark: #3b2416;
    --cream-bg: #f8f5ef;
    --cream-light: #fffaf2;
    --text-dark: #231711;
    --text-muted: #6e5e55;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-elegant: 0 12px 24px rgba(47, 27, 18, 0.06);
    --shadow-hover: 0 20px 40px rgba(47, 27, 18, 0.15);
}

/* --- Base Framework --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--cream-bg);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typographical Hierarchies --- */
h1, h2, h3, .hero-subtitle {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Global Ornamental Accents --- */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    gap: 1rem;
}

.gold-divider span {
    display: inline-block;
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.gold-divider i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(47, 27, 18, 0.96);
    border-bottom: 1px solid rgba(200, 162, 74, 0.2);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.4rem 0;
    background-color: var(--brown-deep);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.header-logo-mini img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cream-bg);
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active-link {
    color: var(--gold-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-light);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active-link::after {
    width: 100%;
}

.btn-cta-nav {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--brown-deep);
    background-color: var(--gold-primary);
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--gold-primary);
    transition: var(--transition-smooth);
}

.btn-cta-nav:hover {
    background-color: transparent;
    color: var(--gold-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--brown-deep);
    background-image: url("images/footer.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    color: var(--cream-light);
    padding: 0 1rem;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-main-logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.3));
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 250, 242, 0.85);
    margin-bottom: 2rem;
}

.btn-premium {
    font-family: var(--font-sans);
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
    padding: 0.8rem 2.2rem;
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-premium:hover {
    background-color: var(--gold-primary);
    color: var(--brown-deep);
    box-shadow: 0 0 20px rgba(200, 162, 74, 0.4);
}

/* --- About Intro Section --- */
.about-section {
    padding: 4rem 0;
    background-color: var(--cream-light);
    text-align: center;
    border-bottom: 1px solid rgba(200, 162, 74, 0.1);
}

.about-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-tag {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--brown-dark);
    margin-bottom: 1rem;
}

.gold-divider-left {
    width: 40px;
    height: 1px;
    background-color: var(--gold-primary);
    margin: 0 auto 1rem auto;
}

.about-text p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- Menu Section Structural Heading --- */
.menu-section {
    padding: 5rem 0;
    background-color: var(--cream-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--brown-deep);
}

.section-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Controls & Interactive Filter Layouts --- */
.menu-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 0.95rem;
}

#menu-search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    background-color: var(--cream-light);
    border: 1px solid rgba(200, 162, 74, 0.3);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
}

#menu-search:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 4px 15px rgba(200, 162, 74, 0.1);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    border: 1px solid rgba(200, 162, 74, 0.25);
    color: var(--brown-dark);
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--brown-dark);
    color: var(--cream-light);
    border-color: var(--brown-dark);
}

/* --- REFINED: 4-Column Image-First Luxury Cards --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Core 4-column desktop strategy */
    gap: 1.5rem;
}

.menu-card {
    background-color: var(--cream-light);
    border: 1px solid rgba(200, 162, 74, 0.12);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-elegant);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-hover);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 85%; /* Elegant square-adjacent aspect ratio optimal for dense grids */
    overflow: hidden;
    background-color: var(--brown-deep);
}

.menu-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-card:hover .menu-item-image {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: rgba(47, 27, 18, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-size: 0.6rem;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    letter-spacing: 1px;
}

.card-body {
    padding: 1.25rem;
    background-color: var(--cream-light);
    border-top: 1px solid rgba(200, 162, 74, 0.08);
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.item-title {
    font-size: 1.15rem;
    color: var(--brown-deep);
    font-weight: 600;
    line-height: 1.3;
}

.item-price {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-dark);
    white-space: nowrap;
}

/* No Results Dynamic Handler */
.no-results-message {
    display: none;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.no-results-message i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.no-results-message p {
    font-family: var(--font-serif);
    font-size: 1.3rem;
}

/* --- Luxury Footer Infrastructure --- */
.main-footer {
    background-color: var(--brown-deep);
    color: var(--cream-light);
    padding: 4rem 0 2rem 0;
    text-align: center;
    border-top: 2px solid var(--gold-primary);
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.main-footer h3 {
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 250, 242, 0.6);
    margin-bottom: 1.5rem;
}

.footer-info {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.footer-info p {
    font-family: var(--font-sans);
    font-weight: 300;
    color: rgba(255, 250, 242, 0.8);
}

.footer-info i {
    color: var(--gold-primary);
    margin-right: 0.4rem;
    width: 20px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 250, 242, 0.1);
}

.footer-bottom p {
    font-size: 0.7rem;
    color: rgba(255, 250, 242, 0.4);
    letter-spacing: 0.5px;
}

/* --- Responsive Adaptations & Breakpoint Overrides --- */
@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr); /* Downshifts smoothly to 3 columns on small desktops */
    }
}

@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns across standard tablets */
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--brown-deep);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-menu.mobile-open {
        max-height: 300px;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(200, 162, 74, 0.05);
    }
    
    .btn-cta-nav {
        display: none;
    }

    .menu-grid {
        grid-template-columns: 1fr; /* 1 crisp layout column on smartphone viewports */
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* --- Entry Keyframe Effects --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Luxury Pagination Layouts --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3.5rem;
}

.page-btn {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    background: transparent;
    color: var(--brown-dark);
    border: 1px solid rgba(200, 162, 74, 0.25);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.page-btn:hover, .page-btn.active {
    background-color: var(--brown-dark);
    color: var(--cream-light);
    border-color: var(--brown-dark);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(200, 162, 74, 0.1);
}

.page-btn:disabled:hover {
    background: transparent;
    color: var(--brown-dark);
    border-color: rgba(200, 162, 74, 0.1);
}