/* css/menus.css */

/* --- GLOBAL MENU PARALLAX HERO --- */
.menu-parallax {
    height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    border-bottom: 2px solid var(--primary-gold);
}

.parallax-content {
    background: rgba(18, 18, 18, 0.75);
    padding: 40px 60px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 600px;
}

.parallax-content h1 {
    color: #fff;
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.parallax-content p {
    color: #eee;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- PDF DOWNLOAD BUTTON --- */
.btn-download {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-gold);
    color: #121212;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #fff;
    color: #121212;
}

/* --- CATEGORY TEXT HEADERS --- */
.category-divider {
    text-align: center;
    margin: 60px 0 40px 0;
}

.category-divider h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-gold);
    display: inline-block;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 10px;
    margin: 0;
}

/* --- MENU GRID LAYOUT --- */
.menu-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
}

/* --- MENU ITEM STYLING (THE PRECISION FIX) --- */
.menu-item {
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    /* Aligns price/dots to the top line even if the title wraps */
    align-items: flex-start; 
    width: 100%;
    margin-bottom: 5px;
}

.menu-item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--dark-charcoal);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    /* Allow the title to shrink and wrap to protect the dots */
    flex: 0 1 auto; 
}

.leader-dots {
    /* Fixed: Grow to fill space, but never shrink below 30px */
    flex: 1 0 30px; 
    border-bottom: 2px dotted #aaa;
    margin: 0 10px;
    /* Aligns dots height to the center of the first line of text */
    height: 1.1rem; 
}

.menu-item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-gold);
    font-weight: 600;
    /* Fixed: Ensure "Included" (8 chars) doesn't break alignment with numbers */
    min-width: 100px; 
    text-align: right;
    line-height: 1.2;
    white-space: nowrap;
    /* Prevent price from shrinking */
    flex: 0 0 auto; 
}

.dietary-tags {
    margin-left: 8px;
    display: inline-block;
}

.tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-style: italic;
    font-weight: 600;
    margin-right: 3px;
}

.menu-item-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .parallax-content h1 {
        font-size: 2.5rem;
    }
    .parallax-content {
        padding: 20px 30px;
    }
    .category-divider h2 {
        font-size: 1.5rem;
    }
    .menu-item-title {
        font-size: 1.3rem;
    }
    .menu-item-price {
        min-width: 80px; /* Slightly tighter for mobile */
        font-size: 1rem;
    }
    .leader-dots {
        margin: 0 8px;
        flex-basis: 15px; /* Smaller minimum for tiny screens */
    }
}