/* 
 * Soaa Restaurant Lounge Bar - Luxury Menu Design
 * Warm, minimal design aligned with physical brand
 * Palette:
 *   Soàa Signature Taupe  (#AF987E)
 *   Champagne Cream       (#F2EDE4)
 *   Deep Espresso         (#3D362E)
 */

/* Base Styles & Reset */
:root {
    /* Soaa brand palette */
    --soaa-taupe: #AF987E;
    --soaa-cream: #F2EDE4;
    --soaa-espresso: #3D362E;

    /* Backwards-compatible aliases used throughout the layout */
    --ruby-gold: var(--soaa-taupe);
    --ruby-gold-light: #C8B59E;
    --ruby-gold-dark: #8F775D;
    --ruby-green: var(--soaa-espresso);
    --ruby-deep-green: var(--soaa-espresso);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.3);
    --glass-border: 1px solid rgba(150, 113, 26, 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'The Seasons';
    src: url('../assets/fonts/TheSeasons-Regular.woff2') format('woff2'),
         url('../assets/fonts/TheSeasons-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url('../assets/fonts/TheSeasons-Bold.woff2') format('woff2'),
         url('../assets/fonts/TheSeasons-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'The Seasons', 'Playfair Display', serif;
    color: var(--soaa-espresso);
    background-color: var(--soaa-cream);
    background-image: url('../bg_image.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'The Seasons', 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--ruby-gold);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-medium);
}

ul {
    list-style: none;
}

/* Main Container */
.container {
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
}

/* Main Content Area - Full Width Adjustments */
.main-content {
    padding: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    /* Glassmorphism panel over background image */
    border: 1px solid rgba(150, 113, 26, 0.18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    animation: contentFadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(10px);
}

@media screen and (min-width: 769px) {
    .main-content {
        padding: 0 3vw;
    }
    
    .menu-category {
        padding: 2rem 4vw; 
    }
}

@keyframes contentFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab Navigation System */
.menu-category {
    display: none; /* Hide all sections by default */
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    will-change: opacity, transform;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), 
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                filter 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    filter: blur(5px);
    padding: 1rem;
    box-sizing: border-box;
}

.menu-category.active {
    display: block; /* Show only active section */
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    pointer-events: auto;
    animation: none; /* Remove previous animation */
    filter: blur(0);
}

.menu-statement {
    position: relative;
    min-height: 400px; /* Ensure container has enough height for absolute positioned categories */
}

/* Upgraded animation for tabs */
@keyframes tabFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes tabFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
        filter: blur(5px);
    }
}

/* Statement-style Menu Structure */
.category-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(175, 152, 126, 0.7);
    color: var(--soaa-espresso);
}

.menu-subcategory {
    margin-bottom: 2.5rem;
    text-align: left;
}

.subcategory-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--soaa-espresso);
    text-align: left;
}

/* Statement-style Menu Tables */
.menu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.menu-table tr {
    border-bottom: 1px solid rgba(150, 113, 26, 0.08);
    transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

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

.menu-table tr:hover {
    background-color: rgba(150, 113, 26, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.menu-table td {
    padding: 0.9rem 0.75rem;
    vertical-align: top;
    text-align: left;
}

.menu-table td:last-child {
    text-align: right;
    font-weight: 500;
    width: 15%;
    padding-right: 1rem;
    color: var(--soaa-espresso);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

.menu-table strong {
    font-weight: 500;
    display: block;
    margin-bottom: 0.15rem;
    text-align: left;
    font-size: 0.98rem;
    letter-spacing: 0.09em;
}

.menu-table td:first-child strong {
    text-transform: uppercase;
}

.item-description {
    font-size: 0.85rem;
    color: rgba(61, 54, 46, 0.8); /* Deep Espresso for readability */
    margin-top: 0.3rem;
    max-width: 90%;
    text-align: left;
}

@media screen and (min-width: 1024px) {
    .menu-table tr {
        display: grid;
        grid-template-columns: minmax(0, 5fr) auto;
        align-items: flex-start;
        column-gap: 2rem;
    }

    .menu-table td {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .menu-table td:last-child {
        width: auto;
        padding-right: 0.5rem;
    }

    .menu-table td:last-child::before {
        content: '';
        position: absolute;
        left: -1rem;
        top: 18%;
        bottom: 18%;
        width: 1px;
        background: linear-gradient(to bottom,
                rgba(150, 113, 26, 0),
                rgba(150, 113, 26, 0.25),
                rgba(150, 113, 26, 0));
        opacity: 0.7;
    }

    .menu-table td:last-child {
        position: relative;
    }
}

.price-description {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--ruby-gold-light);
    padding-bottom: 0.5rem;
    text-align: left;
}

.options-list {
    font-size: 0.95rem;
    color: rgba(150, 113, 26, 0.9);
    line-height: 1.6;
    padding: 0 0 0.5rem;
    text-align: left;
}

/* Special Menu Styling */
.special-menu {
    background-color: rgba(61, 54, 46, 0.85);
    padding: 1.5rem;
    border-radius: 8px;
    border: var(--glass-border);
    text-align: left;
}

.special-time {
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--ruby-gold-light);
}

.special-item {
    font-size: 1rem;
    text-align: left;
}

.special-item strong {
    font-weight: 500;
    text-align: left;
}

.extras-info {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(150, 113, 26, 0.8);
    text-align: left;
}

.extras-info p {
    margin-bottom: 0.3rem;
    text-align: left;
}

.extras-info strong {
    font-weight: 500;
    color: var(--ruby-gold);
    text-align: left;
}

/* Luxury Video Banner */
.video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 0;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(61, 54, 46, 0.45), rgba(32, 26, 20, 0.85));
    background-image: url('../assets/images/leaf-texture.png');
    background-blend-mode: soft-light;
    background-size: cover;
    opacity: 0.65;
    z-index: 2;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 2.5rem; /* Increased padding */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ruby-logo {
    max-width: 320px;
    width: 85%;
    height: auto;
    filter: brightness(1.05) contrast(1.05); /* Enhance whiteness */
    animation: softGlow 4s infinite alternate ease-in-out;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media screen and (max-width: 1200px) {
    .ruby-logo {
        max-width: 280px;
    }
}

@media screen and (max-width: 768px) {
    .ruby-logo {
        max-width: 240px;
        width: 75%;
    }
}

@media screen and (max-width: 480px) {
    .ruby-logo {
        max-width: 210px;
        width: 70%;
    }
}

.video-content .text-logo {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    animation: logoGlow 3s infinite alternate;
}

.video-content .logo-subtext {
    font-size: 1.4rem;
    letter-spacing: 0.25em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(150, 113, 26, 0.2));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(150, 113, 26, 0.4));
        transform: scale(1.02);
    }
    100% {
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(150, 113, 26, 0.3));
        transform: scale(1);
    }
}

/* Enhanced Category Navigation */
.category-nav {
    position: relative;
    width: 100%;
    background: rgba(61, 54, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    z-index: 100;
    margin-top: 0;
    padding: 1rem 0;
}

.category-nav.sticky {
    background: linear-gradient(to bottom, 
                rgba(12, 45, 35, 0.98), 
                rgba(10, 40, 32, 0.95));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    animation: navSlideDown 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.category-nav ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
    padding: 0;
    list-style: none;
    transition: gap 0.3s ease;
}

.category-nav li {
    flex: 0 0 auto;
    white-space: nowrap;
    position: relative;
}

.category-nav li a {
    font-family: 'The Seasons', 'Playfair Display', serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    position: relative;
    padding: 0.8rem 1.2rem;
    color: rgba(150, 113, 26, 0.7);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: 1px solid transparent;
    border-radius: 4px;
}

.category-nav li a:hover {
    color: var(--ruby-gold-light);
    background: rgba(150, 113, 26, 0.05);
    border-color: rgba(150, 113, 26, 0.2);
}

.category-nav li a.active {
    color: var(--ruby-gold-light);
    background: rgba(150, 113, 26, 0.08);
    border-color: rgba(150, 113, 26, 0.3);
    box-shadow: 0 2px 10px rgba(150, 113, 26, 0.1);
    letter-spacing: 0.17em;
}

.category-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, 
                var(--ruby-gold-dark), 
                var(--ruby-gold-light), 
                var(--ruby-gold-dark));
    transition: width 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 0;
}

.category-nav li a:hover::after,
.category-nav li a.active::after {
    width: 80%;
    opacity: 1;
}

/* Mobile Navigation Enhancements */
@media screen and (max-width: 768px) {
    .category-nav:not(.active) {
        background: linear-gradient(to bottom, 
                    rgba(61, 54, 46, 0.98), 
                    rgba(47, 41, 35, 0.95));
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid rgba(150, 113, 26, 0.2);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35),
                    inset 0 1px 1px rgba(255, 255, 255, 0.05);
    }

    .category-nav:not(.active) li a {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
        padding: 0.6rem 1rem;
        color: rgba(150, 113, 26, 0.7);
        border: 1px solid transparent;
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .category-nav:not(.active) li a:hover {
        color: var(--ruby-gold-light);
        background: rgba(150, 113, 26, 0.05);
        border-color: rgba(150, 113, 26, 0.2);
    }

    .category-nav:not(.active) li a.active {
        color: var(--ruby-gold-light);
        background: rgba(150, 113, 26, 0.08);
        border-color: rgba(150, 113, 26, 0.3);
        box-shadow: 0 2px 10px rgba(150, 113, 26, 0.1);
        letter-spacing: 0.12em;
    }

    .category-nav:not(.active) li a::after {
        height: 1px;
        bottom: 0;
    }
}

/* Footer */
.menu-footer {
    position: relative;
    margin-top: 5rem;
    padding: 3rem 4vw 2.5rem;
    border-top: 1px solid rgba(150, 113, 26, 0.12);
    background: linear-gradient(to top, rgba(43, 36, 30, 0.98), rgba(24, 18, 13, 0.94));
    color: rgba(245, 235, 220, 0.9);
    text-align: left;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.menu-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: flex-start;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    font-family: 'The Seasons', 'Playfair Display', serif;
    font-size: 1.4rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 235, 220, 0.7);
    margin-bottom: 1.2rem;
}

.menu-footer .address {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 235, 220, 0.75);
    margin: 0;
}

.footer-meta {
    text-align: right;
}

.menu-footer .gold-gradient-text {
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.opening-hours {
    margin: 0;
    padding: 0;
    max-width: none;
    opacity: 1;
    position: relative;
}

.luxury-title {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: 1.2rem;
    font-weight: 400;
    color: rgba(245, 235, 220, 0.8);
    text-align: right;
    position: relative;
}

.luxury-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(198, 156, 53, 0.8));
    opacity: 0.8;
}

.hours-luxury {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hour-row span:first-child {
    color: rgba(245, 235, 220, 0.85);
    font-weight: 500;
}

.hour-row span:last-child {
    color: rgba(191, 158, 104, 0.9);
}

.hour-row + .hour-row {
    border-top: 1px solid rgba(150, 113, 26, 0.3);
    padding-top: 0.75rem;
}

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 235, 220, 0.6);
}

.footer-bottom span:last-child {
    opacity: 0.8;
}

.decorative-line {
    display: none;
}

@media screen and (max-width: 768px) {
    .menu-footer {
        padding: 2.5rem 1.5rem 2rem;
    }
    
    .menu-footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-meta {
        text-align: left;
    }
    
    .luxury-title {
        text-align: left;
    }
    
    .luxury-title::after {
        left: 0;
        right: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Ruby Description Section */
.ruby-description {
    margin: 3rem 0;
    padding: 2rem;
    background-color: rgba(61, 54, 46, 0.9);
    border-radius: 8px;
    border: var(--glass-border);
    font-family: 'The Seasons', 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: var(--ruby-gold-light);
    letter-spacing: 0.03em;
}

.ruby-description p {
    margin-bottom: 1.2rem;
}

.ruby-description p:last-child {
    margin-bottom: 0;
}

/* Enhance menu section styling */
.menu-category .menu-subcategory {
    /* Card on glass background */
    background-color: rgba(242, 237, 228, 0.94);
    padding: 1.5rem;
    border-radius: 8px;
    border: var(--glass-border);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-category .menu-subcategory:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* Inline allergen labels */
.allergen-label-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.15rem;
}

.menu-table td:first-child .allergen-label-group {
    display: flex;
}

.allergen-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 1px solid rgba(150, 113, 26, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(150, 113, 26, 0.9);
    background-color: rgba(242, 237, 228, 0.95);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.allergen-label:hover {
    background-color: rgba(150, 113, 26, 0.12);
    color: var(--soaa-espresso);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.allergen-label:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background-color: var(--ruby-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top::after {
    content: '↑';
    color: var(--ruby-deep-green);
    font-weight: bold;
}

/* Allergen modal */
.allergen-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 900;
}

.allergen-modal-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.allergen-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    width: 90%;
    max-width: 520px;
    background: rgba(242, 237, 228, 0.98);
    border-radius: 14px;
    border: 1px solid rgba(150, 113, 26, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 910;
}

.allergen-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.allergen-modal-inner {
    position: relative;
    padding: 2.2rem 2.4rem 1.9rem;
}

.allergen-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    border: none;
    background: transparent;
    color: var(--soaa-espresso);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s ease, transform 0.15s ease;
}

.allergen-modal-close:hover {
    color: var(--ruby-gold-dark);
    transform: scale(1.05);
}

.allergen-modal-title {
    font-size: 1.1rem;
    letter-spacing: 0.24em;
    margin-bottom: 0.75rem;
    color: var(--soaa-espresso);
}

.allergen-modal-subtitle {
    font-size: 0.85rem;
    color: rgba(61, 54, 46, 0.9);
    margin-bottom: 1.1rem;
}

.allergen-modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
}

.allergen-modal-list li {
    padding: 0.55rem 0;
    border-top: 1px solid rgba(150, 113, 26, 0.18);
    font-size: 0.85rem;
    display: flex;
    gap: 0.75rem;
}

.allergen-modal-list li:last-child {
    border-bottom: 1px solid rgba(150, 113, 26, 0.18);
}

.allergen-modal-code {
    min-width: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--ruby-gold-dark);
    text-transform: uppercase;
}

.allergen-modal-description {
    color: rgba(61, 54, 46, 0.9);
}

.allergen-modal-note {
    font-size: 0.8rem;
    color: rgba(61, 54, 46, 0.75);
    margin: 0;
}

@media screen and (max-width: 600px) {
    .allergen-modal-inner {
        padding: 1.7rem 1.5rem 1.6rem;
    }

    .allergen-modal-title {
        letter-spacing: 0.18em;
    }
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 992px) {
    .video-content .text-logo {
        font-size: 4rem;
    }
    
    .category-nav ul {
        gap: 2rem;
    }
    
    .category-nav li a {
        font-size: 1.1rem;
    }
    
    .ruby-description {
        font-size: 1rem;
        padding: 1.5rem;
    }
}

/* Mobile Navigation - Luxurious Horizontal Scrolling Experience */
@media screen and (max-width: 768px) {
    /* Ensure full-width content displays properly */
    .menu-category {
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Preserve content readability while maximizing width */
    .menu-subcategory {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    
    /* Remove any horizontal margins from the main container */
    .container {
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
    
    /* Eliminate any possible side gaps */
    body {
        overflow-x: hidden;
        max-width: 100vw;
        background-image: url('../bg_image.png');
        background-size: cover;
        background-repeat: repeat;
        background-attachment: fixed;
    }
    
    /* Ensure banner takes full width */
    .video-banner {
        width: 100vw;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        left: 0;
        right: 0;
    }
    
    /* Ensure container is full width */
    .container, .main-content {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
        
    }
    
    /* Remove any side margins/padding that might restrict width */
    .menu-statement {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ensure tab bar is full width with no side constraints */
    .category-nav:not(.active) {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
    }
    
    /* Adjust layout to utilize the full width */
    .category-nav:not(.active) ul {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: max-content;
        min-width: 100%; /* Ensure it spans at least the full width */
        padding: 0 15px 0 0; /* Add padding to right side only */
        margin: 0;
        height: 100%;
        box-sizing: border-box;
    }
    
    /* Optimize tab width distribution */
    .category-nav:not(.active) li {
        flex: 0 0 auto; /* Don't grow or shrink */
        min-width: 22vw; /* Percentage of viewport width */
        text-align: center;
        box-sizing: border-box;
        padding: 0;
    }
    
    /* Adjust first tab to align perfectly */
    .category-nav:not(.active) li:first-child {
        margin-left: 2vw; /* Smaller margin to use more width */
    }
    
    /* Adjust last tab to ensure it's visible */
    .category-nav:not(.active) li:last-child {
        margin-right: 2vw; /* Smaller margin to use more width */
    }
    
    .menu-statement {
        min-height: 300px; /* Smaller height for mobile */
    }
    
    .menu-category {
        transform: translateY(10px) scale(0.98);
    }
    
    /* Fixed navbar for rotation issues */
    .category-nav:not(.active) {
        margin: 0;
        background: rgba(47, 41, 35, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(150, 113, 26, 0.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        position: sticky;
        top: 0;
        z-index: 200;
        padding: 0;
        display: flex;
        align-items: center;
        height: 60px;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px; /* Consistent padding */
        overscroll-behavior-x: contain; /* Prevent overscrolling */
        max-width: 100vw; /* Ensure it doesn't overflow viewport */
        scroll-behavior: smooth; /* Smooth scrolling */
    }

    /* Explicitly set ul to full container width to ensure proper alignment */
    .category-nav:not(.active) ul {
        display: flex;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        width: max-content;
        height: 100%;
        box-sizing: border-box;
        padding-right: 30px; /* Ensure last item is properly visible */
    }

    /* Enhanced landscape mode to ensure tabs don't truncate or misalign */
    @media (orientation: landscape) {
        .category-nav:not(.active) {
            height: 50px; /* Reduce height in landscape for better fit */
        }
        
        .category-nav:not(.active) li {
            min-width: 100px; /* Slightly smaller tabs in landscape */
        }
        
        .category-nav:not(.active) li a {
            font-size: 0.82rem; /* Smaller text in landscape */
            letter-spacing: 0.08em; /* Tighter letter spacing */
        }
        
        /* Ensure fade indicators work in landscape */
        .category-nav:not(.active)::after {
            width: 40px; /* Wider fade in landscape */
        }
        
        /* Ensure proper spacing on landscape rotation */
        .category-nav:not(.active) li:first-child {
            margin-left: 20px; /* Extra spacing in landscape */
        }
        
        .category-nav:not(.active) li:last-child {
            margin-right: 50px; /* More space at end in landscape */
        }
    }

    /* Improve the right edge of the scrollable area */
    .category-nav:not(.active) li:last-child {
        margin-right: 40px; /* Increased right margin */
        position: relative;
    }
    
    /* Add invisible spacer after the last item */
    .category-nav:not(.active) li:last-child::after {
        content: '';
        position: absolute;
        right: -30px;
        width: 20px;
        height: 100%;
        background: transparent;
        pointer-events: none;
    }
    
    /* Hide scrollbar for clean appearance */
    .category-nav:not(.active)::-webkit-scrollbar {
        display: none;
    }
    
    /* Create perfectly ordered tabs with equal width */
    .category-nav:not(.active) li {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        justify-content: center;
        scroll-snap-align: center;
        min-width: 110px; /* Default size */
        border-right: none;
    }
    
    /* First and last tab margins consolidated */
    .category-nav:not(.active) li:first-child {
        margin-left: 15px;
    }
    
    .category-nav:not(.active) li:last-child {
        margin-right: 30px;
    }
    
    /* Link styling consistency */
    .category-nav:not(.active) li a {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
        padding: 0 0.5rem;
        text-align: center;
        width: 100%;
        white-space: nowrap;
        color: rgba(150, 113, 26, 0.7);
        transition: color 0.3s cubic-bezier(0.19, 1, 0.22, 1),
                    transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improved tab separators */
    .category-nav:not(.active) li:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 30%;
        height: 40%;
        width: 1px;
        background: linear-gradient(to bottom, 
                    rgba(150, 113, 26, 0), 
                    rgba(150, 113, 26, 0.25), 
                    rgba(150, 113, 26, 0));
    }
    
    /* Active tab styling consolidated */
    .category-nav:not(.active) li a.active {
        color: var(--ruby-gold-light);
        transform: translateY(-1px);
        font-weight: 500;
        background-color: rgba(150, 113, 26, 0.05);
    }
    
    /* Edge fade indicators for scroll */
    .category-nav:not(.active)::before,
    .category-nav:not(.active)::after {
        content: '';
        position: absolute;
        top: 0;
        height: 100%;
        width: 30px;
        pointer-events: none;
        z-index: 10;
    }
    
    .category-nav:not(.active)::before {
        left: 0;
        background: linear-gradient(to right, rgba(61, 54, 46, 0.95), rgba(61, 54, 46, 0));
    }
    
    .category-nav:not(.active)::after {
        right: 0;
        background: linear-gradient(to left, rgba(61, 54, 46, 0.95), rgba(61, 54, 46, 0));
    }
    
    /* Underline indicator unified */
    .category-nav:not(.active) li a::after {
        content: '';
        position: absolute;
        left: 15%;
        right: 15%;
        bottom: 0;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--ruby-gold), transparent);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        opacity: 0;
    }
    
    .category-nav:not(.active) li a.active::after {
        transform: scaleX(1);
        opacity: 0.8;
        box-shadow: 0 0 8px rgba(150, 113, 26, 0.3);
    }
    
    /* Active tab indicator dot */
    .category-nav:not(.active) li a.active::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translate(-50%, 50%);
        width: 4px;
        height: 4px;
        background-color: var(--ruby-gold-light);
        border-radius: 50%;
        box-shadow: 0 0 8px var(--ruby-gold);
        z-index: 2;
        animation: pulseGlow 1.5s ease-in-out infinite alternate;
    }
    
    @keyframes pulseGlow {
        0% {
            box-shadow: 0 0 4px rgba(150, 113, 26, 0.5);
            opacity: 0.6;
        }
        100% {
            box-shadow: 0 0 8px rgba(150, 113, 26, 0.8);
            opacity: 1;
        }
    }
    
    /* Expanded mobile menu - luxury vertical styling */
    .category-nav.active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        z-index: 999;
        background-color: rgba(43, 36, 30, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        padding: 6rem 1.5rem 1.5rem;
        animation: fadeInMenu 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
        border-bottom: 1px solid var(--ruby-gold-dark);
        overflow: hidden;
    }
    
    @keyframes fadeInMenu {
        from {
            opacity: 0;
            transform: translateY(-20px);
            clip-path: circle(0% at top right);
        }
        to {
            opacity: 1;
            transform: translateY(0);
            clip-path: circle(150% at top right);
        }
    }
    
    .category-nav.active ul {
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 0;
        width: 100%;
    }
    
    .category-nav.active li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInItem 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }
    
    .category-nav.active li:nth-child(1) { animation-delay: 0.1s; }
    .category-nav.active li:nth-child(2) { animation-delay: 0.15s; }
    .category-nav.active li:nth-child(3) { animation-delay: 0.2s; }
    .category-nav.active li:nth-child(4) { animation-delay: 0.25s; }
    .category-nav.active li:nth-child(5) { animation-delay: 0.3s; }
    .category-nav.active li:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes fadeInItem {
        0% {
            opacity: 0;
            transform: translateY(20px);
            filter: blur(5px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }
    
    /* Premium mobile nav links */
    .category-nav.active li a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.4rem;
        letter-spacing: 0.2em;
        position: relative;
        border-bottom: 1px solid rgba(150, 113, 26, 0.1);
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        background: linear-gradient(to right, var(--ruby-gold-dark), var(--ruby-gold-light));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 0.85;
    }
    
    .category-nav.active li:last-child a {
        border-bottom: none;
    }
    
    .category-nav.active li a:hover,
    .category-nav.active li a.active {
        opacity: 1;
        letter-spacing: 0.22em;
        text-shadow: 0 0 10px rgba(150, 113, 26, 0.3);
    }
    
    /* Mobile menu toggle display */
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Mobile Menu Toggle - Luxury Edition */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 1000;
    cursor: pointer;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    background-color: rgba(61, 54, 46, 0.9);
    border: 1px solid rgba(150, 113, 26, 0.5);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-toggle:hover, 
.mobile-menu-toggle:focus {
    box-shadow: 0 4px 20px rgba(150, 113, 26, 0.3);
    border-color: var(--ruby-gold);
    transform: translateY(-2px);
}

.mobile-menu-toggle .hamburger {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--ruby-gold);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    left: 0;
    border-radius: 2px;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 6px;
    width: 28px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 13px;
    width: 22px;
    left: 3px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
    width: 18px;
    left: 5px;
}

.mobile-menu-toggle:hover span:nth-child(2),
.mobile-menu-toggle:hover span:nth-child(3) {
    width: 28px;
    left: 0;
}

/* Mobile menu toggle active state */
.mobile-menu-toggle.active {
    background-color: rgba(150, 113, 26, 0.15);
    border-color: var(--ruby-gold-light);
    box-shadow: 0 0 15px rgba(150, 113, 26, 0.3);
}

.mobile-menu-toggle.active span {
    width: 28px;
    left: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Luxury gold gradient text effect */
.gold-gradient-text {
    background: linear-gradient(to right, var(--ruby-gold-dark), var(--ruby-gold-light), var(--ruby-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Add subtle scale animation for each menu item */
.menu-category.active .menu-table tr {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInMenuItem 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

/* Staggered animation for menu items */
.menu-category.active .menu-table tr:nth-child(1) { animation-delay: 0.1s; }
.menu-category.active .menu-table tr:nth-child(2) { animation-delay: 0.15s; }
.menu-category.active .menu-table tr:nth-child(3) { animation-delay: 0.2s; }
.menu-category.active .menu-table tr:nth-child(4) { animation-delay: 0.25s; }
.menu-category.active .menu-table tr:nth-child(5) { animation-delay: 0.3s; }
.menu-category.active .menu-table tr:nth-child(6) { animation-delay: 0.35s; }
.menu-category.active .menu-table tr:nth-child(7) { animation-delay: 0.4s; }
.menu-category.active .menu-table tr:nth-child(8) { animation-delay: 0.45s; }

@keyframes fadeInMenuItem {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure tab overflow is handled elegantly */
.menu-statement {
    overflow: hidden;
    position: relative;
}

/* Ensure active state is more visually clear */
.category-nav li a.active {
    font-weight: 500;
}

/* Make the horizontal scrollable area perfectly ordered and professional */
@media screen and (max-width: 768px) {
    /* Set fixed widths for different device sizes to ensure proper ordering */
    @media screen and (max-width: 375px) {
        .category-nav:not(.active) li {
            min-width: 90px; /* Smaller for iPhone SE and similar */
        }
    }
    
    @media screen and (min-width: 376px) and (max-width: 414px) {
        .category-nav:not(.active) li {
            min-width: 100px; /* For medium phones */
        }
    }
    
    @media screen and (min-width: 415px) and (max-width: 768px) {
        .category-nav:not(.active) li {
            min-width: 120px; /* For larger phones and tablets */
        }
    }
    
    /* Show exactly 3.5 tabs on screen for proper visual indication of scroll */
    .category-nav:not(.active) {
        scroll-padding: 0 20px; /* Add padding for better snap behavior */
    }
    
    /* First tab should be fully visible */
    .category-nav:not(.active) li:first-child {
        margin-left: 10px;
        padding-left: 5px;
    }
    
    /* Last tab needs proper margin */
    .category-nav:not(.active) li:last-child {
        margin-right: 30px; /* Ensure it can be scrolled to center */
        padding-right: 5px;
    }
}

/* Premium Mobile Experience - Luxury Touches */
@media screen and (max-width: 768px) {
    /* Smooth scrolling for entire page */
    html, body {
        scroll-behavior: smooth;
        overscroll-behavior-y: none;
    }

    /* Luxury tab bar styling */
    .category-nav:not(.active) {
        background: linear-gradient(to bottom, 
                    rgba(61, 54, 46, 0.98), 
                    rgba(47, 41, 35, 0.95));
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid rgba(150, 113, 26, 0.3);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35),
                    inset 0 1px 1px rgba(255, 255, 255, 0.05);
    }
    
    /* Gold accent line at bottom of nav */
    .category-nav:not(.active)::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right,
                    rgba(150, 113, 26, 0),
                    rgba(198, 156, 53, 0.4),
                    rgba(150, 113, 26, 0));
        z-index: 15;
    }
    
    /* Premium tab styling */
    .category-nav:not(.active) li a {
        background: linear-gradient(to bottom, rgba(230, 200, 80, 0.9), rgba(198, 156, 53, 0.7));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 400;
        letter-spacing: 0.13em;
        text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    }
    
    /* Enhance active tab */
    .category-nav:not(.active) li a.active {
        background: linear-gradient(to bottom, rgba(255, 230, 100, 1), rgba(230, 200, 80, 0.9));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 500;
        letter-spacing: 0.15em;
        text-shadow: 0 0 5px rgba(198, 156, 53, 0.4);
    }
    
    /* Elegant tab separators */
    .category-nav:not(.active) li:not(:last-child)::after {
        background: linear-gradient(to bottom, 
                    rgba(150, 113, 26, 0), 
                    rgba(198, 156, 53, 0.3), 
                    rgba(150, 113, 26, 0));
        opacity: 0.8;
    }
    
    /* Add glossy reflection effect */
    .category-nav:not(.active)::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right,
                    rgba(255, 255, 255, 0),
                    rgba(255, 255, 255, 0.1),
                    rgba(255, 255, 255, 0));
        opacity: 0.5;
    }
}

/* Mobile Header Logo */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(43, 36, 30, 0.96);
    background-image: url('../assets/images/leaf-texture.png');
    background-blend-mode: soft-light;
    background-size: cover;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(150, 113, 26, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    text-align: center;
}

.mobile-logo {
    height: 36px;
    width: auto;
    filter: brightness(1.05) contrast(1.05) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .mobile-header {
        padding: 0.6rem 1rem;
    }
    
    .mobile-logo {
        height: 32px;
    }
}

@media screen and (max-width: 480px) {
    .mobile-logo {
        height: 28px;
    }
}

/* Softer, more subtle glow animation */
@keyframes softGlow {
    0% {
        filter: brightness(1.02) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.15));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.05) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
        transform: scale(1.015);
    }
    100% {
        filter: brightness(1.02) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.15));
        transform: scale(1);
    }
}

/* Premium Mobile Navigation - Luxury Styling */
@media screen and (max-width: 768px) {
    /* Premium tab styling */
    .category-nav:not(.active) li {
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    /* Subtle hover effect */
    .category-nav:not(.active) li:hover {
        transform: translateY(-2px);
    }
    
    /* Elegant underline indicator */
    .category-nav:not(.active) li a::after {
        content: '';
        position: absolute;
        left: 15%;
        right: 15%;
        bottom: 12px;
        height: 2px;
        background: linear-gradient(to right, 
                    transparent, 
                    rgba(220, 180, 70, 0.9), 
                    transparent);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        opacity: 0;
        box-shadow: 0 0 6px rgba(220, 180, 70, 0.3);
    }
    
    .category-nav:not(.active) li a.active::after {
        transform: scaleX(1);
        opacity: 0.8;
    }
    
    /* Gold dot indicator animation */
    @keyframes luxuryPulse {
        0% {
            box-shadow: 0 0 4px rgba(220, 180, 70, 0.4), 0 0 8px rgba(220, 180, 70, 0.2);
            opacity: 0.7;
            transform: translate(-50%, 50%) scale(1);
        }
        50% {
            box-shadow: 0 0 8px rgba(220, 180, 70, 0.7), 0 0 15px rgba(220, 180, 70, 0.3);
            opacity: 1;
            transform: translate(-50%, 50%) scale(1.15);
        }
        100% {
            box-shadow: 0 0 4px rgba(220, 180, 70, 0.4), 0 0 8px rgba(220, 180, 70, 0.2);
            opacity: 0.7;
            transform: translate(-50%, 50%) scale(1);
        }
    }
    
    /* Enhanced active indicator */
    .category-nav:not(.active) li a.active::before {
        content: '';
        position: absolute;
        width: 5px;
        height: 5px;
        bottom: -3px;
        left: 50%;
        transform: translate(-50%, 50%);
        background: radial-gradient(circle, rgba(255, 230, 100, 1), rgba(220, 180, 70, 0.8));
        border-radius: 50%;
        animation: luxuryPulse 2s infinite;
        z-index: 20;
    }
}