/* ==========================================
   CSS VARIABLES & THEMING
   ========================================== */
:root {
    /* Colors */
    --color-primary: #cba85a;
    /* Gold/Brass */
    --color-primary-dark: #b08d44;
    --color-dark: #0f172a;
    /* Deep maritime blue */
    --color-darker: #080c17;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-gray: #94a3b8;
    --color-border: #334155;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Utility */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

#app-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--spacing-xl) 0;
    overflow-x: hidden;
}

.text-center {
    text-align: center;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.w-full {
    width: 100%;
}

.text-white {
    color: var(--color-white);
}

.text-gray {
    color: var(--color-gray);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.section-subtitle {
    color: var(--color-primary);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 168, 90, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn-outline.btn-light {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline.btn-light:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-text {
    color: var(--color-primary);
    padding: 0;
    gap: 0.25rem;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--color-primary-dark);
}

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

.btn-text:hover i {
    transform: translateX(5px);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
    overflow-x: hidden;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.nav-links {
    display: none;
    gap: 1.25rem;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: none;
}

.mobile-toggle {
    display: block;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 1150px) {
    .nav-links {
        display: flex;
    }

    .nav-actions {
        display: block;
    }

    .mobile-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu.active {
    right: 0;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: block;
}

.mobile-action {
    margin-top: 2rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}



.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero .subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, #cba85a, #fce09b, #cba85a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero .title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(203, 168, 90, 0.2);
    letter-spacing: -1px;
}

.hero .description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 10px 20px rgba(203, 168, 90, 0.2);
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(203, 168, 90, 0.4);
}

.hero-buttons .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-white);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background-color: var(--color-white);
}

.about-image-wrapper {
    position: relative;
    padding: 2rem 2rem 0 0;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0.1;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 3;
    border: 5px solid var(--color-white);
    box-shadow: 0 10px 20px rgba(203, 168, 90, 0.4);
}

/* ==========================================
   MENU SECTION (DARK SECTION)
   ========================================== */
.dark-section {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.menu-tabs-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0 3rem;
}

.menu-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    border-radius: 50px;
    white-space: nowrap;
}

.menu-category-select-container {
    display: none;
}

@media (max-width: 768px) {
    .menu-tabs-container {
        display: none;
    }

    .menu-category-select-container {
        display: block;
        margin: 1.5rem 0 2rem;
    }

    .menu-category-select-container label {
        display: block;
        color: var(--color-primary);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .menu-category-select {
        width: 100%;
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid rgba(203, 168, 90, 0.28);
        border-radius: 14px;
        background:
            linear-gradient(45deg, transparent 50%, var(--color-primary) 50%),
            linear-gradient(135deg, var(--color-primary) 50%, transparent 50%),
            rgba(255, 255, 255, 0.05);
        background-position:
            calc(100% - 22px) 50%,
            calc(100% - 14px) 50%,
            0 0;
        background-size:
            8px 8px,
            8px 8px,
            100% 100%;
        background-repeat: no-repeat;
        color: var(--color-white);
        font-family: var(--font-heading);
        font-size: 1.05rem;
        font-weight: 600;
        padding: 0.95rem 2.8rem 0.95rem 1rem;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }
}

.menu-tab {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .menu-tab {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-radius: 999px;
        text-align: center;
    }
}

.menu-tab:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.menu-tab.active {
    background: rgba(203, 168, 90, 0.9);
    backdrop-filter: blur(8px);
    color: var(--color-dark);
    opacity: 1;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(203, 168, 90, 0.3);
}

.menu-content-container {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.menu-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.menu-pane.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-pane-title {
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.menu-pane-subtitle {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .menu-items-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 3rem;
    }
}

.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

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

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.menu-item-title {
    font-size: 1.25rem;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.menu-item-price {
    font-size: 1.125rem;
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
}

.menu-item-desc {
    color: var(--color-gray);
    font-size: 0.95rem;
    font-style: italic;
}

.menu-category-offer {
    grid-column: 1 / -1;
    margin: 0 auto 2rem;
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(203, 168, 90, 0.28);
    background: rgba(203, 168, 90, 0.08);
    color: var(--color-primary);
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.menu-category-offer span {
    display: block;
}

.text-primary {
    color: var(--color-primary);
}

/* Specific to Moules compact grid */
.moules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .moules-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 3rem;
    }
}

.menu-item.compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
}

.menu-banner {
    grid-column: 1 / -1;
    background: rgba(203, 168, 90, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 168, 90, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius-md);
}

.menu-banner h4 {
    color: var(--color-primary);
    margin: 0;
    font-size: 1.25rem;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-section {
    background-color: var(--color-light);
    padding-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
    }

    .item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .item-2 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .item-3 {
        grid-column: 4 / 5;
        grid-row: 1 / 3;
    }

    .item-4 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    .item-5 {
        grid-column: 1 / 5;
        grid-row: 3 / 4;
        height: 300px;
    }
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ==========================================
   PAGE HEADER (For internal pages)
   ========================================== */
.page-header {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 180px 0 80px;
    position: relative;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ==========================================
   FULL GALLERY PAGE
   ========================================== */
.full-gallery-section {
    background-color: var(--color-light);
    padding: 4rem 0 8rem;
}

.full-gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.full-gallery-grid .gallery-item {
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
}

.full-gallery-grid .gallery-item img {
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .full-gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .full-gallery-grid {
        column-count: 1;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background-color: var(--color-white);
    padding-top: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-list i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.hours-card {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hours-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-primary);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-list li.closed {
    color: var(--color-gray);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--color-darker);
    color: var(--color-white);
    overflow-x: hidden;
}

.footer-top {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h2 {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-gray);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.text-sm {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-gray);
    font-size: 0.875rem;
}

.flex-between {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .flex-between {
        flex-direction: row;
        justify-content: space-between;
    }
}

.legal-links a:hover {
    color: var(--color-primary);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0) scale(1);
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

/* ==========================================
   LUNCH DU CAPITAINE
   ========================================== */
.lunch-section {
    background-color: var(--color-white);
}

.lunch-container {
    max-width: 1000px;
    margin: 0 auto;
}

.lunch-days {
    color: var(--color-gray);
    font-size: 1.125rem;
    margin: -1rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lunch-days i {
    color: var(--color-primary);
}

.lunch-formules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .lunch-formules-grid {
        grid-template-columns: 350px 1fr;
        align-items: start;
    }
}

.lunch-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--color-dark);
}

.lunch-formule {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lunch-formule.highlight {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lunch-formule-price {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1;
}

.pricing-card .lunch-formule-label {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.pricing-card .lunch-formule-detail {
    color: var(--color-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-card {
    position: relative;
    padding-top: 4rem;
}

.lunch-week-sticky {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
}

.lunch-week-label {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.lunch-courses {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lunch-course-title {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lunch-course-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(203, 168, 90, 0.2);
}

.lunch-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lunch-items li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.lunch-items li::before {
    content: "›";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: -0.25rem;
    font-size: 2rem;
    line-height: 1;
    font-family: var(--font-body);
}

.lunch-item-title {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}

.lunch-item-desc {
    font-size: 0.95rem;
    color: var(--color-gray);
    font-style: italic;
    line-height: 1.4;
    font-weight: 500;
}

.lunch-items li:last-child {
    margin-bottom: 0;
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
        visibility: hidden;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
}
@media (max-width: 768px) {
    .lunch-card {
        padding: 2rem 1.5rem;
    }
    
    .lunch-week-sticky {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .lunch-formule-price {
        font-size: 2.5rem;
    }
}

/* ==========================================
   MOBILE STICKY CTA
   ========================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    z-index: 9999;
    display: none; /* Hidden on desktop */
    gap: 1rem;
    box-shadow: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1150px) {
    .mobile-sticky-cta {
        display: flex;
    }

    .mobile-sticky-cta.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .footer {
        padding-bottom: 6rem;
    }
}

.mobile-sticky-cta .btn {
    background: rgba(203, 168, 90, 0.85); /* Less transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-white);
    transition: var(--transition);
}

.mobile-sticky-cta .btn:hover {
    background: rgba(203, 168, 90, 0.95);
    transform: translateY(-2px);
}

/* ==========================================
   ALLERGEN FILTERS
   ========================================== */
.allergen-filter-container {
    margin: 0 auto 3rem;
    max-width: 800px;
    text-align: center;
    padding: 0 1rem;
}

.filter-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.allergen-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.allergen-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.allergen-filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.allergen-filter-btn.active {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: #ef4444;
    font-weight: 600;
}

.allergen-filter-reset {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem;
}

.menu-item.hidden-allergen {
    display: none !important;
}

/* ==========================================
   MENU DU MOIS — NAV HIGHLIGHT & SECTION
   ========================================== */

/* Desktop nav badge */
.nav-link--highlight {
    opacity: 1 !important;
    color: var(--color-primary) !important;
    background: linear-gradient(135deg, rgba(203, 168, 90, 0.18) 0%, rgba(203, 168, 90, 0.08) 100%);
    border: 1px solid rgba(203, 168, 90, 0.4);
    padding: 0.3rem 0.85rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.3px;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link--highlight::before {
    content: '✦';
    font-size: 0.6rem;
    margin-right: 0.35rem;
    vertical-align: middle;
    opacity: 0.8;
}

.nav-link--highlight::after {
    display: none !important; /* Remove the underline pseudo-element */
}

.nav-link--highlight:hover {
    background: linear-gradient(135deg, rgba(203, 168, 90, 0.35) 0%, rgba(203, 168, 90, 0.18) 100%);
    border-color: rgba(203, 168, 90, 0.7);
    box-shadow: 0 0 18px rgba(203, 168, 90, 0.25);
    transform: translateY(-1px);
    color: var(--color-primary) !important;
}

/* Subtle pulse on the badge to draw attention */
@keyframes nav-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(203, 168, 90, 0); }
    50%       { box-shadow: 0 0 10px 3px rgba(203, 168, 90, 0.2); }
}
.nav-link--highlight {
    animation: nav-badge-pulse 3s ease-in-out infinite;
}

/* Mobile highlight link */
.mobile-link--highlight {
    color: var(--color-primary) !important;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(203, 168, 90, 0.12) 0%, rgba(203, 168, 90, 0.05) 100%);
    border: 1px solid rgba(203, 168, 90, 0.3);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem;
    display: block;
}

/* Monthly Menu section — animated gold border on top */
.monthly-menu-section {
    position: relative;
}

.monthly-menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #cba85a 30%, #fce09b 50%, #cba85a 70%, transparent 100%);
    background-size: 200% auto;
    animation: shimmer-border 4s linear infinite;
    z-index: 1;
}

@keyframes shimmer-border {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}
