/* ==========================================================================
   أبواب القرطاج (Carthage Doors) - نظام التصميم والأنماط البصرية الفاخرة
   ========================================================================== */

/* 1. إعداد المتغيرات الشاملة (Design System Variables) */
:root {
    --bg-dark-base: #0B0E14;        /* لون الخلفية الأساسي */
    --bg-dark-card: #151A24;        /* لون بطاقات المنتجات */
    --bg-dark-input: #1C2331;       /* لون حقول الإدخال */
    --accent-gold: #D4AF37;         /* اللون الذهبي الملكي */
    --accent-gold-hover: #F3E5AB;   /* ذهبي فاتح للتحويم */
    --accent-gold-dark: #AA7C11;    /* ذهبي داكن */
    --text-white: #FFFFFF;
    --text-light: #E2E8F0;          /* نص فضي فاتح */
    --text-muted: #94A3B8;         /* نص رمادي هادئ */
    --whatsapp-green: #25D366;      /* لون الواتساب الأصلي */
    
    /* تدرجات ألوان فاخرة */
    --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
    --dark-gradient: linear-gradient(180deg, #151A24 0%, #0B0E14 100%);
    --card-gradient: linear-gradient(145deg, #1B2230 0%, #111620 100%);
    
    /* ظلال متميزة */
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.35);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* خطوط */
    --font-heading: 'Cairo', 'Tajawal', sans-serif;
    --font-body: 'Tajawal', 'Cairo', sans-serif;
    
    /* تأثيرات انتقالية */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* 2. إعادة ضبط المتصفح الأساسية (Reset & Base Styles) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark-base);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* تنسيق العرض العام */
.wrapper-width {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 3. عناصر التحكم الفاخرة (Premium Buttons & Badges) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold-gradient);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #AA7C11 0%, #D4AF37 50%, #F3E5AB 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--gold-glow);
    color: #000000;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 13px 27px;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-white);
    border-color: var(--accent-gold-hover);
    transform: translateY(-3px);
}

.full-width-btn {
    width: 100%;
    text-align: center;
}

.gold-glow-btn {
    box-shadow: var(--gold-glow);
}

.whatsapp-nav-btn {
    background: var(--whatsapp-green) !important;
    color: var(--text-white) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.whatsapp-nav-btn:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

.whatsapp-send-btn {
    background: var(--whatsapp-green);
    color: var(--text-white);
    border: none;
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-send-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

.icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

/* 4. شريط التنقل الشفاف (Glassmorphism Navbar Styles) */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    transition: var(--transition-smooth);
}

.navbar-container.scrolled {
    padding: 10px 0;
    background: rgba(11, 14, 20, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo-link {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

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

.logo-area .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: -3px;
    font-weight: 500;
}

.nav-links-desktop ul {
    display: flex;
    gap: 25px;
}

.nav-links-desktop a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

.nav-links-desktop a:hover,
.nav-links-desktop a.active {
    color: var(--accent-gold-hover);
}

.nav-links-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
}

.nav-links-desktop a:hover::after,
.nav-links-desktop a.active::after {
    width: 100%;
}

.nav-cta-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* زر الهامبرغر للجوال */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-menu span {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-gold);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-gold);
}

/* القائمة الجانبية للجوال */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(11, 14, 20, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.mobile-menu-links a:hover {
    color: var(--accent-gold);
}

/* 5. قسم الهيرو الرئيسي (Hero Section) */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(26, 34, 50, 0.35) 0%, rgba(11, 14, 20, 1) 90%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 48c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2 1-2 2s1 2 2 2h4c2 0 3-1 4-2v-4c0-1 1-2 2-2h4c1 0 2-1 2-2s-1-2-2-2h-4zM30 20c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2 1-2 2s1 2 2 2h4c2 0 3-1 4-2v-4c0-1 1-2 2-2h4c1 0 2-1 2-2s-1-2-2-2h-4zM6 0C4 0 3 1 2 2v4c0 1-1 2-2 2S0 9 0 10h2c2 0 3-1 4-2V4c0-1 1-2 2-2h4c1 0 2-1 2-2S13 0 12 0H6zm36 24c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2 1-2 2s1 2 2 2h4c2 0 3-1 4-2v-4c0-1 1-2 2-2h4c1 0 2-1 2-2s-1-2-2-2h-4zM12 48c-2 0-3 1-4 2v4c0 1-1 2-2 2H2c-1 0-2 1-2 2s1 2 2 2h4c2 0 3-1 4-2v-4c0-1 1-2 2-2h4c1 0 2-1 2-2s-1-2-2-2h-4z' fill='%23d4af37' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
}

/* كانفاس الجسيمات المتحركة في الـ Hero */
.hero-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* كرات الضوء المتحركة (Glow Orbs) */
.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: orb-drift 8s ease-in-out infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-duration: 10s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.05) 0%, transparent 70%);
    bottom: 50px;
    left: 10%;
    animation-duration: 13s;
    animation-direction: alternate-reverse;
}

@keyframes orb-drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-new-arrival {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(212, 175, 55, 0.15);
}

/* الجانب الصوري للهيرو */
.hero-image-side {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card-glass {
    background: var(--card-gradient);
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: var(--card-shadow);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    max-width: 380px;
    width: 100%;
}

.hero-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* شارات معلومات الصور */
.hero-img-badge {
    position: absolute;
    background: rgba(21, 26, 36, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.top-right-badge {
    top: 40px;
    right: -20px;
}

.bottom-left-badge {
    bottom: 40px;
    left: -20px;
}

.hero-img-badge .badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.hero-img-badge .badge-desc {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* قاسم الموجات السفلي للجماليات */
.wave-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}

.wave-shape-divider .shape-fill {
    fill: var(--bg-dark-base);
}

/* 6. قسم الهيدر العام للأقسام (Section Headers) */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-underline {
    width: 70px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* 7. قسم المواصفات والمميزات الفنية (Features Styles) */
.features-section {
    padding: 100px 0;
    background: #0B0E14;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: right;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--card-shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--gold-gradient);
    color: #000000;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 8. معرض كتالوج المنتجات (Product Catalog Styles) */
.catalog-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0B0E14 0%, #11151F 100%);
}

.catalog-controls-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.search-box-wrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.search-box-wrapper input {
    width: 100%;
    background: var(--bg-dark-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 14px 45px 14px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    pointer-events: none;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-gradient);
    color: #000000;
    border-color: transparent;
    font-weight: 700;
}

/* شبكة الأبواب */
.doors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* بطاقة الباب (Door Card) */
.door-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.door-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--card-shadow);
}

.door-img-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #0B0E14;
}

.door-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.door-card:hover .door-img-wrapper img {
    transform: scale(1.08);
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(5px);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.origin-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(212, 175, 55, 0.85);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.door-info-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.door-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.door-price-box {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.door-price-box .price-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.door-price-box .price-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.door-specs-summary {
    list-style: none;
    margin-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.door-specs-summary li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.door-specs-summary li::before {
    content: '•';
    color: var(--accent-gold);
    font-weight: bold;
}

.door-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-card-details {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.btn-card-details:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.btn-card-buy {
    background: var(--whatsapp-green);
    color: var(--text-white);
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-card-buy:hover {
    background: #20BA5A;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* 9. مستعرض الغرفة والباب التفاعلي (Interactive Room Visualizer) */
.visualizer-section {
    padding: 100px 0;
    background: #0B0E14;
}

.visualizer-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: stretch;
}

/* شاشة المحاكاة الفخمة */
.visualizer-screen-wrapper {
    background: #11141D;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--card-shadow);
}

.visualizer-wall {
    width: 100%;
    height: 480px;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.6s ease, background-image 0.6s ease;
    background-color: #E6E1DA; /* لون افتراضي بيج */
    box-shadow: inset 0 0 50px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* خامات ونقشات الجدار التفاعلية */
.visualizer-wall.texture-brick {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='45' viewBox='0 0 100 45'%3E%3Cpath d='M0 43h100v2H0zm0-22h100v2H0zM0 0h100v2H0zm50 2h2v20h-2zm-50 22h2v20H0zm100 0h2v20h-2zm-50 0h2v20h-2zM25 2h2v20h-2zm50 0h2v20h-2zM0 2h2v20H0zm100 0h2v20h-2z' fill='%23ffffff' fill-opacity='0.15'/%3E%3C/svg%3E");
}

.visualizer-wall.texture-marble {
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.05) 90%), url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 380c50-20 100-30 150-10s80 30 130 10 70-40 120-20M20 50c30 10 70 5 100 20s40 40 80 45 90-10 130 5M250 350c30-10 60-5 90 10s40 30 70 20' stroke='rgba(212,175,55,0.08)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

.visualizer-wall.texture-wood {
    background-image: linear-gradient(90deg, rgba(0,0,0,0.15) 1px, transparent 1px);
    background-size: 40px 100%;
}

.wall-depth {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    background: #4A3E30; /* لوح خشبي سفلي / نعلة الجدار */
    border-top: 3px solid #2B2117;
    box-shadow: inset 0 5px 10px rgba(0,0,0,0.3);
}

.door-frame-wrapper {
    position: relative;
    height: 380px;
    width: 190px;
    z-index: 5;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}

.door-frame-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border: 6px solid #2B2117; /* إطار الباب */
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
}

.door-shadow {
    position: absolute;
    top: 0;
    left: -12px;
    width: 12px;
    height: 100%;
    background: linear-gradient(270deg, rgba(0,0,0,0.3) 0%, transparent 100%);
    pointer-events: none;
}

/* لوحة تحكم المستعرض */
.visualizer-controls-panel {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.panel-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 15px;
    color: var(--accent-gold);
}

.control-group {
    margin-bottom: 25px;
}

.control-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.vis-option {
    background: var(--bg-dark-input);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.vis-option img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.vis-option span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.vis-option.active,
.vis-option:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.vis-option.active span {
    color: var(--accent-gold);
}

/* دوائر اختيار الألوان */
.wall-color-row {
    display: flex;
    gap: 15px;
}

.color-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.color-dot.active {
    border-color: var(--accent-gold);
    transform: scale(1.15);
}

/* أزرار النقشات */
.texture-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.texture-btn {
    background: var(--bg-dark-input);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 10px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.texture-btn.active,
.texture-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.03);
}

.visualizer-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: auto;
}

.visualizer-info-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

/* 10. حاسبة الأسعار المتقدمة والتفاعلية (Calculator Styles) */
.calculator-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #11151F 0%, #0B0E14 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: stretch;
}

.calculator-form-side {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 40px;
}

.form-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--accent-gold);
    border-right: 3px solid var(--accent-gold);
    padding-right: 12px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.styled-select,
.styled-input,
.styled-textarea {
    width: 100%;
    background: var(--bg-dark-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 12px 15px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.styled-select:focus,
.styled-input:focus,
.styled-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* شيك بوكس مخصص */
.checkbox-group-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 30px;
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: var(--bg-dark-input);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--accent-gold);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--accent-gold);
    border-color: transparent;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* جانب الفاتورة التفاعلية (Interactive Bill Side) */
.calculator-bill-side {
    background: var(--card-gradient);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--gold-glow);
    overflow: hidden;
}

.bill-header {
    background: rgba(212, 175, 55, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bill-header h4 {
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.bill-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bill-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.bill-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.bill-lbl {
    color: var(--text-muted);
}

.bill-val {
    color: var(--text-white);
    font-weight: 700;
}

.bill-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 10px 0;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-radius: 12px;
}

.total-lbl {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
}

.total-val-box {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.total-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(212,175,55,0.2);
}

.total-currency {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.bill-footer {
    padding: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.bill-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}


/* 12. قسم اتصل بنا والخرائط والمبيعات (Contact Section Styles) */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0B0E14 0%, #111520 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
}

.contact-info-side h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text strong {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.detail-text span,
.detail-text a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.tel-link:hover {
    color: var(--accent-gold);
}

/* فورم التواصل الفضي */
.contact-form-side {
    display: flex;
    align-items: center;
}

.glass-form {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    box-shadow: var(--card-shadow);
}

.glass-form h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-white);
}

.form-success-msg {
    display: none;
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
    border: 1px solid rgba(37, 211, 102, 0.2);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 13. الفوتر (Footer Styles) */
.main-footer {
    background: #070A0F;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0 30px 0;
}

.footer-widgetswrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-widget-about h4,
.footer-widget-links h4,
.footer-widget-socials h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-white);
    position: relative;
    padding-bottom: 8px;
}

.footer-widget-about h4::after,
.footer-widget-links h4::after,
.footer-widget-socials h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-widget-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-widget-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-widget-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-widget-links a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

.footer-widget-socials p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-icons-row {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 800;
    transition: var(--transition-fast);
}

.social-icon-btn:hover {
    background: var(--gold-gradient);
    color: #000000;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.developer-tag {
    color: var(--accent-gold);
    font-weight: 600;
}

/* 14. النوافذ المنبثقة التفاعلية (Quick View Modal Styles) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none; /* يتم تشغيله بواسطة الجافاسكريبت */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.modal-card-container {
    background: var(--bg-dark-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    max-width: 850px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--gold-glow);
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: #E30A17;
    border-color: transparent;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.modal-image-side {
    background: #0B0E14;
    height: 480px;
}

.modal-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-category-badge {
    align-self: flex-start;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-door-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-door-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-door-price-box .price-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-door-price-box .price-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.modal-door-price-box .price-currency {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.modal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 15px 0;
}

.modal-info-side h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.modal-specs-list {
    margin-bottom: 25px;
}

.modal-specs-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-specs-list li::before {
    content: '✓';
    color: var(--accent-gold);
    font-weight: 800;
}

.modal-action-buttons {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
}

.modal-action-buttons .btn-secondary {
    background: var(--whatsapp-green) !important;
    color: var(--text-white) !important;
    border-color: transparent !important;
    font-weight: 700;
}

.modal-action-buttons .btn-secondary:hover {
    background: #20BA5A !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* 15. الحركات والأنيميشن (Animation Keyframes) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

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

@keyframes scaleUp {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 16. زر الواتساب العائم النابض (Floating Pulsing WhatsApp Button) */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 35px;
    left: 35px;
    width: 62px;
    height: 62px;
    background: var(--whatsapp-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.floating-whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn:hover svg {
    transform: rotate(-10deg) scale(1.1);
}

/* حلقات النبض */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(37, 211, 102, 0.6);
    animation: pulse-anim 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.pulse-ring.ring-2 {
    animation-delay: 0.8s;
    border-color: rgba(37, 211, 102, 0.35);
}

@keyframes pulse-anim {
    0%   { transform: scale(1);   opacity: 1; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* تولتيب عائم بجانب الزر */
.whatsapp-tooltip {
    position: absolute;
    left: 72px;
    white-space: nowrap;
    background: rgba(11, 14, 20, 0.92);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    pointer-events: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-right-color: rgba(37, 211, 102, 0.3);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* 17. أنيميشن ظهور العناصر عند التمرير (Scroll Reveal Animations) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 18. تحسينات بصرية عامة إضافية (Design Polish) */

/* تحسين section-tag بتدرج ذهبي ناعم */
.section-tag {
    background: linear-gradient(90deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.04) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 5px 18px;
    border-radius: 50px;
    display: inline-block;
}

/* حد علوي ذهبي رفيع للنيڤبار عند التمرير */
.navbar-container.scrolled {
    border-top: 2px solid rgba(212, 175, 55, 0.15);
}

/* تحسين تأثير الـ hero title */
.hero-title {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* تأثير hover أقوى على بطاقات الشهادات */
.testimonial-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,175,55,0.15);
}

/* خط تحت العنوان يتمدد بشكل أجمل */
.section-underline {
    transition: width 0.5s ease;
}

/* تأثير لامع خفيف على الأزرار الرئيسية */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.btn-primary:not(:hover) {
    background-size: 200% auto;
}

/* 16. قواعد الاستجابة (Responsive Design Rules) */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text-side {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .visualizer-container,
    .calculator-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-widgetswrapper {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links-desktop,
    .nav-cta-area .whatsapp-nav-btn {
        display: none; /* إخفاء العناصر غير الضرورية في الجوال */
    }
    
    .hamburger-menu {
        display: flex; /* إظهار زر القائمة المنسدلة */
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .top-right-badge {
        right: 10px;
    }
    
    .bottom-left-badge {
        left: 10px;
    }
    
    .catalog-controls-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .visualizer-screen-wrapper {
        padding: 15px;
    }
    
    .visualizer-wall {
        height: 380px;
    }
    
    .door-frame-wrapper {
        height: 280px;
        width: 140px;
    }
    
    .option-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image-side {
        height: 250px;
    }
    
    .modal-info-side {
        padding: 25px;
    }
    
    .modal-action-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .footer-widgetswrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
