/*
 * Styles for the Menu Page Sections
 * Path: /css/menu.css
 */

/* Menu Hero Section with Video Animation */
.menu-hero {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ensure it's tall enough, but can grow */
    height: auto; /* Allow height to adjust to content */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px; /* Adjusted: Reduced padding to move it directly under the navbar */
    padding-bottom: 80px; /* Padding at the bottom of the hero section */
    background-color: var(--black-background); /* Fallback */
    /* The noise background is inherited from the body due to section-noise class */
}

/* Background video for the entire hero section */
.menu-hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure video covers the container */
    filter: brightness(0.4) grayscale(0.2); /* Slightly darken and desaturate video */
    z-index: 0; /* Send it to the back */
}

/* Central content wrapper for the text panel */
.menu-hero-content-wrapper {
    position: relative;
    z-index: 1; /* Ensure text is above the video */
    width: 90%; /* Constrain overall width of content */
    max-width: 900px; /* Max width for large screens, making it a central focus */
    padding: 60px 40px; /* Generous padding */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background */
    backdrop-filter: blur(8px); /* Frosted glass effect for elegance */
    border-radius: 25px; /* More rounded corners */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 215, 0, 0.1); /* Deeper shadow with subtle inner glow */
    border: 1px solid rgba(218, 165, 32, 0.4); /* Subtle gold border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateY(0); /* Initial state for potential animation */
    transition: all 0.5s ease; /* Smooth transitions */
}

/* Text panel within the content wrapper */
.menu-hero-text-panel {
    color: var(--text-color);
}

.menu-hero-text-panel h1 {
    font-size: 4.8rem; /* Larger, more impactful title */
    margin-bottom: 25px;
    color: var(--gold-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); /* Stronger glow */
    font-family: var(--primary-font);
    line-height: 1.1;
}

.menu-hero-text-panel p {
    font-size: 1.7rem; /* Larger subtitle */
    font-family: var(--secondary-font);
    max-width: 700px; /* Limit width for readability */
    margin: 0 auto; /* Center the paragraph */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9); /* Slightly brighter for contrast */
}

/* Scroll Down Arrow Styles - Reusing from home.css but ensuring it's visible */
.menu-hero .scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: scrollArrow 2s ease-in-out infinite;
    z-index: 2; /* Ensure it's above the video, below the text panel */
    color: var(--text-color); /* Ensure arrow text is visible */
}
/* Keyframes for scrollArrow are in style.css or home.css, ensure they are loaded */


/* Menu Content Section */
.menu-content {
    padding: 80px 0;
    background-color: var(--black-background); /* Ensure solid background */
    background-image: none; /* Override body's noise */
}

.menu-section-title {
    font-size: 3.2rem;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px; /* Space from top of section */
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 20px;
}

/* Menu Category Navigation (Foods/Drinks tabs) */
.menu-category-nav {
    text-align: center;
    margin-bottom: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    display: inline-block; /* Shrink to content */
}

.menu-category-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.menu-category-nav a {
    font-family: var(--primary-font);
    font-size: 1.3rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-category-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.menu-category-nav a:hover::after,
.menu-category-nav a.active::after {
    transform: translateX(0%);
}

.menu-category-nav a:hover,
.menu-category-nav a.active {
    color: var(--gold-color);
}


/* Menu Categories Grid */
.menu-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.menu-category-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.category-title {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    color: #FFD700;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    display: flex;
    flex-wrap: wrap; /* Allow description to wrap below name/price */
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.menu-list li:last-child {
    border-bottom: none;
}

.item-name {
    font-family: var(--primary-font);
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 700;
    flex-basis: 70%; /* Take up most of the space */
}

.item-price {
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    color: var(--gold-color);
    font-weight: 700;
    flex-basis: 25%; /* Small portion for price */
    text-align: right;
}

.item-description {
    font-family: var(--secondary-font);
    font-size: 0.95rem;
    color: rgba(224, 224, 224, 0.8);
    margin-top: 5px;
    flex-basis: 100%; /* Full width for description */
    line-height: 1.5;
}

/* Responsive adjustments for Menu Page */
@media (max-width: 1024px) {
    .menu-hero {
        height: auto;
        min-height: 80vh; /* Slightly less height on tablets/smaller desktops */
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .menu-hero-content-wrapper {
        width: 95%;
        max-width: 700px; /* Adjust max-width for smaller screens */
        padding: 40px 30px;
    }

    .menu-hero-text-panel h1 {
        font-size: 3.8rem;
    }

    .menu-hero-text-panel p {
        font-size: 1.4rem;
    }

    .menu-section-title {
        font-size: 2.8rem;
    }

    .menu-category-nav ul {
        gap: 20px;
    }
    .menu-category-nav a {
        font-size: 1.2rem;
    }

    .menu-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .menu-category-card {
        padding: 25px;
    }

    .category-title {
        font-size: 2rem;
    }

    .item-name, .item-price {
        font-size: 1.2rem;
    }
    .item-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .menu-hero {
        min-height: 70vh; /* Even less height on mobile */
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .menu-hero-content-wrapper {
        width: 95%;
        padding: 30px 20px;
        border-radius: 15px; /* Smaller border-radius on mobile */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255, 215, 0, 0.1);
        backdrop-filter: blur(5px); /* Less blur on mobile */
    }

    .menu-hero-text-panel h1 {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .menu-hero-text-panel p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .menu-section-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
        padding-top: 20px;
    }

    .menu-category-nav {
        padding: 10px;
    }
    .menu-category-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    .menu-category-nav a {
        font-size: 1.1rem;
    }

    .menu-category-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 25px;
    }

    .menu-category-card {
        padding: 20px;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .item-name, .item-price {
        font-size: 1.1rem;
    }
    .item-description {
        font-size: 0.9rem;
    }
}

/* Original styles below this line (if any, ensure they are not conflicting) */
/* ... (Keep your existing menu content styles if they are outside the hero section) ... */
