/* =========================================================
   ARD KANAAN — ULTIMATE LUXURY CINEMATIC SYSTEM
   LIVING EXPERIENCE & MOTION UPGRADE (VERSION 4.0)
   ========================================================= */

:root {
    --bg-deep: #050608;
    --bg-surface: #080808;
    --bg-card: rgba(20, 22, 28, 0.72);
    --bg-card-hover: rgba(30, 34, 42, 0.9);
    
    --gold: #D6A94F;
    --gold-light: #F3D085;
    --gold-dark: #C58B52;
    
    --text-main: #F4F5F7;
    --text-muted: #9BA1AE;
    
    --border-gold: rgba(214, 169, 79, 0.28);
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    --shadow-luxury: 0 30px 90px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(214, 169, 79, 0.2);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    
    --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce-soft: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --font-family: "Cairo", "Tajawal", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* RESPECT REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ATMOSPHERIC NOISE & LIVING AMBIENT LIGHTS */
.cinematic-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(160px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    will-change: transform;
}
.glow-1 { 
    top: -200px; 
    right: -200px; 
    background: var(--gold); 
    animation: driftGlowOne 20s infinite alternate ease-in-out;
}
.glow-2 { 
    bottom: 10%; 
    left: -250px; 
    background: #6b421a; 
    animation: driftGlowTwo 25s infinite alternate ease-in-out;
}

@keyframes driftGlowOne {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 120px) scale(1.25); }
}

@keyframes driftGlowTwo {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, -90px) scale(1.3); }
}

/* UTILITY & REVEAL SYSTEM */
.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(214, 169, 79, 0.08);
    border: 1px solid var(--border-gold);
}

/* SCROLL REVEAL BASE WITH 3D DEPTH */
.reveal, [data-reveal] {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
    will-change: opacity, transform;
}
.reveal.is-visible, [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* PRELOADER */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: var(--bg-deep);
    transition: opacity 0.7s var(--ease-cinematic), visibility 0.7s var(--ease-cinematic);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.preloader-logo { 
    width: 95px; 
    height: 95px; 
    object-fit: cover; 
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 30px rgba(214, 169, 79, 0.35);
    animation: floatLogo 2.5s infinite ease-in-out; 
}
.preloader-progress { width: 150px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.preloader-bar { width: 100%; height: 100%; background: var(--gold); transform: translateX(-100%); animation: loadProgress 1.5s infinite ease-in-out; }
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes loadProgress { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* HEADER */
.cinematic-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: 90px;
    background: rgba(5, 6, 8, 0.78);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}
.cinematic-header.is-scrolled {
    height: 75px;
    background: rgba(5, 6, 8, 0.96);
    border-bottom-color: var(--border-gold);
    box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}
.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand-identity { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-identity img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.06);
    border: 1.5px solid var(--gold);
    transition: var(--transition-smooth);
}
.brand-identity:hover img { transform: scale(1.14) rotate(8deg); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 20px; font-weight: 800; color: var(--text-main); letter-spacing: 0.5px; }
.brand-tagline { font-size: 11px; color: var(--gold); letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.is-active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-trigger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(214, 169, 79, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    color: var(--gold-light);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.cart-trigger-btn:hover { background: var(--gold); color: var(--bg-deep); transform: translateY(-3px) scale(1.02); }
.cart-badge {
    width: 22px; height: 22px;
    background: var(--gold); color: var(--bg-deep);
    border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; font-weight: 900;
    transition: transform 0.3s var(--ease-bounce-soft);
}
.mobile-menu-btn { display: none; flex-direction: column; gap: 6px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.mobile-menu-btn span { width: 100%; height: 2px; background: var(--gold); transition: var(--transition-smooth); }

/* HERO SECTION CINEMATIC MOTION */
.hero-cinematic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 40px;
    overflow: hidden;
    z-index: 1;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 28s infinite alternate ease-in-out; }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5,6,8,0.35) 0%, rgba(5,6,8,0.94) 100%), linear-gradient(180deg, rgba(5,6,8,0.5) 0%, var(--bg-deep) 100%);
}
.hero-content { max-width: 800px; padding-top: 80px; }
.hero-badge-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(214, 169, 79, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-glow);
    animation: fadeInDown 1s var(--ease-cinematic) forwards;
}
.hero-headline {
    font-size: clamp(42px, 6vw, 84px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    animation: fadeInUp 1s var(--ease-cinematic) 0.2s forwards;
    opacity: 0;
}
.hero-subtext { 
    font-size: 18px; 
    color: var(--text-muted); 
    max-width: 600px; 
    margin-bottom: 40px; 
    animation: fadeInUp 1s var(--ease-cinematic) 0.4s forwards;
    opacity: 0;
}
.hero-cta-group { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
    animation: fadeInUp 1s var(--ease-cinematic) 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary-glow {
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--bg-deep);
    font-weight: 800;
    font-size: 15px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(214, 169, 79, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.btn-primary-glow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 45px rgba(214, 169, 79, 0.55); }

.btn-glass-outline {
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-gold);
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.btn-glass-outline:hover { background: rgba(214, 169, 79, 0.1); border-color: var(--gold); transform: translateY(-3px) scale(1.02); }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    color: var(--gold-light);
    transform: translateX(-50%) translateY(4px);
}
.scroll-mouse {
    width: 24px; height: 40px;
    border: 2px solid var(--border-gold);
    border-radius: 20px;
    position: relative;
}
.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: var(--gold);
    border-radius: 4px; animation: mouseScroll 2s infinite;
}
@keyframes mouseScroll { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(16px); } }

/* SECTIONS COMMON */
section { position: relative; z-index: 1; padding: 120px 40px; }
.container-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.container-fluid { max-width: 1400px; margin: 0 auto; }
.section-header-center { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header-center h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-top: 10px; }

/* STORY SECTION */
.story-text-content h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.3; margin: 15px 0 25px; }
.story-lead { font-size: 18px; color: var(--gold-light); margin-bottom: 15px; }
.story-desc { color: var(--text-muted); margin-bottom: 35px; }
.story-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-box { padding: 20px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); transition: var(--transition-smooth); }
.feature-box:hover { border-color: var(--border-gold); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.feature-box strong { display: block; color: var(--gold); font-size: 16px; margin-bottom: 5px; }
.feature-box span { color: var(--text-muted); font-size: 13px; }

.story-visuals { position: relative; height: 500px; }
.visual-card { position: absolute; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-gold); box-shadow: var(--shadow-luxury); transition: var(--transition-smooth); }
.visual-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-cinematic); }
.visual-card:hover { transform: scale(1.03) translateY(-4px); border-color: var(--gold-light); }
.visual-card:hover img { transform: scale(1.1); }
.main-v { width: 75%; height: 80%; top: 0; right: 0; z-index: 2; }
.sub-v { width: 55%; height: 60%; bottom: 0; left: 0; z-index: 3; }

/* LUXURY INTERACTIVE MENU CARDS WITH 3D TILT SUPPORT */
.menu-cinematic-section {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #111a14 0%, var(--bg-deep) 75%);
    padding: 130px 40px;
}

.menu-toolbar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 65px;
}

.search-glass-box {
    width: min(540px, 100%);
    height: 60px;
    padding: 0 26px;
    background: rgba(15, 22, 17, 0.9);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
    transition: var(--transition-smooth);
}
.search-glass-box:focus-within {
    border-color: var(--gold-light);
    box-shadow: 0 0 35px rgba(214, 169, 79, 0.3);
    transform: scale(1.01);
}
.search-glass-box svg { color: var(--gold); flex-shrink: 0; }
.search-glass-box input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 16px;
}

.category-pills-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.menu-filter-button,
.category-pill {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.menu-filter-button:hover,
.category-pill:hover {
    color: var(--gold-light);
    border-color: var(--border-gold);
    background: rgba(214, 169, 79, 0.08);
    transform: translateY(-3px);
}
.menu-filter-button.is-active,
.category-pill.is-active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-deep);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(214, 169, 79, 0.35);
}

.menu-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.menu-card {
    background: linear-gradient(145deg, rgba(18, 26, 21, 0.94) 0%, rgba(10, 14, 12, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 22px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.6;
}

.menu-card:hover {
    border-color: var(--gold-light);
    box-shadow: 0 35px 75px rgba(0, 0, 0, 0.85), 0 0 35px rgba(214, 169, 79, 0.22);
}

.menu-card-image,
.menu-card img {
    display: none !important;
}

.menu-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-card-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.menu-card:hover .menu-card-title {
    color: var(--gold-light);
}

.menu-card-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 22px;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(214, 169, 79, 0.14);
    padding-top: 18px;
    margin-top: auto;
}

.menu-card-price {
    font-size: 21px;
    font-weight: 900;
    color: var(--gold-light);
}

.menu-card-add {
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(214, 169, 79, 0.18) 0%, rgba(197, 139, 82, 0.12) 100%);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold-light);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-card-add:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--bg-deep);
    box-shadow: 0 8px 25px rgba(214, 169, 79, 0.45);
    transform: translateY(-2px) scale(1.05);
}

/* FOOTER */
.cinematic-footer { background: #030406; border-top: 1px solid var(--border-gold); padding: 80px 40px 30px; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col-brand img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 15px; border-radius: 50%; border: 2px solid var(--gold); }
.footer-col-brand h3 { font-size: 22px; color: var(--gold-light); margin-bottom: 10px; }
.footer-col-brand p, .footer-col-info p { color: var(--text-muted); font-size: 14px; }
.footer-col-links h4, .footer-col-info h4 { color: var(--text-main); font-size: 16px; margin-bottom: 20px; }
.footer-col-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; transition: var(--transition-smooth); font-size: 14px; }
.footer-col-links a:hover { color: var(--gold); transform: translateX(-4px); }
.footer-bottom-bar { text-align: center; border-top: 1px solid var(--border-subtle); padding-top: 30px; color: var(--text-muted); font-size: 13px; }

/* CART DRAWER & MODALS */
.cart-drawer, .luxury-cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(460px, 100%);
    height: 100vh;
    background: linear-gradient(180deg, #0d120f 0%, #070a08 100%);
    border-right: 1px solid var(--border-gold);
    z-index: 5001;
    display: flex;
    flex-direction: column;
    box-shadow: 15px 0 60px rgba(0, 0, 0, 0.85);
    transform: translateX(-105%);
    transition: transform 0.6s var(--ease-cinematic);
}

.cart-drawer.is-open, .luxury-cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-header, .drawer-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(214, 169, 79, 0.15);
    background: rgba(13, 18, 15, 0.95);
}

.cart-drawer-header h2, .drawer-header h3 {
    color: var(--gold-light);
    font-size: 22px;
    font-weight: 800;
}

.cart-close-button, .drawer-close-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 22px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-close-button:hover, .drawer-close-btn:hover {
    background: #c66c5b;
    border-color: #c66c5b;
    color: #fff;
    transform: rotate(90deg);
}

.cart-items-container, .drawer-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: center;
    transition: var(--transition-smooth);
}

.cart-item:hover {
    border-color: var(--border-gold);
    background: rgba(214, 169, 79, 0.03);
    transform: translateX(-4px);
}

.cart-item-image,
.cart-item img {
    display: none !important;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-details h3 {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 800;
}

.cart-item-details p {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

.cart-item-details strong {
    color: var(--gold-light);
    font-size: 17px;
    font-weight: 900;
    margin-top: 4px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.cart-item-controls button:not([data-cart-action="remove"]) {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(214, 169, 79, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-weight: 800;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-item-controls button:not([data-cart-action="remove"]):hover {
    background: var(--gold);
    color: var(--bg-deep);
    transform: scale(1.1);
}

.cart-item-controls span {
    color: var(--text-main);
    font-weight: 800;
    font-size: 15px;
    min-width: 22px;
    text-align: center;
}

.cart-item-controls button[data-cart-action="remove"],
.remove-cart-item {
    background: none;
    border: none;
    color: #c66c5b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-right: auto;
    padding: 4px 8px;
    transition: var(--transition-smooth);
}

.cart-item-controls button[data-cart-action="remove"]:hover,
.remove-cart-item:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.cart-drawer-footer, .drawer-footer {
    padding: 30px;
    border-top: 1px solid rgba(214, 169, 79, 0.15);
    background: rgba(10, 14, 12, 0.95);
}

.cart-total-row, .drawer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 16px;
    color: var(--text-muted);
}

.cart-total-row strong, .drawer-total-row strong {
    color: var(--gold-light);
    font-size: 26px;
    font-weight: 900;
}

.checkout-button, .checkout-trigger {
    width: 100%;
    min-height: 54px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--bg-deep);
    font-weight: 800;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(214, 169, 79, 0.3);
    transition: var(--transition-smooth);
    margin-bottom: 12px;
    display: grid;
    place-items: center;
}

.checkout-button:hover, .checkout-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(214, 169, 79, 0.5);
}

.cart-browse-button, .cart-continue-btn {
    width: 100%;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: grid;
    place-items: center;
}

.cart-browse-button:hover, .cart-continue-btn:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(214, 169, 79, 0.05);
}

/* MODALS */
.luxury-modal-card {
    position: relative; width: min(600px, 92vw); background: #0d0f14;
    border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow-luxury); max-height: 90vh; overflow-y: auto;
    animation: modalScaleIn 0.4s var(--ease-cinematic) forwards;
}
@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-body-content h2, .checkout-card h2 { font-size: 26px; color: var(--gold-light); margin-bottom: 15px; font-weight: 800; }
.modal-price-tag { font-size: 22px; font-weight: 900; color: var(--gold); margin: 20px 0; }
.luxury-form { display: flex; flex-direction: column; gap: 20px; margin-top: 25px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea {
    padding: 14px 20px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
    color: var(--text-main); font-family: var(--font-family); outline: none; transition: var(--transition-smooth);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); background: rgba(214,169,79,0.03); box-shadow: 0 0 15px rgba(214, 169, 79, 0.15); }
.form-status-msg { min-height: 24px; color: #87a77b; font-weight: 700; font-size: 14px; }

/* LIGHTBOX */
.lightbox-overlay { display: grid; place-items: center; padding: 40px; }
.lightbox-img-wrap img { max-width: 100%; max-height: 85vh; border-radius: var(--radius-md); border: 1px solid var(--border-gold); }
.lightbox-close { position: absolute; top: 30px; left: 30px; }

/* CINEMATIC GALLERY & CONTACT SECTIONS */
.gallery-cinematic-section {
    background: var(--bg-deep);
    padding: 120px 40px;
}

.cinematic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item-card {
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background: #0d120f;
}

.gallery-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-cinematic);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 8, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 35px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay-content {
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.gallery-overlay-content span {
    display: block;
    color: var(--gold-light);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.gallery-overlay-content small {
    color: var(--text-muted);
    font-size: 14px;
}

.gallery-item-card:hover img {
    transform: scale(1.08);
}

.gallery-item-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-card:hover .gallery-overlay-content {
    transform: translateY(0);
}

.contact-cinematic-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, #080c09 100%);
    padding: 130px 40px;
    border-top: 1px solid var(--border-subtle);
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.contact-card-item:hover {
    border-color: var(--border-gold);
    transform: translateX(-5px);
    background: var(--bg-card-hover);
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(214, 169, 79, 0.1);
    border: 1px solid var(--border-gold);
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--gold-light);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-luxury);
    backdrop-filter: blur(15px);
}

.contact-form-box h3 {
    color: var(--gold-light);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
}

.product-option, 
#productModalOptions label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    cursor: pointer;
    /* تقليص وقت الانتقال إلى 0.15 ثانية لاستجابة فورية */
    transition: border-color 0.15s ease, background-color 0.15s ease;
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    will-change: border-color, background-color;
}

.product-option:hover,
#productModalOptions label:hover {
    border-color: var(--border-gold);
    background: rgba(214, 169, 79, 0.06);
}

.product-option.is-selected,
#productModalOptions label:has(input:checked) {
    border-color: var(--gold);
    background: rgba(214, 169, 79, 0.15);
}

/* BACKDROP OVERLAYS */
.cart-backdrop, 
.modal-backdrop, 
.product-modal-backdrop, 
.checkout-modal-backdrop, 
.lightbox-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 5000 !important;
    background: rgba(3, 4, 6, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: var(--transition-smooth) !important;
}

.cart-backdrop.is-visible, 
.cart-backdrop.is-open,
.modal-backdrop[aria-hidden="false"], 
.modal-backdrop.is-visible,
.modal-backdrop.is-open,
.modal-backdrop.is-active,
.product-modal-backdrop[aria-hidden="false"], 
.product-modal-backdrop.is-visible,
.product-modal-backdrop.is-open,
.checkout-modal-backdrop[aria-hidden="false"], 
.checkout-modal-backdrop.is-visible,
.checkout-modal-backdrop.is-open,
.lightbox-overlay[aria-hidden="false"],
.lightbox-overlay.is-visible,
.lightbox-overlay.is-open,
.lightbox-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.modal-backdrop, 
.product-modal-backdrop, 
.checkout-modal-backdrop {
    display: grid !important;
    place-items: center !important;
    padding: 20px !important;
    overflow-y: auto !important;
}

.luxury-modal-card {
    margin: auto !important;
    max-width: min(600px, 92vw) !important;
}

/* SHIMMER EFFECT FOR MAIN CTA BUTTONS */
.btn-primary-glow,
.btn-glass-outline {
    position: relative;
    overflow: hidden;
}

.btn-primary-glow::after,
.btn-glass-outline::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(30deg);
    pointer-events: none;
    opacity: 0;
}

.btn-primary-glow:hover::after,
.btn-glass-outline:hover::after {
    opacity: 1;
    animation: buttonSparkle 0.7s ease-in-out forwards;
}

@keyframes buttonSparkle {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* CHECKOUT SUMMARY BOX */
.checkout-summary-box {
    background: rgba(10, 14, 12, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 200px;
    overflow-y: auto;
    padding-left: 6px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(214, 169, 79, 0.18);
    padding-bottom: 16px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: var(--text-main);
    padding: 4px 0;
}

.checkout-summary-row span {
    color: var(--text-muted);
    font-weight: 600;
}

.checkout-summary-row strong {
    color: var(--gold-light);
    font-weight: 800;
    font-size: 15px;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: var(--text-main);
    padding-top: 4px;
}

.checkout-summary-total span {
    font-weight: 800;
    color: var(--gold);
}

.checkout-summary-total strong {
    color: var(--gold-light);
    font-size: 24px;
    font-weight: 900;
}

.checkout-modal-backdrop {
    display: block !important;
    overflow-y: auto !important;
    padding: 40px 20px !important;
}

.checkout-modal-backdrop .luxury-modal-card.checkout-card {
    margin: 40px auto !important;
    max-height: none !important;
    transform: none !important;
    overflow-y: visible !important;
}

.checkout-card .luxury-form {
    margin-top: 15px !important;
}

/* =========================================================
   RESPONSIVE DESIGN & MOBILE FIXES (ALL DEVICES)
   ========================================================= */

@media (max-width: 992px) {
    section {
        padding: 80px 20px;
    }

    .header-container {
        padding: 0 20px;
    }

    /* تفعيل قائمة الموبايل عند الضغط على الزر */
    .nav-links {
        position: fixed;
        top: 75px;
        right: 0;
        left: 0;
        background: rgba(8, 10, 14, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 22px;
        border-bottom: 1px solid var(--border-gold);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
        display: none;
        z-index: 999;
    }

    .nav-links.is-open {
        display: flex;
        animation: fadeInDown 0.35s var(--ease-cinematic) forwards;
    }

    .mobile-menu-btn {
        display: flex;
        justify-content: center;
    }

    /* تحويل زر القائمة إلى X عند الفتح */
    .mobile-menu-btn.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .container-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-visuals {
        height: 360px;
    }

    /* إصلاح شبكة المنيو للشاشات الصغيرة */
    .menu-cinematic-section {
        padding: 90px 18px;
    }

    .menu-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-card {
        padding: 22px;
    }

    .cinematic-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item-card {
        height: 280px;
    }

    /* إصلاح قسم التواصل في الموبايل */
    .contact-cinematic-section {
        padding: 90px 18px;
    }

    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-card-item {
        padding: 20px;
        gap: 15px;
    }

    .contact-form-box {
        padding: 25px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-cinematic {
        padding: 0 20px;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-subtext {
        font-size: 15px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group a {
        width: 100%;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-tagline {
        display: none;
    }

    .cart-trigger-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .story-features {
        grid-template-columns: 1fr;
    }

    .category-pills-container {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .menu-filter-button {
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 13px;
    }
}
/* ضمان ظهور قسم المنيو وبطاقاته دائماً على جميع الأجهزة */
#menu,
#menu.reveal,
#menuProductsGrid,
.menu-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}