/* =================================================================
   Las Crêpas - Official Website & Menu Design System
   Color Palette: Deep Obsidian (#0B0B0D), Charcoal Gray (#16161B),
   Vivid Yellow (#FFE600), White (#FFFFFF)
   ================================================================= */

:root {
    --bg-black: #0B0B0D;
    --bg-dark-gray: #16161B;
    --bg-card: rgba(26, 26, 32, 0.9);
    --bg-card-hover: rgba(36, 36, 46, 0.98);
    --border-color: rgba(255, 230, 0, 0.18);
    --border-gold: rgba(255, 230, 0, 0.45);
    
    --yellow-primary: #FFE600;
    --yellow-bright: #FFF033;
    --yellow-glow: rgba(255, 230, 0, 0.35);
    
    --text-main: #FFFFFF;
    --text-sub: #E5E5E5;
    --text-muted: #A5A5B8;
    
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-black);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 230, 0, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(255, 230, 0, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #0B0B0D 0%, #16161B 50%, #0B0B0D 100%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

/* Top Main Transparent Header Over Hero Video */
header.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    z-index: 1100;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    padding: 0 30px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

header.top-header.scrolled {
    background: rgba(16, 16, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
    padding: 0 30px;
    height: 68px;
}

.top-header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--yellow-primary);
    box-shadow: 0 0 15px var(--yellow-glow);
    transition: transform 0.3s ease;
}

.header-logo-brand:hover .header-logo {
    transform: scale(1.08);
}

.header-brand-title {
    font-family: var(--font-heading);
    font-size: 1.4em;
    font-weight: 700;
    color: var(--yellow-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--yellow-glow);
}

/* Header Action Tools (Languages & Hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 11, 13, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85em;
    cursor: pointer;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--yellow-primary);
    font-weight: 700;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8em;
}

/* Hamburger Button */
.hamburger-btn {
    background: rgba(11, 11, 13, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    border-color: var(--yellow-primary);
    box-shadow: 0 0 12px var(--yellow-glow);
}

.hamburger-btn span {
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--yellow-primary);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--yellow-primary);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: rgba(16, 16, 22, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1.5px solid var(--border-gold);
    z-index: 1200;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--yellow-primary);
    font-family: var(--font-heading);
    font-size: 1.2em;
    font-weight: 700;
}

.drawer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

.drawer-link:hover {
    color: var(--yellow-primary);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

/* Fullscreen Hero Video Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-color: #000;
    border-bottom: 3px solid var(--yellow-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}



/* Hero Elements Positioning (Top Badge & Bottom CTA) */
.hero-top-badge {
    position: absolute;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 9px 24px;
    background: rgba(11, 11, 13, 0.65);
    border: 1.5px solid var(--border-gold);
    color: var(--yellow-primary);
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 25px rgba(255, 230, 0, 0.3), 0 8px 25px rgba(0, 0, 0, 0.6);
}

.hero-bottom-cta {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.hero-btn.primary-btn {
    background: var(--yellow-primary);
    color: var(--bg-black);
    border: 2px solid var(--yellow-primary);
    box-shadow: 0 0 30px var(--yellow-glow);
}

.hero-btn.primary-btn:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.35);
}

/* Category Filter Navigation Bar */
nav#category-nav {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 68px !important;
    z-index: 1000;
    background: #111116;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
}

nav#category-nav::-webkit-scrollbar {
    display: none;
}

.category-inner {
    display: flex;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8px;
    white-space: nowrap;
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
}

.category-btn {
    padding: 10px 22px;
    border: 1.5px solid var(--border-color);
    background: rgba(11, 11, 13, 0.7);
    color: var(--text-sub);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92em;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-btn:hover {
    border-color: var(--yellow-primary);
    color: var(--yellow-primary);
    background: rgba(255, 230, 0, 0.1);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--yellow-primary);
    color: var(--bg-black);
    border-color: var(--yellow-primary);
    font-weight: 700;
    box-shadow: 0 0 20px var(--yellow-glow);
}

/* Main Container */
main {
    max-width: 1400px;
    margin: 45px auto;
    padding: 0 24px;
    min-height: 60vh;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5em;
    color: var(--yellow-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.05em;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--yellow-primary), transparent);
    margin: 18px auto 0;
}

/* Menu Grid - Large Cards like Mayava */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

/* Menu Card with Dedicated Picture Area */
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.menu-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--yellow-primary);
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px var(--yellow-glow);
}

/* DEDICATED PHOTO FRAME CONTAINER */
.card-img-container {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #181820 0%, #262634 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--border-color);
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-card:hover .card-img-container img {
    transform: scale(1.08);
}

/* Placeholder Icon when Image isn't set yet */
.card-img-placeholder {
    font-size: 4em;
    opacity: 0.85;
    filter: drop-shadow(0 0 12px rgba(255, 230, 0, 0.3));
    transition: transform 0.3s ease;
}

.menu-card:hover .card-img-placeholder {
    transform: scale(1.12);
}

/* Top Badge on Photo */
.card-badge-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

/* Card Body Content */
.card-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.45em;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.95em;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

/* Base Selector Pills inside Cards */
.base-selector-wrapper {
    margin-top: 10px;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 230, 0, 0.22);
}

.base-title {
    font-size: 0.76em;
    color: var(--yellow-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.base-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.base-pill {
    padding: 6px 13px;
    border: 1.5px solid var(--border-color);
    background: rgba(11, 11, 13, 0.7);
    color: var(--text-sub);
    border-radius: 18px;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.base-pill:hover {
    border-color: var(--yellow-primary);
    color: var(--yellow-primary);
    background: rgba(255, 230, 0, 0.12);
}

.base-pill.active {
    background: var(--yellow-primary);
    color: var(--bg-black);
    border-color: var(--yellow-primary);
    font-weight: 700;
    box-shadow: 0 0 14px var(--yellow-glow);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-price {
    font-size: 1.6em;
    font-weight: 800;
    color: var(--yellow-primary);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 230, 0, 0.2);
}

.badge-tag {
    font-size: 0.75em;
    padding: 5px 12px;
    background: rgba(255, 230, 0, 0.18);
    color: var(--yellow-primary);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ==========================================
   LUXURY FOOTER & CONTACT SECTION (AGADIR)
   ========================================== */
.luxury-footer {
    background: linear-gradient(rgba(13, 11, 9, 0.88), rgba(13, 11, 9, 0.88)), url('../images/footer_bg.webp') center 45% / cover no-repeat;
    position: relative;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 230, 0, 0.35);
    overflow: hidden;
    color: var(--text-main);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8);
}

.footer-top-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow-primary), transparent);
    box-shadow: 0 0 25px 3px var(--yellow-glow);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Col 1: Brand */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-logo-luxury {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid var(--yellow-primary);
    box-shadow: 0 4px 15px rgba(255, 230, 0, 0.25);
    object-fit: cover;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.6em;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin: 0 0 4px 0;
}

.reg-mark {
    font-size: 0.6em;
    vertical-align: super;
    color: var(--yellow-primary);
}

.footer-city-badge {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    color: var(--bg-black);
    background: var(--yellow-primary);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 1.15em;
    color: var(--yellow-primary);
    margin-bottom: 12px;
}

.footer-bio-text {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 420px;
}

.footer-specialties-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.f-tag {
    font-size: 0.78em;
    padding: 5px 12px;
    background: rgba(255, 230, 0, 0.1);
    color: #ffd800;
    border: 1px solid rgba(255, 230, 0, 0.25);
    border-radius: 30px;
    font-weight: 600;
}

/* Col 2: Horaires & Service */
.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.35em;
    color: var(--text-main);
    margin: 0 0 12px 0;
    font-weight: 700;
}

.footer-divider-line {
    width: 45px;
    height: 3px;
    background: var(--yellow-primary);
    border-radius: 4px;
    margin-bottom: 22px;
    box-shadow: 0 0 10px var(--yellow-glow);
}

.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-icon {
    font-size: 1.4em;
    line-height: 1;
    margin-top: 2px;
}

.footer-info-list li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-info-list li strong {
    color: var(--text-main);
    font-size: 1.02em;
}

.footer-info-list li span {
    color: var(--text-muted);
    font-size: 0.88em;
    line-height: 1.4;
}

/* Col 3: Instagram Glass Card */
.insta-glass-card {
    background: linear-gradient(145deg, rgba(35, 28, 22, 0.85) 0%, rgba(20, 16, 13, 0.95) 100%);
    border: 1.5px solid rgba(255, 230, 0, 0.35);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.insta-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.insta-avatar-wrapper {
    position: relative;
}

.insta-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #e1306c;
    padding: 2px;
    background: #000;
}

.insta-live-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #00ff55;
    border: 2px solid #000;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff55;
}

.insta-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insta-user-info strong {
    font-size: 1.08em;
    color: var(--text-main);
}

.insta-user-info span {
    font-size: 0.85em;
    color: var(--yellow-primary);
    font-weight: 600;
}

.insta-card-desc {
    color: var(--text-muted);
    font-size: 0.88em;
    line-height: 1.5;
    margin-bottom: 18px;
}

.insta-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.98em;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

.insta-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(220, 39, 67, 0.65);
}

/* ==========================================
   COMMANDER / ORDER NOW CTA BUTTONS
   ========================================== */
/* 1. Header Commander Button */
.header-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88em;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-order-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #fff;
}

/* 2. Footer Commander CTA Box */
.footer-order-box {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 230, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05em;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.35s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.footer-order-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.7);
    color: #fff;
}

.footer-order-subtext {
    font-size: 0.82em;
    color: var(--yellow-primary);
    text-align: center;
    font-weight: 600;
}

/* 3. Floating WhatsApp Commander Button (ICON ONLY - "bla ktba" so it never hides the menu!) */
.floating-order-btn-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.45);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: orderPulse 2.5s infinite;
}

.floating-order-btn-icon:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.85);
}

.floating-wa-icon {
    font-size: 1.65em;
    line-height: 1;
}

/* ==========================================
   GOOGLE MAPS AGADIR EMBED ("flt7t ga3")
   ========================================== */
.footer-map-section {
    margin-bottom: 45px;
    background: linear-gradient(145deg, rgba(28, 22, 18, 0.85), rgba(15, 12, 10, 0.95));
    border: 1px solid rgba(255, 230, 0, 0.35);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.footer-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-map-header h4 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    color: var(--yellow-primary);
    margin: 0;
}

.footer-map-header span {
    color: var(--text-muted);
    font-size: 0.9em;
}

.footer-map-wrapper {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 230, 0, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    line-height: 0;
}

.footer-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 300px;
    filter: contrast(1.05) saturate(1.15);
}

@keyframes orderPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    header.top-header,
    header.top-header.scrolled {
        height: 64px;
        padding: 0 16px;
    }
    nav#category-nav {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 64px !important;
        padding: 10px 12px;
        z-index: 1000;
        background: #111116;
    }
    .category-inner {
        padding-right: 35px;
        gap: 8px;
    }
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
    .header-order-btn span {
        display: none;
    }
    .header-order-btn {
        padding: 8px 12px;
    }
    .floating-order-btn-icon {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
    .floating-wa-icon {
        font-size: 1.45em;
    }
    .footer-map-wrapper iframe {
        height: 240px;
    }
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 230, 0, 0.18);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-bar p {
    color: var(--text-muted);
    font-size: 0.88em;
    margin: 0;
}

.footer-bottom-bar strong {
    color: var(--yellow-primary);
}

.footer-bottom-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 204, 0, 0.15);
    color: var(--text-muted);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
}

.footer-pill:hover {
    background: rgba(255, 204, 0, 0.12);
    border-color: var(--accent);
    color: #fff;
}

.footer-pill.wa-pill {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.25);
    color: #25D366;
}

.footer-pill.wa-pill:hover {
    background: #25D366;
    color: #000;
    border-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.footer-pill.insta-pill {
    background: rgba(225, 48, 108, 0.08);
    border-color: rgba(225, 48, 108, 0.25);
    color: #e1306c;
}

.footer-pill.insta-pill:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

/* Responsive Footer Grid */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .insta-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .insta-col {
        grid-column: span 1;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* Gallery Section */
.gallery-section {
    max-width: 1400px;
    margin: 70px auto 40px;
    padding: 0 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 11, 13, 0.9) 0%, rgba(11, 11, 13, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: opacity 0.35s ease;
}

.gallery-item:hover {
    border-color: var(--yellow-primary);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px var(--yellow-glow);
}

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

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

.gallery-item-title {
    color: var(--yellow-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 4px;
}

.gallery-item-sub {
    color: var(--text-sub);
    font-size: 0.85em;
}

/* Lightbox Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 20px;
}

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

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 14px;
    border: 2px solid var(--border-gold);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 25px var(--yellow-glow);
    object-fit: contain;
}

.gallery-modal-caption {
    margin-top: 16px;
    color: var(--yellow-primary);
    font-family: var(--font-heading);
    font-size: 1.25em;
    text-align: center;
    font-weight: 600;
}

.gallery-modal-close {
    position: absolute;
    top: -45px;
    right: -10px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2.4em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gallery-modal-close:hover {
    color: var(--yellow-primary);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(22, 22, 27, 0.7);
    border: 1px solid var(--border-color);
    color: var(--yellow-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-modal-prev { left: 20px; }
.gallery-modal-next { right: 20px; }

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: var(--yellow-primary);
    color: var(--bg-black);
    box-shadow: 0 0 20px var(--yellow-glow);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.6em;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .gallery-item {
        height: 180px;
    }
    
    .card-img-container {
        height: 200px;
    }
    
    nav#main-nav {
        justify-content: flex-start;
    }

    .gallery-modal-prev { left: 5px; width: 40px; height: 40px; font-size: 1.1em; }
    .gallery-modal-next { right: 5px; width: 40px; height: 40px; font-size: 1.1em; }
}

/* =========================================
   GALERIE LAS CRÊPAS (CONTINUOUS INFINITE SCROLL)
   ========================================= */
.gallery-section {
    padding: 60px 0 80px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 16, 12, 0.6) 50%, transparent 100%);
}

.gallery-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    display: flex;
}

.gallery-marquee-container::before,
.gallery-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.gallery-marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(13, 11, 9, 0) 100%);
}

.gallery-marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-dark) 0%, rgba(13, 11, 9, 0) 100%);
}

.gallery-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: galleryMarqueeScroll 35s linear infinite;
    /* IMPORTANT USER RULE: DO NOT PAUSE ON HOVER ("wfach n7t 3lihom la souris mayw9foch") */
}

/* CADR LUXE / SAME EXACT SIZE AS FULL MENU DISH CARDS ("dirhom 9d lcadr dia les plat liflmenu") */
.gallery-card {
    flex: 0 0 auto;
    width: 380px;        /* EXACT FULL CARD WIDTH AS MENU DISHES ("9d lcadr dia les plat") */
    height: 420px;       /* EXACT FULL CARD HEIGHT AS MENU DISHES */
    background: var(--bg-card);
    padding: 14px;       /* LUXURY FRAME BORDER LIKE MENU CARDS */
    border-radius: 20px; /* SAME 20px BORDER RADIUS AS MENU CARDS */
    border: 1px solid rgba(255, 230, 0, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card:hover {
    transform: scale(1.04);
    border-color: var(--yellow-primary);
    box-shadow: 0 15px 40px rgba(255, 230, 0, 0.35);
    z-index: 5;
}

.gallery-frame {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-frame img {
    transform: scale(1.08);
}

/* RIGHT TO LEFT CONTINUOUS MOVEMENT ("ymchiw mn limn l lisr") */
@keyframes galleryMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .gallery-card {
        width: 300px;
        height: 330px;
        padding: 10px;
    }
    .gallery-marquee-track {
        gap: 16px;
        animation-duration: 25s;
    }
}

