/* =========================================================
   SHEIKH ALHARA — ULTIMATE LUXURY CINEMATIC SYSTEM
   ========================================================= */

:root {
    --bg-deep: #050608;
    --bg-surface: #080808;
    --bg-card: rgba(20, 22, 28, 0.72);
    --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);
    --font-family: "Cairo", "Tajawal", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-deep); color: var(--text-main); font-family: var(--font-family); line-height: 1.8; overflow-x: hidden; }

.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    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);
}

/* PRELOADER */
.preloader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--bg-deep); transition: opacity 0.7s ease; }
.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); }
.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); animation: loadProgress 1.5s infinite ease-in-out; }
@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.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); }
.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; border: 1.5px solid var(--gold); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 20px; font-weight: 800; color: var(--text-main); }
.brand-tagline { font-size: 11px; color: var(--gold); }

.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: 0.3s; }
.nav-link:hover { color: var(--gold-light); }

.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; }
.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; }
.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); }

/* HERO */
.hero-cinematic { position: relative; min-height: 80vh; display: flex; align-items: center; padding: 0 40px; z-index: 1; }
.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; }
.hero-headline { font-size: clamp(38px, 5vw, 72px); font-weight: 900; line-height: 1.2; margin-bottom: 24px; }
.hero-subtext { font-size: 18px; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }
.hero-cta-group { display: flex; gap: 20px; flex-wrap: wrap; }

.btn-primary-glow { padding: 16px 36px; background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%); color: var(--bg-deep); font-weight: 800; border-radius: 50px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.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; border-radius: 50px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* MENU SECTION */
.menu-cinematic-section { padding: 100px 40px; background: radial-gradient(circle at 50% 0%, #111a14 0%, var(--bg-deep) 75%); }
.menu-toolbar-wrapper { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-bottom: 50px; }
.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; }
.search-glass-box svg { color: var(--gold); }
.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 { 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: 0.3s; }
.menu-filter-button:hover, .menu-filter-button.is-active { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--bg-deep); border-color: transparent; }

.menu-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 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; box-shadow: 0 18px 45px rgba(0,0,0,0.55); }
.menu-card-title { font-size: 21px; font-weight: 800; color: var(--text-main); margin-bottom: 10px; }
.menu-card-description { color: var(--text-muted); font-size: 14px; 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; }
.menu-card-price { font-size: 21px; font-weight: 900; color: var(--gold-light); }
.menu-card-add { padding: 10px 24px; background: rgba(214, 169, 79, 0.18); border: 1px solid var(--gold); border-radius: 50px; color: var(--gold-light); font-weight: 800; cursor: pointer; transition: 0.3s; }
.menu-card-add:hover { background: var(--gold); color: var(--bg-deep); }

/* CONTACT */
.contact-cinematic-section { padding: 100px 40px; background: #080c09; }
.contact-grid-wrapper { 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; }
.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; margin-bottom: 6px; }
.contact-details p { color: var(--text-muted); font-size: 14px; }

/* CART DRAWER */
.luxury-cart-drawer { position: fixed; top: 0; left: 0; width: min(460px, 100%); height: 100vh; background: #0d120f; border-right: 1px solid var(--border-gold); z-index: 5001; display: flex; flex-direction: column; transform: translateX(-105%); transition: transform 0.5s ease; }
.luxury-cart-drawer.is-open { transform: translateX(0); }
.drawer-header { padding: 30px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(214, 169, 79, 0.15); }
.drawer-header h3 { color: var(--gold-light); font-size: 22px; }
.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; }
.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; }
.drawer-footer { padding: 30px; border-top: 1px solid rgba(214, 169, 79, 0.15); background: #070a08; }
.drawer-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; color: var(--text-muted); }
.drawer-total-row strong { color: var(--gold-light); font-size: 26px; }

/* MODALS */
.cart-backdrop, .modal-backdrop { 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; transition: 0.3s !important; }
.cart-backdrop.is-visible, .modal-backdrop.is-visible { opacity: 1 !important; visibility: visible !important; }
.modal-backdrop { display: grid !important; place-items: center !important; padding: 20px !important; }
.luxury-modal-card { width: min(600px, 92vw); background: #0d0f14; border: 1px solid var(--border-gold); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-luxury); }
.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; }
.form-group input, .form-group textarea { padding: 14px 20px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle); border-radius: 10px; color: var(--text-main); outline: none; }

.section-header-center { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header-center h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-top: 10px; }
.cinematic-footer { background: #030406; border-top: 1px solid var(--border-gold); padding: 60px 40px 20px; }
.footer-bottom-bar { text-align: center; border-top: 1px solid var(--border-subtle); padding-top: 25px; color: var(--text-muted); font-size: 13px; }