/* ============================================
   ÁMBAR KEBAB — Menu Styles (css/menu.css)
   ============================================ */

/* Hero Section */
.menu-hero {
    position: relative;
    padding: 8rem 0 6rem 0;
    text-align: center;
    background: var(--color-bg-primary);
    overflow: hidden;
}

.menu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle background image overlay for the menu hero */
    background: url('../images/kebab_plate.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.menu-hero .container {
    position: relative;
    z-index: 1;
}

.menu-hero h1 {
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Sticky Category Navigation */
.menu-nav.sticky {
    position: sticky;
    top: 96px; /* Approx height of header */
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 40;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0; /* Reduced padding */
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.menu-nav .container {
    position: relative;
}

/* Visual cue for horizontal scrolling */
.menu-nav .container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px; /* Width of the fade effect */
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(13, 13, 13, 1));
    pointer-events: none;
    z-index: 10;
}

.menu-nav__list {
    display: flex;
    gap: var(--space-xs); /* Reduced horizontal gap between buttons */
    list-style: none;
    padding: 0 40px 0.5rem 0; /* Add bottom padding for scrollbar, and right padding to clear the gradient mask */
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 168, 67, 0.5) rgba(255, 255, 255, 0.05);
}

.menu-nav__list::-webkit-scrollbar {
    height: 4px;
}
.menu-nav__list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.menu-nav__list::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.5);
    border-radius: 4px;
}

.menu-nav__item {
    flex-shrink: 0;
}

.menu-nav__btn {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-size: var(--fs-small); /* Reduced font size */
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0.6rem 1.2rem; /* Reduced padding */
    transition: all 0.3s ease;
    border-radius: 100px;
}

.menu-nav__btn:hover {
    color: var(--color-text-primary);
    border-color: var(--color-accent);
}

.menu-nav__btn.active {
    color: var(--color-bg-primary);
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent-glow);
}

/* Menu Content Categories */
.menu-category {
    padding-top: var(--space-2xl); /* Increased spacing */
    padding-bottom: var(--space-xs); /* Increased spacing */
    scroll-margin-top: 220px; /* Account for thicker sticky nav + header */
}

.menu-category__title {
    font-size: var(--fs-h2);
    color: var(--color-accent);
    margin-bottom: var(--space-lg); /* Increased distance between title and promo/content */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    display: inline-block;
}

.menu-category__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--color-accent);
}

.menu-promo {
    background: linear-gradient(90deg, rgba(212, 168, 67, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--color-accent);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-2xl); /* Increased distance between promo and items */
    border-radius: 0 8px 8px 0;
    color: var(--color-text-primary);
    font-size: var(--fs-body);
}

/* Menu List & Items */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Increased gap between items significantly */
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem; /* Increased spacing inside item */
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* very subtle separator */
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    transform: translateX(5px);
}

.menu-item__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-sm); /* Increased space before description */
    width: 100%;
}

.menu-item__name {
    font-size: var(--fs-body-lg); /* Reduced from h3 */
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    margin: 0;
    font-weight: var(--fw-semibold);
    flex-shrink: 0;
    max-width: 60%;
}

.menu-item__dots {
    flex-grow: 1;
    border-bottom: 2px dotted var(--color-border-subtle);
    position: relative;
    top: -6px;
    opacity: 0.5;
    margin: 0 10px;
}

.menu-item:hover .menu-item__dots {
    border-bottom-color: var(--color-accent);
    opacity: 0.8;
}

.menu-item__price {
    font-size: var(--fs-body-lg); /* Reduced from h3 */
    font-weight: var(--fw-bold);
    color: var(--color-accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item__desc {
    font-size: var(--fs-body); /* Reduced for more compact view */
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6; /* Better line height */
    max-width: 85%;
}

@media (max-width: 768px) {
    .menu-item__header {
        align-items: flex-start;
        gap: var(--space-sm);
    }
    .menu-item__dots {
        display: none; /* Hide dots on mobile to prevent layout chaos */
    }
    .menu-item__name {
        font-size: var(--fs-body); /* Reduced for mobile */
        max-width: 75%;
        line-height: 1.3;
    }
    .menu-item__price {
        font-size: var(--fs-body); /* Reduced for mobile */
        margin-left: auto;
    }
    .menu-item__desc {
        max-width: 100%;
        font-size: var(--fs-small); /* Reduced for mobile */
        margin-top: 0.5rem;
    }
    .menu-list {
        gap: 2rem;
    }
}
