/* ============================================
   JBR CAFE - MAIN STYLESHEET
   Mobile-First, RTL-Compatible, Premium Design
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors - Dark Luxury Theme */
    --color-primary: #0a0a0a;
    --color-secondary: #171717;
    --color-accent-cyan: #06b6d4;
    --color-accent-violet: #8b5cf6;
    --color-accent-gold: #eab308;
    --color-text-light: #e5e5e5;
    --color-text-white: #ffffff;
    --color-text-muted: #a3a3a3;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-fallback-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* English */
    --font-heading-en: 'Montserrat', 'Poppins', var(--font-fallback-sans);
    --font-body-en: 'Inter', 'Poppins', var(--font-fallback-sans);

    /* Arabic */
    --font-heading-ar: 'Almarai', var(--font-fallback-sans);
    --font-body-ar: 'Almarai', var(--font-fallback-sans);
    
    /* Borders */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5);
    --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
    --shadow-glow-violet: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-glow-gold: 0 0 20px rgba(234, 179, 8, 0.3);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body-en);
    background-color: var(--color-primary);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Language-aware typography */
html[lang="en"] body {
    font-family: var(--font-body-en);
}

html[lang="ar"] body {
    font-family: var(--font-body-ar);
}

/* Headings / Logo typography */
h1, h2, h3, h4, h5, h6,
.logo-text,
.hero-title,
.section-title,
.cta-title {
    font-family: var(--font-heading-en);
    letter-spacing: -0.02em;
    font-weight: 800;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .logo-text,
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title,
html[lang="ar"] .cta-title {
    font-family: var(--font-heading-ar);
    letter-spacing: 0;
}

/* Clear numeric presentation for prices */
.product-price, .menu-item-price, .cta-button, .contact-link {
    font-variant-numeric: tabular-nums;
}

/* RTL Support */
html[dir="rtl"] body {
    text-align: right;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: all var(--transition-base);
}

/* ========== NAVIGATION BAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
}

/* Premium gradient glow underline */
.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(6, 182, 212, 0.0) 0%,
        rgba(6, 182, 212, 0.9) 35%,
        rgba(139, 92, 246, 0.9) 65%,
        rgba(139, 92, 246, 0.0) 100%
    );
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.35), 0 0 14px rgba(139, 92, 246, 0.35);
    pointer-events: none;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.75);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

/* Mobile / tablet quick links under the main navbar row */
.navbar-subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    padding: 0.35rem 1rem 0.9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.navbar-subnav::-webkit-scrollbar {
    display: none;
}

.subnav-link {
    font-family: inherit;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.35rem 0.15rem;
    transition: color var(--transition-base), text-shadow var(--transition-base), opacity var(--transition-base);
    opacity: 0.9;
}

.subnav-link:hover,
.subnav-link:active,
.subnav-link.active {
    color: var(--color-accent-cyan);
    opacity: 1;
    text-shadow: 0 0 14px rgba(6, 182, 212, 0.38);
}

@media (min-width: 1024px) {
    .navbar-subnav {
        display: none;
    }
}

@media (max-width: 420px) {
    .navbar-cta {
        padding: 0.55rem 0.95rem;
        font-size: 0.82rem;
    }
}


@media (min-width: 1024px) {
    .navbar-container {
        padding: 1rem 1.5rem;
        gap: 2rem;
    }
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .navbar-logo {
        margin: 0;
        gap: 0.75rem;
    }
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.navbar-nav-desktop {
    display: none;
    gap: 2.75rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-white);
    opacity: 0.92;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-base), text-shadow var(--transition-base), opacity var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    opacity: 0;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.0), rgba(6, 182, 212, 0.65), rgba(139, 92, 246, 0.65), rgba(139, 92, 246, 0.0));
    transition: opacity var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent-cyan);
    opacity: 1;
    text-shadow: 0 0 14px rgba(6, 182, 212, 0.38);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
}

/* Primary CTA (Desktop) */
.navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.15rem;
    background: linear-gradient(135deg, #f6d365, var(--color-accent-gold));
    color: #0a0a0a;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 9999px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.35), 0 0 18px rgba(234, 179, 8, 0.25);
    transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
    white-space: nowrap;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0,0,0,0.45), 0 0 24px rgba(234, 179, 8, 0.35);
    filter: saturate(1.05);
}

/* Minimal icon buttons (Search) */
.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-white);
    transition: all var(--transition-base);
}

@media (min-width: 1024px) {
    .nav-icon-btn {
        width: 40px;
        height: 40px;
    }
}

.nav-icon-btn:hover {
    color: var(--color-accent-cyan);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.25);
}

/* Ultra-thin icon feel */
.navbar-actions svg {
    stroke-width: 1.35;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    color: var(--color-text-white);
    font-size: 0.8rem;
    font-weight: 700;
    transition: all var(--transition-base);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1024px) {
    .lang-toggle {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

.lang-toggle:hover {
    color: var(--color-accent-cyan);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.22);
}

.reserve-btn-desktop {
    display: none;
    padding: 0.625rem 1.5rem;
    background: var(--color-accent-gold);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.reserve-btn-desktop:hover {
    background: var(--color-accent-gold);
    box-shadow: var(--shadow-glow-gold);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10;
    touch-action: manipulation;
}

.mobile-menu-toggle svg {
    pointer-events: none;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-white);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ========== MOBILE NAVIGATION MENU ========== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Full-screen black menu with glowing gradient border */
.mobile-menu-container {
    position: absolute;
    inset: 0.85rem;
    background: #000;
    border-radius: 1.5rem;
    padding: 4.5rem 1.25rem 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.18), 0 0 28px rgba(139, 92, 246, 0.18);
}

.mobile-menu-container::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.85), rgba(139, 92, 246, 0.85));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    transition: all var(--transition-base);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
    touch-action: manipulation;
}

.mobile-menu-close svg {
    pointer-events: none;
}

html[dir="rtl"] .mobile-menu-close {
    right: auto;
    left: 1.25rem;
}

.mobile-menu-close:hover {
    color: var(--color-accent-cyan);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.22);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 1.15rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.05rem;
    transition: all var(--transition-base);
}

.mobile-menu-link span {
    flex: 1;
}

.mobile-menu-link:hover,
.mobile-menu-link:active,
.mobile-menu-link.active {
    background: rgba(6, 182, 212, 0.10);
    border-color: rgba(6, 182, 212, 0.22);
    color: var(--color-accent-cyan);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.20);
}

html[dir="rtl"] .mobile-menu-link {
    justify-content: flex-start;
}

/* Ultra-thin icon feel in mobile */
.mobile-menu-container svg {
    stroke-width: 1.35;
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, #f6d365, var(--color-accent-gold));
    color: #000;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 1.1rem;
    box-shadow: 0 14px 24px rgba(0,0,0,0.45), 0 0 22px rgba(234, 179, 8, 0.25);
    transition: all var(--transition-base);
}

.mobile-menu-cta:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-glow-gold);
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 3rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('../hero/hero.webp') center/cover no-repeat;
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-text-white), var(--color-accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Opening hours block in hero (minimal + premium) */
.hero-hours {
    margin-top: 2rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-hours-title {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.hero-hours-lines {
    font-size: 0.98rem;
    color: var(--color-text-white);
    line-height: 1.45;
}

.hero-hours-lines div + div {
    color: rgba(255, 255, 255, 0.82);
}

html[lang="ar"] .hero-hours-title {
    font-family: var(--font-heading-ar);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-violet));
    color: var(--color-text-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-cyan);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-accent-gold);
}

.btn-secondary:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary);
    box-shadow: var(--shadow-glow-gold);
}

/* ========== SECTIONS ========== */
.section-container {
    padding: 4rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-dark {
    background: var(--color-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== BEST SELLERS GRID ========== */
.bestsellers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background: var(--color-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-cyan);
    border-color: rgba(6, 182, 212, 0.3);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.9);
    color: var(--color-text-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

html[dir="rtl"] .product-badge {
    right: auto;
    left: 1rem;
}

.product-badge-hot {
    background: rgba(139, 92, 246, 0.9);
}

.product-badge-dessert {
    background: rgba(234, 179, 8, 0.9);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-white);
}

.product-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
}

/* ========== MENU SECTION ========== */
.menu-categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.menu-categories::-webkit-scrollbar {
    display: none;
}

.menu-category-btn {
    padding: 0.875rem 1.5rem;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    white-space: nowrap;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.menu-category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
}

.menu-category-btn.active {
    background: var(--color-accent-cyan);
    color: var(--color-text-white);
    box-shadow: var(--shadow-glow-cyan);
}

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

.menu-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.menu-item-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(139, 92, 246, 0.08));
}

.menu-item-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.menu-item-card:hover .menu-item-image-wrapper img {
    transform: scale(1.05);
}

.menu-item-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-item-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.625rem 1rem;
    background: rgba(6, 182, 212, 0.15);
    color: var(--color-accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.menu-item-order:hover {
    background: var(--color-accent-cyan);
    color: var(--color-primary);
}

.menu-item-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateX(-4px);
}

html[dir="rtl"] .menu-item-card:hover {
    transform: translateX(4px);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.menu-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-white);
    flex: 1;
}

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

.menu-item-description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.menu-item-temp {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-accent-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ========== ABOUT SECTION ========== */
.about-headline {
    margin-top: 0.25rem;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--color-text-white);
    opacity: 0.95;
}

.about-quote {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(234, 179, 8, 0.85);
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    font-weight: 600;
}

html[dir="rtl"] .about-quote {
    border-left: none;
    border-right: 3px solid rgba(234, 179, 8, 0.85);
}



/* ========== MENU IMAGES & ORDER BUTTON ========== */
.menu-item-media {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.menu-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-item-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.menu-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.95rem;
    border-radius: var(--radius-lg);
    background: rgba(6, 182, 212, 0.12);
    color: var(--color-accent-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all var(--transition-base);
}

.menu-order-btn:hover {
    background: rgba(6, 182, 212, 0.22);
    transform: translateY(-2px);
}

/* ========== GALLERY SECTION ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.75rem 0.9rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    font-size: 0.85rem;
    color: var(--color-text-white);
}
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text {
    order: 2;
}

.about-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-image {
    order: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
}

.contact-card-location {
    grid-column: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-accent-cyan);
    border-radius: 50%;
}

.contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-white);
}

.contact-link {
    display: inline-block;
    color: var(--color-accent-cyan);
    font-weight: 500;
    transition: all var(--transition-base);
}

.contact-link:hover {
    color: var(--color-text-white);
    text-decoration: underline;
}

.hours-list {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.hours-list span {
    font-weight: 600;
    color: var(--color-text-light);
}

.contact-address {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--color-accent-cyan);
    color: var(--color-text-white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-map-link:hover {
    box-shadow: var(--shadow-glow-cyan);
    transform: translateY(-2px);
}

/* ========== SOCIAL MEDIA SECTION ========== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.social-link-instagram:hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(131, 58, 180, 0.4);
    transform: translateY(-4px);
}

.social-link-tiktok:hover {
    background: #000000;
    border-color: #00f2ea;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
    transform: translateY(-4px);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-white);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--color-accent-gold);
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.cta-button:hover {
    box-shadow: var(--shadow-glow-gold);
    transform: translateY(-4px);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

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

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

.footer-social a:hover {
    background: var(--color-accent-cyan);
    color: var(--color-text-white);
    transform: translateY(-3px);
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    animation: pulse 2s ease-in-out infinite;
}

html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 2rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

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

/* ========== RESPONSIVE DESIGN ========== */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .bestsellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card-location {
        grid-column: 1 / -1;
    }
    
    .social-links {
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    html[dir="rtl"] .about-text {
        order: 2;
    }
    
    html[dir="rtl"] .about-image {
        order: 1;
    }
}

@media (min-width: 1024px) {
    /* Show desktop navigation */
    .navbar-nav-desktop {
        display: flex;
    }
    
    .navbar-cta {
        display: inline-flex;
    }
    
    /* Hide mobile menu toggle */
    .mobile-menu-toggle {
        display: none;
    }
    
    .bestsellers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .menu-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-card-location {
        grid-column: auto;
    }
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ========== UTILITY CLASSES ========== */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 2px;
}

/* Arabic typography: Almarai Bold for navigation */
html[lang="ar"] .nav-link,
html[lang="ar"] .subnav-link,
html[lang="ar"] .mobile-menu-link,
html[lang="ar"] .navbar-cta,
html[lang="ar"] .lang-toggle {
    font-family: var(--font-heading-ar);
}

html[lang="ar"] .nav-link,
html[lang="ar"] .subnav-link,
html[lang="ar"] .mobile-menu-link {
    font-weight: 700;
}