/* =========================================================
   CENTRAL CAFÉ & RESTAURANT LARACHE (SINCE 1920)
   Luxury Vintage Gold & Modern Dark Theme
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --gold: #C5A059;
    --gold-light: #E5C583;
    --gold-dark: #9A7B39;
    --dark: #0D0D0D;
    --dark-surface: #141414;
    --dark-card: #1A1A1A;
    --cream: #F9F6EE;
    --text-muted: #A09A93;
    --border-gold: rgba(197, 160, 89, 0.25);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-brand: 'Cinzel', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0B0A0D;
    background-image: 
        radial-gradient(circle at 50% -10%, rgba(201, 168, 76, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 0% 30%, rgba(154, 123, 57, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 100% 65%, rgba(201, 168, 76, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #09080B 0%, #151218 35%, #0D0B0E 70%, #070708 100%);
    background-attachment: fixed;
    color: var(--cream);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TOPBAR ===== */
#topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.35s ease;
}

#topbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.topbar-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
}

.topbar-brand-text {
    display: flex;
    flex-direction: column;
}

.topbar-brand-name {
    font-family: var(--font-brand);
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}

.topbar-brand-sub {
    font-size: 0.72em;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    gap: 6px;
    background: rgba(197, 160, 89, 0.08);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid var(--border-gold);
}

.lang-switcher select {
    background: transparent;
    border: none;
    color: var(--gold-light);
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 18px 2px 8px;
    cursor: pointer;
    font-family: var(--font-body);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 12px;
}

.lang-switcher select option {
    background: var(--dark-card);
    color: var(--cream);
}

.hamburger {
    background: none;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
    width: 38px;
    height: 38px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.hamburger:hover {
    border-color: rgba(201, 168, 76, 0.6);
    background: rgba(201, 168, 76, 0.06);
}

.hamburger span {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger span:nth-child(1) { width: 18px; }
.hamburger span:nth-child(2) { width: 14px; }
.hamburger span:nth-child(3) { width: 18px; }

.hamburger.open span:nth-child(1) {
    width: 18px;
    transform: translateY(5.5px) rotate(45deg);
    background: #C9A84C;
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    width: 18px;
    transform: translateY(-5.5px) rotate(-45deg);
    background: #C9A84C;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    background: #141414;
    border-bottom: 1px solid var(--border-gold);
    padding: 16px 24px;
    gap: 12px;
}

.dropdown-menu.open {
    display: flex;
}

.dropdown-menu a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 500;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-gold);
    margin: 4px 0;
}

.dropdown-livraison {
    color: var(--gold);
    font-size: 0.9em;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 75px 20px 30px;
    background: #0D0D0D;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    height: calc(100vh - 105px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hero-top-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 0;
}

.hero-emblem-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 15px rgba(197, 160, 89, 0.4));
    animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-5px); }
}

.hero-title-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hero-deco-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    opacity: 0.6;
}

.hero-deco-line span {
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.hero-word {
    font-family: var(--font-brand);
    font-size: clamp(1.8em, 3.8vw, 2.8em);
    font-weight: 900;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

.hero-subtitle-text {
    font-family: var(--font-heading);
    font-size: 0.88em;
    letter-spacing: 2.5px;
    color: var(--gold-light);
    margin-bottom: 0;
}

.hero-bottom-block {
    margin-top: auto;
    padding-bottom: 10px;
}

.hero-cta {
    background: transparent;
    border: 1px solid #C9A84C;
    color: #C9A84C;
    padding: 14px 38px;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hero-cta:hover {
    background: #C9A84C;
    color: #000;
    box-shadow: 0 0 25px rgba(201, 168, 76, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    font-size: 1.5em;
    color: var(--gold);
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== ABOUT SECTION (ULTRA-LUXE HISTORICAL SHOWCASE) ===== */
.about-section {
    background: radial-gradient(circle at center, #1B171A 0%, #0D0D0D 100%);
    border-top: 1px solid rgba(201, 168, 76, 0.25);
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    padding: 75px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}

.about-container {
    max-width: 950px;
    margin: 0 auto;
}

.about-card {
    position: relative;
    background: rgba(24, 22, 26, 0.85);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 24px;
    padding: 45px 36px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(232, 201, 122, 0.15);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #C9A84C 33%, #E8C97A 33%, #E8C97A 66%, #C9A84C 66%);
    z-index: 10;
}

.about-card:hover {
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.15), inset 0 1px 0 rgba(232, 201, 122, 0.25);
}

.about-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.25);
    animation: goldPulse 3s ease-in-out infinite alternate;
}

@keyframes goldPulse {
    0% { box-shadow: 0 0 12px rgba(201, 168, 76, 0.2); }
    100% { box-shadow: 0 0 25px rgba(201, 168, 76, 0.5); }
}

.about-title-flow {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8em, 4vw, 2.6em);
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #C9A84C 0%, #E8C97A 25%, #9B7E35 50%, #E8C97A 75%, #C9A84C 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFlow 4s linear infinite;
}

.about-subtitle {
    font-size: 0.88em;
    letter-spacing: 3px;
    color: rgba(201, 168, 76, 0.75);
    text-transform: uppercase;
    margin-bottom: 36px;
}

.about-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
    text-align: left;
    margin-bottom: 40px;
}

.about-photo-wrapper {
    position: relative;
}

.photo-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.photo-frame:hover {
    transform: scale(1.02);
    border-color: var(--gold);
}

.historical-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: sepia(0.25) contrast(1.1);
    transition: filter 0.4s ease;
}

.photo-frame:hover .historical-img {
    filter: sepia(0) contrast(1.15);
}

.photo-overlay-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.72em;
    font-weight: bold;
    letter-spacing: 1.5px;
    backdrop-filter: blur(8px);
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-paragraph {
    font-size: 0.98em;
    line-height: 1.7;
    color: rgba(245, 240, 234, 0.85);
}

.about-paragraph.highlight {
    font-size: 1.05em;
    color: #FFFFFF;
    border-left: 2px solid var(--gold);
    padding-left: 16px;
}

.about-paragraph strong {
    color: var(--gold);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 10px;
    padding-top: 25px;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

@media (max-width: 600px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-box {
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 16px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.2);
}

.stat-icon {
    font-size: 1.5em;
    margin-bottom: 2px;
}

.stat-number {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.72em;
    color: rgba(245, 240, 234, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== GALERIE SECTION (UI/UX PRO MAX SCI-FI HOLOGRAPHIC MARQUEE) ===== */
.gallery-section {
    background: radial-gradient(circle at 50% 50%, #151217 0%, #080808 100%);
    padding: 60px 0 70px;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(201, 168, 76, 0.25);
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    perspective: 1200px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 35px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.gallery-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2em, 4.5vw, 2.8em);
    letter-spacing: 5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #C9A84C 0%, #FFF5D0 25%, #E8C97A 50%, #FFF5D0 75%, #C9A84C 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFlow 5s linear infinite, sciFiGlow 3s ease-in-out infinite alternate;
}

@keyframes sciFiGlow {
    0% { filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.3)); }
    100% { filter: drop-shadow(0 0 25px rgba(232, 201, 122, 0.8)); }
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeLeftToRight 18s linear infinite;
    animation-play-state: running !important;
}

.marquee-track:hover,
.gallery-card:hover {
    animation-play-state: running !important;
}

@keyframes marqueeLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* UI/UX Pro Max Cyber-Gold Card */
.gallery-card {
    width: 480px;
    height: 480px;
    flex-shrink: 0;
    position: relative;
    border-radius: 20px;
    padding: 3px; /* Space for spinning laser border */
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.4), rgba(20, 20, 20, 0.8));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.15);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Spinning Sci-Fi Gold Laser Border */
.gallery-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(232, 201, 122, 0.9), transparent 30%);
    animation: rotateLaser 6s linear infinite;
    z-index: 1;
}

@keyframes rotateLaser {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Holographic Sheen Sweep Layer */
.gallery-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 245, 208, 0.35), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    z-index: 4;
    pointer-events: none;
}

.gallery-card:hover::after {
    left: 150%;
}

.gallery-card:hover {
    transform: translateY(-8px) scale(1.03) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 60px rgba(201, 168, 76, 0.4), 0 0 35px rgba(232, 201, 122, 0.6);
}

.gallery-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    z-index: 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
    filter: brightness(0.92) contrast(1.05);
}

.gallery-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.1);
}

@media (max-width: 768px) {
    .gallery-card {
        width: 320px;
        height: 320px;
        border-radius: 18px;
    }
    .gallery-card-inner,
    .gallery-card img {
        border-radius: 16px;
    }
}




/* ===== STICKY CATEGORY NAV ===== */
#menu {
    background: #18161A;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    overflow-x: auto;
    white-space: nowrap;
    position: sticky;
    top: 62px;
    z-index: 100;
    scrollbar-width: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-inner {
    display: inline-flex;
    min-width: 100%;
    justify-content: center;
    padding: 0 16px;
    gap: 4px;
}

.category-btn {
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: rgba(245, 240, 234, 0.65);
    cursor: pointer;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 0.85em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-btn::before {
    content: '';
    position: absolute;
    inset: 4px 6px;
    border: 1px solid rgba(201, 168, 76, 0);
    border-radius: 4px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.category-btn:hover {
    color: #FFFFFF;
}

.category-btn:hover::before {
    border-color: rgba(201, 168, 76, 0.35);
    background: rgba(201, 168, 76, 0.06);
}

.category-btn.active {
    color: #FFFFFF;
    text-shadow: 0 0 16px rgba(201, 168, 76, 0.6);
}

.category-btn.active::before {
    border-color: rgba(201, 168, 76, 0.6);
    background: rgba(201, 168, 76, 0.12);
}

/* ===== MAIN MENU & CATEGORY HEROES ===== */
#dynamic-menu-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.category-section {
    margin-bottom: 60px;
    scroll-margin-top: 140px;
}

.category-header {
    text-align: center;
    margin-bottom: 14px;
}

.category-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.3em;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    background: linear-gradient(90deg, #C9A84C 0%, #E8C97A 25%, #9B7E35 50%, #E8C97A 75%, #C9A84C 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFlow 4s linear infinite;
}

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

/* UI/UX Pro Max Sci-Fi Category Hero Photo Cards */
.category-hero {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 24px;
    border-radius: 22px;
    padding: 3px; /* Space for spinning laser border */
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.4), rgba(20, 20, 20, 0.8));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.15);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

/* Spinning Sci-Fi Gold Laser Border for Category Heroes */
.category-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(232, 201, 122, 0.9), transparent 30%);
    animation: rotateLaser 6s linear infinite;
    z-index: 1;
}

/* Holographic Sheen Sweep Layer for Category Heroes */
.category-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 245, 208, 0.35), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    z-index: 4;
    pointer-events: none;
}

.category-hero:hover::after {
    left: 150%;
}

.category-hero:hover {
    transform: translateY(-6px) scale(1.02) rotateX(1.5deg) rotateY(-1.5deg);
    box-shadow: 0 25px 60px rgba(201, 168, 76, 0.4), 0 0 35px rgba(232, 201, 122, 0.6);
}

.category-hero-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    z-index: 2;
}

.category-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    max-height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
    filter: brightness(0.92) contrast(1.05);
}

.category-hero:hover .category-hero-img {
    transform: scale(1.06);
    filter: brightness(1.05) contrast(1.1);
}

/* Fix zoom specifically for MENU ENFANTS, PLAT POULET, and FAJITAS */
#section-menu-enfants .category-hero,
#section-poulet-plat .category-hero,
#section-fajitas .category-hero {
    max-height: 300px;
}
#section-menu-enfants .category-hero-img,
#section-poulet-plat .category-hero-img,
#section-fajitas .category-hero-img {
    object-fit: cover;
    aspect-ratio: 4 / 3;
    max-height: 300px;
    background: transparent;
}

/* Perfect square for Tajine: NO black borders and NO zoom */
#section-tajine .category-hero {
    max-height: none;
}
#section-tajine .category-hero-img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
    max-height: none;
    background: transparent;
}

/* Fix Omelette Photo Positioning (Move image up to show the pan) */
#section-oeufs .category-hero-img {
    object-position: center bottom;
}

/* ===== DOTTED LUXURY MENU LIST & DISH CARDS WITH GOLDEN CADRE ===== */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-list-item {
    position: relative;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #C9A84C 33%, #E8C97A 33%, #E8C97A 66%, #C9A84C 66%);
    z-index: 10;
}

.menu-list-item:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(201, 168, 76, 0.18), 0 0 0 1px rgba(201, 168, 76, 0.35);
}

.item-left {
    flex: 1;
}

.item-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.15em;
    font-weight: 700;
    color: var(--cream);
}

.item-desc {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-top: 4px;
}

.item-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.item-price {
    font-family: var(--font-brand);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.add-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #000;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.4em;
    font-weight: bold;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.5);
}

/* ===== BOTTOM SECTION (RESERVATION & MAP) ===== */
#bottom-section {
    background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.1) 0%, #110F14 100%);
    padding: 60px 20px;
    border-top: 1px solid var(--border-gold);
}

.bottom-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.bottom-card {
    background: var(--dark-card);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 32px;
}

.section-card-title {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--gold);
    margin-bottom: 6px;
}

.section-card-sub {
    color: var(--text-muted);
    font-size: 0.95em;
    margin-bottom: 24px;
}

.res-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.res-label {
    font-size: 0.85em;
    color: var(--gold-light);
    font-weight: 600;
}

.res-input, .order-field {
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 12px 16px;
    color: #FFF;
    font-size: 0.95em;
    outline: none;
}

.res-input:focus, .order-field:focus {
    border-color: var(--gold);
}

.res-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: bold;
    font-size: 1.05em;
    cursor: pointer;
    margin-top: 8px;
}

.map-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.05);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.info-icon {
    font-size: 1.3em;
}

.info-text strong {
    display: block;
    color: var(--gold);
    font-size: 0.85em;
}

.info-text p, .info-text a {
    color: var(--cream);
    font-size: 0.85em;
    text-decoration: none;
}

/* ===== FOOTER ===== */
#footer {
    background: #080808;
    border-top: 1px solid var(--border-gold);
    padding: 40px 20px;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-brand);
    font-size: 1.5em;
    color: var(--gold);
}

.footer-quote {
    font-style: italic;
    color: var(--text-muted);
    margin: 8px 0 16px;
}

.footer-copy {
    font-size: 0.8em;
    color: var(--text-muted);
}

/* ===== CART FAB & DRAWER ===== */
.bottom-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: none;
    width: 90%;
    max-width: 480px;
}

.bottom-bar.visible {
    display: block;
}

.cart-fab {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #000;
    border: none;
    border-radius: 20px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.4);
    font-weight: bold;
}

.cart-fab-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.cart-fab-title {
    display: block;
    font-size: 1em;
}

.cart-fab-summary {
    display: block;
    font-size: 0.78em;
    opacity: 0.8;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1050;
    display: none;
}

.overlay.open {
    display: block;
}

.drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--dark);
    z-index: 1100;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.9);
}

.drawer.open {
    right: 0;
}

.drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.order-type-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border-gold);
    background: rgba(13,13,13,0.5);
    color: var(--cream);
    cursor: pointer;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.order-type-btn.active {
    background: var(--gold);
    color: #000;
    font-weight: bold;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
}

.qty-btn {
    background: var(--gold);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* =========================================================
   MOBILE RESPONSIVE OPTIMIZATIONS (100% PERFECT ON TELEPHONE)
   ========================================================= */
@media (max-width: 768px) {
    /* Topbar Mobile */
    .topbar-inner {
        padding: 8px 16px;
    }
    .topbar-logo {
        width: 32px;
        height: 32px;
    }
    .topbar-brand-name {
        font-size: 1.1em;
        letter-spacing: 2px;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 80px 16px 30px;
    }
    .hero-title {
        font-size: clamp(2.2em, 8vw, 3.2em);
    }
    .hero-subtitle {
        font-size: 0.85em;
        letter-spacing: 3px;
    }
    .hero-cta {
        padding: 12px 28px;
        font-size: 0.85em;
    }

    /* Gallery Section Mobile */
    .gallery-section {
        padding: 40px 0 50px;
    }
    .gallery-card {
        width: 280px;
        height: 280px;
        border-radius: 16px;
    }
    .gallery-card-inner,
    .gallery-card img {
        border-radius: 14px;
    }
    .marquee-track {
        gap: 16px;
    }

    /* Sticky Nav Mobile */
    #menu {
        top: 54px;
        padding: 2px 0;
    }
    .category-btn {
        padding: 12px 14px;
        font-size: 0.8em;
    }

    /* Category Hero & Menu Items Mobile */
    #dynamic-menu-content {
        padding: 24px 14px 80px;
    }
    .category-title {
        font-size: 1.8em;
    }
    .category-hero {
        max-height: 220px;
        border-radius: 16px;
        margin-bottom: 18px;
    }
    .category-hero-inner,
    .category-hero-img {
        border-radius: 14px;
    }
    .menu-list-item {
        gap: 8px;
    }
    .item-title {
        font-size: 1em;
    }
    .item-price {
        font-size: 0.95em;
    }
    .add-btn {
        width: 34px;
        height: 34px;
        font-size: 1.2em;
    }

    /* Cart Drawer Mobile */
    .drawer {
        max-width: 100%;
        right: -100%;
    }
    .bottom-bar {
        bottom: 16px;
        width: 94%;
    }

    /* Reservation & Map Mobile */
    #bottom-section {
        padding: 40px 14px;
    }
    .bottom-card {
        padding: 24px 16px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== LOADING SPINNER ===== */
.menu-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--accent-gold);
}
.menu-loader p {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RTL SUPPORT (ARABIC) ===== */
html[dir="rtl"] {
    text-align: right;
}
html[dir="rtl"] .menu-list-item {
    flex-direction: row;
}
html[dir="rtl"] .item-left {
    padding-right: 0;
    padding-left: 20px;
}
html[dir="rtl"] .item-price {
    text-align: left;
}
html[dir="rtl"] .gallery-title,
html[dir="rtl"] .section-card-title,
html[dir="rtl"] .about-title,
html[dir="rtl"] .cat-nav-btn {
    font-family: 'Cairo', sans-serif;
}
html[dir="rtl"] .res-input,
html[dir="rtl"] .res-label {
    text-align: right;
}
html[dir="rtl"] .contact-item {
    flex-direction: row;
}
html[dir="rtl"] .contact-item i {
    margin-right: 0;
    margin-left: 15px;
}
