/*
 * AL BURAQ GROUP - Base CSS Design System
 * Premium Corporate Design with Gold & Deep Blue theme
 */

/* ================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ================================================ */
:root {
    /* Brand Colors */
    --gold-primary: #C48F1E;
    --gold-light: #E6B74F;
    --gold-dark: #9A6F15;
    --gold-gradient: linear-gradient(135deg, #C48F1E 0%, #E6B74F 50%, #C48F1E 100%);
    
    /* Background Colors */
    --bg-dark: #0A1628;
    --bg-darker: #050D18;
    --bg-card: #0F1D32;
    --bg-card-hover: #142440;
    --bg-glass: rgba(15, 29, 50, 0.8);

    /* Accent Colors */
    --teal: #00C8B8;
    --teal-light: #00E5D0;
    --purple: #8B5CF6;
    --purple-light: #A78BFA;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D3;
    --text-muted: #6B7A8F;
    --text-gold: #E6B74F;
    
    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-arabic: 'Cairo', 'Noto Sans Arabic', sans-serif;
    --font-heading: 'Outfit', var(--font-primary);
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);
    --shadow-glow-gold: 0 0 20px rgba(196, 143, 30, 0.4);
    --shadow-glow-teal: 0 0 20px rgba(0, 200, 184, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
}

/* RTL Support */
[dir="rtl"] {
    --font-primary: var(--font-arabic);
}

/* ================================================
   RESET & BASE STYLES
   ================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(196, 143, 30, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 200, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-primary);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-light), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-lg {
    padding: var(--space-3xl) 0;
}

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(196, 143, 30, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-light);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.btn-teal {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow-teal);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 200, 184, 0.6);
}

.btn-ghost {
    background: var(--bg-glass);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-primary);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ================================================
   CARDS
   ================================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(196, 143, 30, 0.3);
    box-shadow: var(--shadow-xl);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    padding: var(--space-xl);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-darker));
}

.product-card-image-frame {
    height: 200px;
    padding: 1rem;
}

.product-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* Service Cards */
.service-card {
    position: relative;
    padding: var(--space-xl);
    text-align: center;
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: var(--radius-xl);
    font-size: var(--text-3xl);
    color: var(--bg-dark);
    transition: all var(--transition-base);
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow-gold);
}

/* ================================================
   FORMS
   ================================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(196, 143, 30, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B8C5D3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-2xl);
}

/* ================================================
   NAVIGATION
   ================================================ */
/* ================================================================
   HEADER — Option 2: centered logo + gold curve + consultation CTA
   ================================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--z-fixed);
    padding: 0.4rem 0 0.5rem;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.96) 0%, rgba(8, 18, 33, 0.92) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(196, 143, 30, 0.18);
    transition: padding .35s ease, box-shadow .35s ease;
}
.navbar.scrolled {
    padding: 0.15rem 0 0.3rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Top row: left actions | centered logo | consultation CTA */
.navbar-top {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-md);
    min-height: 72px;
}
.navbar-left { display: flex; align-items: center; gap: 0.6rem; justify-self: start; }
.navbar-right { display: flex; align-items: center; gap: 0.6rem; justify-self: end; }

/* Centered logo */
.navbar-brand { justify-self: center; display: flex; align-items: center; z-index: 2; }
.navbar-brand img {
    height: 70px; width: auto;
    filter: drop-shadow(0 6px 18px rgba(196, 143, 30, 0.45));
    transition: transform .3s ease, height .35s ease;
}
.navbar.scrolled .navbar-brand img { height: 52px; }
.navbar-brand:hover img { transform: scale(1.05); }

/* Gold curve cradling the logo */
.navbar-curve {
    position: absolute;
    left: 0; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 100%; height: 76px;
    z-index: 0; pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(230, 183, 79, 0.45));
}

/* Icon buttons (account / cart) */
.nav-icon-btn {
    position: relative;
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}
.nav-icon-btn:hover {
    color: var(--gold-light);
    border-color: rgba(196, 143, 30, 0.4);
    background: rgba(196, 143, 30, 0.10);
    transform: translateY(-2px);
}
.cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 19px; height: 19px; padding: 0 5px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-gradient); color: var(--bg-dark);
    font-size: 11px; font-weight: 800;
    border-radius: var(--radius-full); border: 2px solid var(--bg-dark);
}

/* Language switcher */
.language-switcher { position: relative; }
.language-switcher select {
    padding: 0.5rem 2.1rem 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: var(--text-sm); font-weight: 600; cursor: pointer; appearance: none;
    transition: border-color .25s ease, background .25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E6B74F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.language-switcher select:hover { border-color: rgba(196, 143, 30, 0.4); }
.language-switcher select:focus { outline: none; border-color: var(--gold-primary); }
[dir="rtl"] .language-switcher select { padding: 0.5rem 0.9rem 0.5rem 2.1rem; background-position: left 12px center; }

/* Consultation CTA */
.btn-consult {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: var(--radius-full);
    background: var(--gold-gradient);
    color: var(--bg-dark) !important;
    font-weight: 800; font-size: 0.9rem; white-space: nowrap;
    box-shadow: 0 8px 20px rgba(196, 143, 30, 0.35);
    border: none;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-consult:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(196, 143, 30, 0.5); filter: brightness(1.05); }

/* Centered menu row */
.navbar-nav {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.1rem;
}
.navbar-nav-cta { display: none; }  /* the in-menu CTA only shows in the mobile panel */

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 600; font-size: 0.9rem; white-space: nowrap;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-md);
    transition: color .25s ease;
}
.nav-link > i { display: none; }            /* icons only inside the mobile menu */
.nav-backdrop { display: none; }            /* mobile menu backdrop */
.nav-link::after {
    content: ''; position: absolute; left: 50%; bottom: 0;
    width: 0; height: 2px; transform: translateX(-50%);
    background: var(--gold-gradient); border-radius: 2px;
    transition: width .25s ease;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 60%; }
.nav-link.active { color: var(--gold-light); }
.nav-link.active::after { width: 70%; }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer; transition: background .25s ease;
}
.menu-toggle:hover { background: rgba(196, 143, 30, 0.12); }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-light); transition: transform .3s ease, opacity .25s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 22, 40, 0.7) 0%,
        rgba(10, 22, 40, 0.9) 100%
    );
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-logo {
    width: 200px;
    margin: 0 auto var(--space-xl);
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 0 40px rgba(196, 143, 30, 0.3);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating elements */
.hero-float {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.hero-float-1 {
    top: 20%;
    left: 10%;
    font-size: 150px;
    animation: float1 8s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 20%;
    right: 10%;
    font-size: 120px;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(10deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 20px) rotate(-10deg); }
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--bg-darker);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer-brand {
    margin-bottom: var(--space-lg);
}

.footer-brand img {
    height: 60px;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    max-width: 300px;
}

.footer-title {
    font-size: var(--text-lg);
    color: var(--gold-light);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: var(--space-sm);
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: var(--space-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-fixed);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: var(--radius-full);
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
    transition: all var(--transition-fast);
}

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

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ================================================
   RESPONSIVE
   ================================================ */
   
/* Hidden utilities */
.hidden-mobile {
    display: inline;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    /* Mobile Navigation */
    .navbar-brand img {
        height: 50px;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .navbar-nav {
        position: fixed;
        top: 64px;
        left: auto;
        right: 0;
        bottom: 0;
        width: min(86vw, 360px);
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        padding: var(--space-md) var(--space-md) var(--space-lg);
        background:
            radial-gradient(circle at 100% 0%, rgba(196,143,30,0.16), transparent 45%),
            linear-gradient(180deg, rgba(8, 18, 33, 0.98), rgba(5, 13, 24, 0.99));
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        border: none;
        border-left: 1px solid rgba(196, 143, 30, 0.22);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        transform: translateX(110%);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        height: calc(100vh - 64px); height: calc(100dvh - 64px);
    }
    .menu-toggle { position: relative; z-index: 5; }
    [dir="rtl"] .navbar-nav {
        right: auto; left: 0;
        border-left: none; border-right: 1px solid rgba(196, 143, 30, 0.22);
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
        transform: translateX(-110%);
    }
    .navbar-nav.active,
    [dir="rtl"] .navbar-nav.active { transform: translateX(0); }

    .nav-backdrop {
        display: block;
        position: fixed; inset: 0; z-index: 90;
        background: rgba(3, 8, 16, 0.6);
        -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
        opacity: 0; pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .nav-backdrop.active { opacity: 1; pointer-events: auto; }

    /* Modern menu rows: icon + label + chevron */
    .navbar-nav li { width: 100%; }
    .nav-link {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        width: 100%;
        font-size: 0.92rem;
        font-weight: 600;
        padding: 0.55rem 0.8rem;
        border-radius: var(--radius-lg);
        text-align: start;
        color: var(--text-secondary);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        white-space: nowrap;
        opacity: 0;
        transform: translateY(8px);
    }
    .navbar-nav.active .nav-link { animation: navItemIn 0.4s ease forwards; }
    .navbar-nav.active li:nth-child(1) .nav-link { animation-delay: 0.05s; }
    .navbar-nav.active li:nth-child(2) .nav-link { animation-delay: 0.09s; }
    .navbar-nav.active li:nth-child(3) .nav-link { animation-delay: 0.13s; }
    .navbar-nav.active li:nth-child(4) .nav-link { animation-delay: 0.17s; }
    .navbar-nav.active li:nth-child(5) .nav-link { animation-delay: 0.21s; }
    .navbar-nav.active li:nth-child(6) .nav-link { animation-delay: 0.25s; }
    .navbar-nav.active li:nth-child(7) .nav-link { animation-delay: 0.29s; }
    .navbar-nav.active li:nth-child(8) .nav-link { animation-delay: 0.33s; }
    .navbar-nav.active li:nth-child(9) .nav-link { animation-delay: 0.37s; }
    @keyframes navItemIn { to { opacity: 1; transform: translateY(0); } }

    .nav-link > i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px; height: 30px; flex-shrink: 0;
        font-size: 0.85rem;
        color: var(--gold-light);
        background: rgba(196, 143, 30, 0.12);
        border-radius: var(--radius-md);
        transition: all 0.2s ease;
    }
    .nav-link > span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
    .nav-link::after {
        content: '\203A';
        font-size: 1.3rem; line-height: 1;
        color: var(--text-muted);
        transition: transform 0.2s ease, color 0.2s ease;
    }
    [dir="rtl"] .nav-link::after { content: '\2039'; }
    .nav-link:hover, .nav-link:active {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(196, 143, 30, 0.25);
    }
    .nav-link:hover::after { color: var(--gold-light); transform: translateX(3px); }
    [dir="rtl"] .nav-link:hover::after { transform: translateX(-3px); }
    .nav-link.active {
        color: var(--bg-dark);
        background: var(--gold-gradient);
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(196, 143, 30, 0.35);
    }
    .nav-link.active > i { background: rgba(5, 13, 24, 0.18); color: var(--bg-dark); }
    .nav-link.active::after { color: var(--bg-dark); }
    
    .navbar-actions {
        gap: var(--space-sm);
    }
    
    .language-switcher select {
        padding: var(--space-sm) var(--space-md);
        padding-right: var(--space-xl);
        font-size: var(--text-xs);
    }
    
    .btn-sm {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--text-xs);
    }
    
    .cart-btn {
        padding: var(--space-sm);
    }
    
    .menu-toggle {
        display: flex;
    }

    /* Header: smaller centered logo, hide top-bar CTA (moves into the menu) */
    .navbar-top { min-height: 60px; grid-template-columns: 1fr auto 1fr; }
    .navbar-brand img { height: 48px; }
    .navbar.scrolled .navbar-brand img { height: 42px; }
    .navbar-curve { height: 60px; opacity: 0.7; }
    .navbar-right .btn-consult { display: none; }
    .navbar-left .language-switcher select { padding: 0.4rem 1.6rem 0.4rem 0.6rem; font-size: var(--text-xs); }
    [dir="rtl"] .navbar-left .language-switcher select { padding: 0.4rem 0.6rem 0.4rem 1.6rem; }
    .nav-icon-btn { width: 38px; height: 38px; }

    /* Consultation CTA shown inside the slide-in menu */
    .navbar-nav-cta { display: block; width: 100%; margin-top: 0.4rem; opacity: 1; transform: none; }
    .navbar-nav-cta .btn-consult { width: 100%; justify-content: center; padding: 0.65rem 1rem; font-size: 0.9rem; }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sssss{
        padding:5px;
    }
    .navbar-brand img {
        height: 50px;
    }
    
    .navbar-actions {
        gap: 0.25rem;
    }
    
    .language-switcher select {
        min-width: 60px;
        padding: 0.25rem 0.5rem;
        padding-right: 1.5rem;
        font-size: 0.7rem;
    }
    
    .cart-btn {
        padding: 0.375rem;
        font-size: 0.875rem;
    }
    
    .cart-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: -3px;
        right: -3px;
    }
    
    .btn-sm {
        padding: 0.375rem 0.625rem;
        font-size: 0.7rem;
    }
    
    .menu-toggle {
        padding: 0.25rem;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
    }
}

/* ================================================
   ANIMATIONS (AOS-like utilities)
   ================================================ */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

/* ================================================
   UTILITIES
   ================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }

.hidden { display: none !important; }
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(196, 143, 30, 0.2);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--info);
    color: var(--info);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-secondary);
}

.badge-gold {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.badge-teal {
    background: var(--teal);
    color: var(--bg-dark);
}

.badge-success {
    background: var(--success);
    color: white;
}
