/* ============================================
   Local Typography Setup (Hacen Egypt & DecoType Naskh)
   High-performance zero-CLS local font loading
   ============================================ */
@font-face {
    font-family: 'Hacen Egypt';
    src: url('../fonts/hacen-egypt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DecoType Naskh';
    src: url('../fonts/decotype-naskh-variants.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   Luxury Floating Header - Premium Edition
   Colors: #AD8B73, #CEAB93, #E3CAA5, #FFFBE9
   ============================================ */

:root {
    --font-primary: 'Hacen Egypt', 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-secondary: 'DecoType Naskh', Tahoma, Arial, sans-serif;
    --primary-dark: #AD8B73;
    --secondary-dark: #CEAB93;
    --accent-light: #E3CAA5;
    --accent-cream: #FFFBE9;
    --gold: #AD8B73;
    --glass-bg: rgba(173, 139, 115, 0.65);
    --glass-border: rgba(227, 202, 165, 0.15);
    --glass-hover: rgba(227, 202, 165, 0.1);
    --anim-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --anim-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: var(--font-secondary);
    background: #1E1511;
    color: var(--accent-cream);
    overflow-x: hidden;
}

/* ============================================
   Background Image
   ============================================ */
/* =====================================
   الصورة الرئيسية - التنسيق الأساسي
===================================== */
.bg-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 620px;
    min-height: 320px;
    margin-top: 24px;
    overflow: hidden;
    isolation: isolate;
    background-color: #2D211B;
    border-radius: var(--r-lg, 24px);
    box-shadow: var(--shadow-xl, 0 20px 50px rgba(0, 0, 0, 0.25));
}

/* الصورة نفسها */
.bg-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease;
}

/* تأثير خفيف عند مرور المؤشر */
.bg-image:hover img {
    transform: scale(1.03);
}

/* الطبقة الشفافة فوق الصورة */
.bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(20, 15, 15, 0.18) 0%,
        rgba(20, 15, 15, 0.08) 45%,
        rgba(20, 15, 15, 0.55) 100%
    );
}

/* =====================================
   الأجهزة اللوحية
===================================== */
@media (max-width: 1024px) {
    .bg-image {
        aspect-ratio: 16 / 10;
        min-height: 300px;
        max-height: 520px;
        margin-top: 20px;
        border-radius: 20px;
    }
}

/* =====================================
   الهواتف
===================================== */
@media (max-width: 768px) {
    .bg-image {
        width: calc(100% - 24px);
        aspect-ratio: 4 / 3;
        min-height: 260px;
        max-height: 420px;
        margin: 20px auto 32px;
        border-radius: 18px;
    }

    .bg-image img {
        object-position: center center;
        transform: none;
    }

    .bg-image:hover img {
        transform: none;
    }

    .bg-overlay {
        background: linear-gradient(
            180deg,
            rgba(20, 15, 15, 0.12) 0%,
            rgba(20, 15, 15, 0.12) 40%,
            rgba(20, 15, 15, 0.62) 100%
        );
    }
}

/* الهواتف الصغيرة */
@media (max-width: 480px) {
    .bg-image {
        width: calc(100% - 16px);
        aspect-ratio: 4 / 3;
        min-height: 230px;
        margin-top: 16px;
        margin-bottom: 24px;
        border-radius: 14px;
    }
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(13, 7, 7, 0.7) 0%, 
        rgba(173, 139, 115, 0.5) 50%, 
        rgba(13, 7, 7, 0.8) 100%);
}

/* ============================================
   Floating Header
   ============================================ */
.luxury-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 1200px;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.8rem 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(227, 202, 165, 0.1);
    transition: all 0.4s var(--anim-smooth);
}

.header-nav.scrolled {
    background: rgba(173, 139, 115, 0.85);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Logo
   ============================================ */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(227, 202, 165, 0.1);
    border: 1px solid rgba(227, 202, 165, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    transition: all 0.3s var(--anim-smooth);
}

.logo-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.header-logo:hover .logo-icon {
    background: rgba(227, 202, 165, 0.2);
    border-color: rgba(227, 202, 165, 0.4);
    transform: scale(1.05);
}

.logo-text h1,
.logo-text .brand-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-cream);
    line-height: 1.1;
    display: block;
}

.logo-text span {
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    color: var(--accent-light);
    opacity: 0.7;
    letter-spacing: 0.5px;
}

/* ============================================
   Desktop Navigation
   ============================================ */
.nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 251, 233, 0.75);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s var(--anim-smooth);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--accent-light);
    border-radius: 1px;
    transition: all 0.3s var(--anim-smooth);
}

.nav-link:hover {
    color: var(--accent-cream);
    background: var(--glass-hover);
}

.nav-link:hover::before {
    width: 50%;
}

.nav-link.active {
    color: var(--accent-cream);
    background: rgba(227, 202, 165, 0.12);
}

.nav-link.active::before {
    width: 50%;
}

/* ============================================
   Action Buttons
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(227, 202, 165, 0.08);
    border: 1px solid rgba(227, 202, 165, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    cursor: pointer;
    position: relative;
    transition: all 0.3s var(--anim-smooth);
}

.action-btn:hover {
    background: rgba(227, 202, 165, 0.15);
    border-color: rgba(227, 202, 165, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 202, 165, 0.1);
}

.action-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Direct call — high priority on mobile local SEO / conversion */
a.header-call-btn {
    color: var(--accent-cream, #FFFBE9);
    background: rgba(173, 139, 115, 0.35);
    border-color: rgba(227, 202, 165, 0.45);
}
a.header-call-btn:hover {
    background: rgba(173, 139, 115, 0.55);
    border-color: rgba(227, 202, 165, 0.7);
    color: #FFFBE9;
}

/* Notification Badge */
.notif-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #AD8B73, #CEAB93);
    border-radius: 50%;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* CTA Button */
.cta-btn {
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-light), #CEAB93);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s var(--anim-smooth);
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 202, 165, 0.3);
    background: linear-gradient(135deg, #E3CAA5, var(--accent-light));
}

.cta-btn:active {
    transform: translateY(0) scale(0.97);
}

/* ============================================
   MODERN MENU BUTTON (Dot + Lines + Circle)
   ============================================ */
.modern-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(227, 202, 165, 0.08);
    border: 1px solid rgba(227, 202, 165, 0.2);
    cursor: pointer;
    display: none; /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--anim-smooth);
}

.modern-menu-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 50%, rgba(227, 202, 165, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-menu-btn:hover {
    background: rgba(227, 202, 165, 0.15);
    border-color: rgba(227, 202, 165, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 202, 165, 0.15);
}

.modern-menu-btn:hover::before {
    opacity: 1;
}

.modern-menu-btn:active {
    transform: scale(0.93);
}

/* SVG Animation */
.menu-svg {
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--anim-smooth);
}

.menu-circle {
    transition: all 0.4s var(--anim-spring);
    transform-origin: center;
}

.menu-line {
    transition: all 0.4s var(--anim-smooth);
}

.menu-dot {
    transition: all 0.4s var(--anim-spring);
}

/* Active State */
.modern-menu-btn.active {
    background: rgba(227, 202, 165, 0.2);
    border-color: rgba(227, 202, 165, 0.5);
    color: var(--accent-cream);
}

.modern-menu-btn.active .menu-circle {
    stroke-dasharray: 113;
    stroke-dashoffset: 0;
}

.modern-menu-btn.active .menu-top {
    transform: translateY(3px) rotate(45deg);
    transform-origin: center;
}

.modern-menu-btn.active .menu-bottom {
    transform: translateY(-3px) rotate(-45deg);
    transform-origin: center;
}

.modern-menu-btn.active .menu-dot {
    r: 3.5;
    fill: var(--accent-cream);
    filter: drop-shadow(0 0 4px rgba(227, 202, 165, 0.5));
}

/* ============================================
   Search Dropdown
   ============================================ */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(173, 139, 115, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.35s var(--anim-smooth);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.search-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #FFFBE9;
    border: 1px solid #CEAB93;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #5A4032;
}

.search-input-wrapper input {
    flex: 1;
    min-width: 0;
    background: transparent !important;
    border: none;
    outline: none;
    color: #1E1511 !important;
    caret-color: #AD8B73;
    font-size: 0.85rem;
    direction: rtl;
}

.search-input-wrapper input::placeholder {
    color: rgba(45, 33, 27, 0.7) !important;
}

.search-input-wrapper input:focus-visible {
    outline: 2px solid #AD8B73;
    outline-offset: 2px;
}

.search-suggestions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.suggestion {
    background: rgba(227, 202, 165, 0.08);
    border: 1px solid rgba(227, 202, 165, 0.12);
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    color: var(--accent-light);
    cursor: pointer;
    transition: all 0.25s ease;
}

.suggestion:hover {
    background: rgba(227, 202, 165, 0.15);
    border-color: rgba(227, 202, 165, 0.3);
}

.search-results {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.8rem;
    max-height: min(42vh, 18rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.search-result {
    display: grid;
    gap: 0.2rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(227, 202, 165, 0.42);
    border-radius: 9px;
    background: #2D211B;
    color: #FFFBE9;
    text-decoration: none;
    direction: rtl;
    text-align: right;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.search-result:hover,
.search-result:focus-visible {
    background: #5A4032;
    border-color: #E3CAA5;
    outline: none;
}

.search-result strong {
    color: #FFFBE9;
    font-size: 0.82rem;
}

.search-result span,
.search-status {
    color: #E3CAA5;
    font-size: 0.7rem;
    line-height: 1.55;
}

.search-status {
    margin: 0.65rem 0 0;
    direction: rtl;
    text-align: right;
}

/* ============================================
   PREMIUM MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(13, 7, 7, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--anim-smooth);
}

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

/* Decorative circles */
.menu-decor-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(227, 202, 165, 0.08);
    opacity: 0;
    transition: all 0.6s var(--anim-smooth);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    right: -60px;
}

.mobile-menu-overlay.visible .menu-decor-circle {
    opacity: 1;
}

/* Inner content */
.mobile-menu-inner {
    width: 100%;
    max-width: 380px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Menu Header */
.mobile-menu-header {
    text-align: right;
    margin-bottom: 1.2rem;
}

.menu-title {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-cream);
    margin-bottom: 0.2rem;
}

.menu-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--accent-light);
    opacity: 0.6;
    letter-spacing: 0.5px;
}

/* Divider */
.menu-divider,
.menu-divider-bottom {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 202, 165, 0.2), transparent);
}

.menu-divider-bottom {
    margin: 1.2rem 0;
}

/* Nav List - Right Aligned */
.mobile-nav-container {
    margin: 1rem 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-item {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s var(--anim-smooth);
    transition-delay: calc(var(--i) * 0.06s + 0.1s);
}

.mobile-menu-overlay.visible .mobile-nav-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* RTL: align to right */
    gap: 1rem;
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(227, 202, 165, 0.06);
    padding-right: 1rem;
}

.mobile-nav-link:active {
    background: rgba(227, 202, 165, 0.1);
}

.link-number {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.5;
    font-variant-numeric: tabular-nums;
    min-width: 24px;
    text-align: left;
}

.link-label {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-cream);
    flex: 1;
}

.link-arrow {
    font-size: 0.8rem;
    color: var(--accent-light);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover .link-arrow {
    opacity: 0.6;
    transform: translateX(0);
}

/* Footer */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mobile-cta-btn {
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-light), #CEAB93);
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s var(--anim-smooth);
}

.mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 202, 165, 0.3);
}

.mobile-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255, 251, 233, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-cream);
}

.contact-separator {
    font-size: 0.7rem;
    color: rgba(227, 202, 165, 0.3);
}

/* ============================================
   Hero Demo Section - Luxury Cinematic Showcase
   ============================================ */
.hero-demo {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(7.5rem, 13vw, 10.5rem) 1.5rem clamp(4.5rem, 8vw, 6.5rem);
    box-sizing: border-box;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.03);
    filter: brightness(0.68) contrast(1.12) saturate(1.05);
    animation: heroCinematicZoom 25s ease-in-out infinite alternate;
}

@keyframes heroCinematicZoom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.09); }
}

.hero-backdrop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 7, 7, 0.8) 0%,
        rgba(13, 7, 7, 0.45) 35%,
        rgba(13, 7, 7, 0.78) 75%,
        #1E1511 100%
    );
}

.hero-light-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 60vw, 750px);
    height: clamp(280px, 40vw, 450px);
    background: radial-gradient(circle, rgba(206, 171, 147, 0.18) 0%, rgba(173, 139, 115, 0.08) 50%, transparent 75%);
    pointer-events: none;
    filter: blur(60px);
}

.hero-content-layer {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(173, 139, 115, 0.72);
    border: 1px solid rgba(206, 171, 147, 0.45);
    color: #E3CAA5;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.3rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #E3CAA5;
    border-radius: 50%;
    box-shadow: 0 0 12px #E3CAA5;
    animation: dotPulse 1.8s infinite ease-in-out;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-demo h1 {
    font-family: var(--font-primary, 'Hacen Egypt', Tahoma, Arial, sans-serif);
    font-size: clamp(2.3rem, 5.2vw, 4.2rem);
    font-weight: 900;
    line-height: 1.22;
    color: #FFFBE9;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.9);
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-highlight {
    display: block;
    margin-top: 0.35rem;
    background: linear-gradient(135deg, #E3CAA5 0%, #CEAB93 50%, #FFFBE9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.78em;
    filter: drop-shadow(0 4px 18px rgba(206, 171, 147, 0.35));
}

.hero-description {
    font-family: var(--font-secondary, 'DecoType Naskh', Tahoma, Arial, sans-serif);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 251, 233, 0.92);
    line-height: 1.85;
    max-width: 760px;
    margin: 0.4rem auto 1rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 2.1rem;
    background: linear-gradient(135deg, #CEAB93 0%, #E3CAA5 100%);
    color: #1E1511;
    font-family: var(--font-primary, 'Hacen Egypt', Tahoma, Arial, sans-serif);
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(206, 171, 147, 0.4);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 45px rgba(206, 171, 147, 0.55);
    background: linear-gradient(135deg, #E3CAA5 0%, #FFFBE9 100%);
}

.hero-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.85rem;
    background: rgba(173, 139, 115, 0.12);
    border: 1px solid rgba(173, 139, 115, 0.45);
    color: #E3CAA5;
    font-family: var(--font-secondary, 'DecoType Naskh', Tahoma, Arial, sans-serif);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn-whatsapp:hover {
    transform: translateY(-3px);
    background: rgba(173, 139, 115, 0.24);
    border-color: #E3CAA5;
    color: #FFFBE9;
    box-shadow: 0 10px 30px rgba(173, 139, 115, 0.3);
}

.hero-features-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(227, 202, 165, 0.14);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 251, 233, 0.88);
    font-size: 0.9rem;
    font-weight: 600;
}

.feat-dot {
    color: #E3CAA5;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hero-demo {
        padding: 7rem 1.2rem 4rem;
        min-height: auto;
    }
    .hero-bg-media img {
        animation: none;
        filter: none;
    }
    .hero-cta-group {
        width: 100%;
        flex-direction: column;
    }
    .hero-btn-primary,
    .hero-btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
    .hero-features-strip {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* ============================================
   Responsive
   ============================================ */

/* Hide desktop nav on tablet/mobile */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    .modern-menu-btn {
        display: flex;
    }
    .cta-btn {
        display: none;
    }
    a.header-call-btn {
        display: flex;
        width: 40px;
        height: 40px;
        background: rgba(173, 139, 115, 0.55);
        border-color: rgba(227, 202, 165, 0.55);
        box-shadow: 0 0 0 1px rgba(255, 251, 233, 0.12);
    }
    .header-nav {
        padding: 0.7rem 1rem;
    }
    .logo-text h1 {
        font-size: 0.95rem;
    }
    .logo-text span {
        font-size: 0.55rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .luxury-header {
        top: 8px;
        width: calc(100% - 16px);
    }
    .header-nav {
        border-radius: 16px;
        padding: 0.6rem 0.8rem;
    }
    .logo-icon {
        width: 34px;
        height: 34px;
    }
    .action-btn {
        width: 34px;
        height: 34px;
    }
    .modern-menu-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .mobile-menu-inner {
        padding: 1.5rem;
        max-width: 100%;
    }
    .menu-title {
        font-size: 1.3rem;
    }
    .link-label {
        font-size: 0.95rem;
    }
    .hero-demo h2 {
        font-size: 1.6rem;
    }
    .hero-demo p {
        font-size: 0.85rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-item,
    .menu-decor-circle,
    .search-dropdown {
        transition: none;
    }
    .badgePulse, .dotPulse {
        animation: none;
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(227, 202, 165, 0.3); border-radius: 2px; }




/* =====================================
   إعدادات عامة
===================================== */
:root {
    --header-top: 16px;
    --header-height: 76px; /* ارتفاع الهيدر التقريبي */
    --header-gap: 24px;    /* المسافة بين الهيدر والصورة */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* =====================================
   الهيدر الثابت
===================================== */
.luxury-header {
    position: fixed;
    top: var(--header-top);
    left: 50%;
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 1200px;
    transform: translateX(-50%);
}

/* =====================================
   الصورة الرئيسية أسفل الهيدر
===================================== */
.bg-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(360px, 48vw, 620px);
    margin-top: calc(
        var(--header-top) + var(--header-height) + var(--header-gap)
    );
    overflow: hidden;
    background: #2D211B;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    isolation: isolate;
}

.bg-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease;
}

/* طبقة احترافية فوق الصورة */
.bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(20, 15, 15, 0.15) 0%,
        rgba(20, 15, 15, 0.05) 42%,
        rgba(20, 15, 15, 0.58) 100%
    );
}

/* تكبير خفيف عند مرور المؤشر */
.bg-image:hover img {
    transform: scale(1.03);
}

/* =====================================
   الأجهزة اللوحية
===================================== */
@media (max-width: 1024px) {
    :root {
        --header-height: 72px;
        --header-gap: 20px;
    }

    .bg-image {
        height: clamp(320px, 55vw, 520px);
        border-radius: 0 0 22px 22px;
    }
}

/* =====================================
   الهواتف
===================================== */
@media (max-width: 768px) {
    :root {
        --header-top: 8px;
        --header-height: 64px;
        --header-gap: 18px;
    }

    .luxury-header {
        top: var(--header-top);
        width: calc(100% - 16px);
    }

    .bg-image {
        width: calc(100% - 16px);
        height: clamp(260px, 76vw, 420px);
        margin-right: auto;
        margin-left: auto;
        border-radius: 18px;
    }

    .bg-image img {
        object-position: center center;
    }

    .bg-image:hover img {
        transform: none;
    }
}

/* الهواتف الصغيرة جدًا */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
        --header-gap: 16px;
    }

    .bg-image {
        width: calc(100% - 16px);
        height: 285px;
        border-radius: 15px;
    }
}
