/* ============================================
   MENU PAGE - MODERN ELEGANT STYLING
   Category Headers with Images & Filters
   ============================================ */

@import url('base.css');

:root {
    --primary-gold: #c9a86d;
    --gold-dark: #8b7355;
    --gold-light: #e6c89f;
    --dark: #0f0f0f;
    --dark-secondary: #1a1a1a;
    --cream: #f5f3f0;
    --text-primary: #2a2a2a;
    --text-light: #555555;
}

/* ===== MENU HEADER ===== */
.menu-header {
    min-height: 45vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 100px 20px;
    overflow: hidden;
}

.menu-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(201, 168, 109, 0.08) 10px,
        rgba(201, 168, 109, 0.08) 20px
    );
    pointer-events: none;
}

.menu-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.menu-header .ornament {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.menu-header h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 20px 0;
    color: var(--primary-gold);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.menu-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== MENU NAVIGATION / FILTERS ===== */
.menu-nav {
    background: var(--cream);
    padding: 40px 20px;
    border-bottom: 2px solid var(--primary-gold);
    position: sticky;
    top: 75px;
    z-index: 100;
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-gold);
    color: var(--dark);
    transform: scale(1.05);
}

.filter-btn:hover i {
    transform: rotate(12deg);
}

.filter-btn.active {
    background: var(--primary-gold);
    color: var(--dark);
    box-shadow: 0 8px 20px rgba(201, 168, 109, 0.3);
}

/* ===== MENU SECTION ===== */
.menu-section {
    padding: 80px 20px;
    background: white;
}

/* ===== MENU CATEGORY ===== */
.menu-category {
    margin-bottom: 100px;
}

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

/* Category Header with Image */
.category-header {
    margin-bottom: 50px;
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 16px;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.category-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 3px solid var(--primary-gold);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-image-wrapper:hover .category-image img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(26, 26, 26, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.category-image-wrapper:hover .category-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.overlay-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.overlay-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* ===== MENU ITEMS GRID ===== */
.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

/* ===== MENU ITEM CARD ===== */
.menu-item {
    background: white;
    border: 2px solid #eeeeee;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transition: left 0.6s ease;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 12px 40px rgba(201, 168, 109, 0.15);
    transform: translateY(-5px);
    background: rgba(245, 243, 240, 0.5);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.menu-item-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    flex: 1;
}

.menu-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-gold);
    white-space: nowrap;
    min-width: fit-content;
}

.menu-item-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 300;
}

/* ===== MENU ITEM TAGS/BADGES ===== */
.menu-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.menu-item-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(201, 168, 109, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.menu-item:hover .menu-item-badge {
    background: var(--primary-gold);
    color: white;
}

/* ===== CATEGORY DIVIDER ===== */
.menu-category-divider {
    text-align: center;
    margin: 60px 0;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-category-divider span {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--primary-gold);
    position: relative;
}

.menu-category-divider span::before,
.menu-category-divider span::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--primary-gold);
    width: 30px;
    text-align: center;
}

.menu-category-divider span::before {
    left: -40px;
}

.menu-category-divider span::after {
    right: -40px;
}

/* ===== MENU INFO SECTION ===== */
.menu-info-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.menu-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(201, 168, 109, 0.05) 10px,
        rgba(201, 168, 109, 0.05) 20px
    );
    pointer-events: none;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.info-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 109, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.info-box:hover {
    background: rgba(201, 168, 109, 0.1);
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.info-box:hover i {
    transform: scale(1.2) rotateZ(10deg);
}

.info-box h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-weight: 300;
}

/* ===== DIETARY NOTES ===== */
.dietary-notes {
    background: var(--cream);
    padding: 60px 20px;
    text-align: center;
    border-top: 2px solid var(--primary-gold);
}

.dietary-notes h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.dietary-notes p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .menu-header {
        min-height: 35vh;
        padding: 60px 20px;
    }

    .menu-header h1 {
        font-size: 2.5rem;
    }

    .category-header {
        height: 300px;
    }

    .overlay-content h2 {
        font-size: 2rem;
    }

    .category-items {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .info-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-nav {
        padding: 30px 20px;
    }

    .menu-filters {
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding: 0 0 10px 0;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .menu-filters::-webkit-scrollbar {
        height: 6px;
    }

    .menu-filters::-webkit-scrollbar-track {
        background: rgba(201, 168, 109, 0.1);
        border-radius: 10px;
    }

    .menu-filters::-webkit-scrollbar-thumb {
        background: var(--primary-gold);
        border-radius: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .menu-section {
        padding: 50px 20px;
    }

    .menu-category {
        margin-bottom: 60px;
    }

    .category-header {
        height: 250px;
    }

    .overlay-content h2 {
        font-size: 1.8rem;
    }

    .category-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-header {
        min-height: 30vh;
        padding: 40px 20px;
    }

    .menu-header h1 {
        font-size: 2rem;
    }

    .menu-info-section {
        padding: 50px 20px;
    }

    .info-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dietary-notes {
        padding: 40px 20px;
    }

    .dietary-notes h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .menu-header h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .menu-header p {
        font-size: 0.9rem;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .menu-item-header h3 {
        font-size: 1.1rem;
    }

    .menu-item-price {
        font-size: 1.1rem;
    }

    .menu-item-description {
        font-size: 0.85rem;
    }

    .overlay-content h2 {
        font-size: 1.3rem;
    }

    .overlay-content p {
        font-size: 0.9rem;
    }

    .info-box {
        padding: 20px;
    }

    .info-box h4 {
        font-size: 1.1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
