/* 
   شركة هكتار الحديثة للديكور - نظام التصميم والتنسيق الفاخر
   Hectar Modern Decoration - Premium Design System
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    /* لوحة الألوان الفاخرة */
    --primary-color: #D4AF37;       /* ذهبي ملكي دافئ */
    --primary-hover: #b89326;
    --primary-light: rgba(212, 175, 55, 0.15);
    --secondary-color: #C5A880;     /* بيج برونزي دافئ */
    --bg-dark: #0A0A0A;             /* أسود غني */
    --bg-darker: #050505;           /* أسود عميق جداً */
    --bg-card: #141414;             /* خلفية البطاقات */
    --bg-glass: rgba(20, 20, 20, 0.75);
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(212, 175, 55, 0.3);
    --text-light: #F5F5F5;          /* نصوص بيضاء ناعمة */
    --text-muted: #A0A0A0;          /* نصوص ثانوية رمادية */
    --text-dark: #1A1A1A;
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

/* التنسيقات العامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-primary);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    line-height: 1.6;
}

/* تخصيص شريط التمرير */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* تنسيقات العناوين والرموز */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* الأزرار الفاخرة */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b89326 100%);
    color: var(--bg-darker);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #b89326 0%, var(--primary-color) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    border: 1.5px solid var(--border-gold);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* شريط التنقل (Header) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.main-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 45px;
}

.company-name {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.company-name span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* القائمة الجانبية للجوال */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* البنر الرئيسي (Hero Section) */
.hero-section {
    height: 100vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(5, 5, 5, 0.9)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    animation: fadeInUp 1.2s ease-out forwards;
}

.hero-badge {
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-title span {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* مؤشر التمرير للأسفل */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    z-index: 10;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    color: var(--primary-color);
}

.mouse {
    width: 25px;
    height: 42px;
    border: 2.5px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover .mouse {
    border-color: var(--primary-color);
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

/* قسم من نحن التعريفي (About Section) */
.about-section {
    padding: 8rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 50%), 
                radial-gradient(circle at 90% 80%, rgba(197, 168, 128, 0.02) 0%, transparent 50%), 
                var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-main {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.about-img-main:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.about-images::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    border-top: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-images::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    border-bottom: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-images:hover::after {
    top: -5px;
    right: -5px;
}

.about-images:hover::before {
    bottom: -5px;
    left: -5px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -15px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1.2rem 1.8rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    z-index: 10;
    transition: var(--transition-smooth);
}

.experience-badge:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--bg-darker);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.experience-num {
    font-size: 2.5rem;
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
    font-weight: 900;
    font-family: var(--font-secondary);
}

.about-content-text h3 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.3;
}

.about-content-text h3 span {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* قائمة الميزات الفاخرة بطاقات */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    direction: rtl;
}

.feature-item {
    background: rgba(20, 20, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.2rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
    direction: rtl !important;
    text-align: right !important;
    letter-spacing: normal !important;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon-wrapper {
    background: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.feature-item span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    direction: rtl !important;
    unicode-bidi: isolate !important;
    text-align: right !important;
    letter-spacing: normal !important;
    display: inline-block;
}

.feature-item:hover span {
    color: var(--primary-color);
}

/* قسم الأقسام والخدمات (Categories Section) */
.categories-section {
    padding: 7rem 0;
    background-color: var(--bg-dark);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2.5rem;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}

.category-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.category-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(20, 20, 20, 0.95) 100%);
    z-index: 1;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-badge-card {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-glass);
    border: 1.5px solid var(--border-gold);
    color: var(--primary-color);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.category-info {
    padding: 2rem;
    padding-top: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
}

.category-title {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-weight: 700;
}

.category-card:hover .category-title {
    color: var(--primary-color);
}

.category-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.category-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.category-link {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.category-link svg {
    transition: var(--transition-smooth);
}

.category-card:hover .category-link svg {
    transform: translateX(-5px);
}

.category-whatsapp-btn {
    background-color: #25D366;
    color: #FFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.category-whatsapp-btn:hover {
    transform: scale(1.15) rotate(15deg);
    background-color: #20ba5a;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* لماذا شركة هكتار؟ (Why Hectar Section) */
.why-section {
    padding: 7rem 0;
    background-color: var(--bg-darker);
    position: relative;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.05);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid var(--border-gold);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.why-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.why-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* قسم معرض الصور (Gallery Section) */
.gallery-section {
    padding: 7rem 0;
    background-color: var(--bg-dark);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 320px;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.gallery-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-item-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-item-cat {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.gallery-zoom-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
}

.gallery-zoom-btn:hover {
    transform: scale(1.1);
    background-color: var(--text-light);
}

/* قسم التواصل (Contact Section) */
.contact-section {
    padding: 7rem 0;
    background-color: var(--bg-darker);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-glass);
}

.contact-form-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-glass);
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.form-textarea {
    resize: none;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.info-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-cta-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2.5rem;
    text-align: center;
}

.contact-cta-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-cta-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* تذييل الصفحة (Footer) */
.main-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    max-width: 380px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* زر الواتساب العائم */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.whatsapp-floating::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.4;
    z-index: -1;
    animation: pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
}

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-5px);
}

/* معرض منبثق (LightBox modal) */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5,5,5,0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    left: 0;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-caption {
    text-align: center;
    color: var(--text-light);
    margin-top: 1rem;
    font-weight: 600;
}

/* الحركات (Animations) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.mobile-only-cta {
    display: none;
    width: 100%;
}

/* شاشات الجوال والأجهزة اللوحية (Responsive Design) */
@media (max-width: 992px) {
    .mobile-only-cta {
        display: block;
    }

    .nav-cta {
        display: none;
    }
    .nav-cta-group {
        margin-right: auto !important;
        margin-left: 1.5rem !important;
    }
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 9rem 0 6rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-content: center;
        padding-top: 0;
    }

    .about-img-main {
        height: auto;
        max-height: 350px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        margin: 0 auto 2.5rem auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .experience-badge {
        right: 0;
        bottom: -20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo-img {
        margin: 0 auto 1.5rem auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 300px;
        background: var(--bg-darker);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        padding: 8rem 2rem 2rem 2rem;
        gap: 2rem;
        align-items: flex-start;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    /* تصحيح لون نصوص القائمة الجانبية للجوال في الوضع الفاتح */
    body.light-theme .nav-menu .nav-link {
        color: var(--text-light) !important;
    }
    body.light-theme .nav-menu .nav-link:hover,
    body.light-theme .nav-menu .nav-link.active {
        color: var(--primary-color) !important;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .features-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* قسم آراء العملاء (Testimonials) */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    border-top: 1px solid var(--border-glass);
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
    gap: 0;
}

@media (hover: hover) {
    .testimonials-marquee:hover .marquee-track {
        animation-play-state: paused;
    }
}

.marquee-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    padding-right: 2rem;
    padding-left: 0;
    flex-shrink: 0;
}

.testimonial-card {
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    user-select: none;
    direction: rtl;
    text-align: right;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.08);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-project {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    margin-top: auto;
}

.testimonial-project svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Keyframes for seamless loop in RTL */
@keyframes scrollMarquee {
    0% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
        -webkit-transform: translate3d(-50%, 0, 0);
    }
}

/* زر الاتصال الهاتفي العائم */
.phone-floating {
    position: fixed;
    bottom: 7rem;
    left: 2rem;
    background-color: var(--primary-color);
    color: var(--bg-darker);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.phone-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    color: var(--bg-darker);
}

.phone-floating::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.3;
    z-index: -1;
    animation: phone-pulse 2s infinite;
}

@keyframes phone-pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* تعديل موقع زر الواتساب العائم ليتناسب مع زر الاتصال */
.whatsapp-floating {
    bottom: 2rem !important;
}


/* شاشة التحميل الاحترافية (Preloader) */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    opacity: 1;
    visibility: visible;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader-logo {
    width: 160px;
    height: auto;
    animation: preloader-logo-pulse 1.6s infinite ease-in-out;
}

.preloader-bar {
    width: 140px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-progress {
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    position: absolute;
    animation: preloader-progress-bar 1.5s infinite ease-in-out;
}

@keyframes preloader-logo-pulse {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    }
}

@keyframes preloader-progress-bar {
    0% {
        left: -100%;
        width: 30%;
    }
    50% {
        left: 30%;
        width: 40%;
    }
    100% {
        left: 110%;
        width: 30%;
    }
}


/* مظهر المظهر الفاتح (Light Theme Override) */
body.light-theme {
    --bg-dark: #F7F9FC;             /* خلفية فاتحة مريحة للعين */
    --bg-darker: #Eef2f7;           /* درجة أغمق قليلاً للخلفية الثانية */
    --bg-card: #FFFFFF;             /* بطاقات باللون الأبيض الناصع */
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-gold: rgba(212, 175, 55, 0.5);
    --text-light: #151515;          /* نصوص باللون الداكن للقراءة */
    --text-muted: #555A65;          /* نصوص فرعية بالرمادي الغامق */
}

/* زر تبديل المظهر الاحترافي */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    flex-shrink: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    color: var(--primary-hover);
    background: rgba(212, 175, 55, 0.08);
}

/* انتقالات ناعمة للمظهرين */
body, section, header, footer, .info-card, .contact-form-wrapper, .detail-card, .why-card, .testimonial-card, .category-card, input, textarea, select {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* إضافات وتعديلات لتناسق المظهر الفاتح */
body.light-theme .whatsapp-floating {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

body.light-theme .phone-floating {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

body.light-theme .back-to-top {
    background: var(--bg-card);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-theme .main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

body.light-theme .category-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-theme .why-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

body.light-theme .testimonial-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.light-theme .contact-form-wrapper {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

body.light-theme .detail-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

body.light-theme .theme-toggle {
    box-shadow: none;
}

/* تعديل خلفية شاشة التحميل لتظل داكنة وفخمة دائماً */
.preloader {
    background-color: #050505 !important;
}

/* الاحتفاظ بالمظهر الداكن الفخم للبنرات الرئيسية في المظهر الفاتح */
body.light-theme .hero-section,
body.light-theme .subpage-hero {
    color: #F5F5F5 !important;
}

body.light-theme .hero-section .hero-title,
body.light-theme .subpage-hero .hero-title {
    color: #F5F5F5 !important;
}

body.light-theme .hero-section .hero-description,
body.light-theme .subpage-hero .hero-description {
    color: #A0A0A0 !important;
}

body.light-theme .hero-section .btn-secondary,
body.light-theme .subpage-hero .btn-secondary {
    color: #F5F5F5 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

body.light-theme .hero-section .btn-secondary:hover,
body.light-theme .subpage-hero .btn-secondary:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background: var(--primary-light) !important;
}

/* عندما يكون شريط التنقل العلوي شفافاً وغير ممرر، يجب أن تظل النصوص بيضاء للتناسق مع خلفية البنر الداكنة */
body.light-theme .main-header:not(.scrolled) .nav-link {
    color: #F5F5F5 !important;
}

body.light-theme .main-header:not(.scrolled) .nav-link:hover {
    color: var(--primary-color) !important;
}

body.light-theme .main-header:not(.scrolled) .company-name {
    color: #F5F5F5 !important;
}

body.light-theme .main-header:not(.scrolled) .menu-toggle span {
    background-color: #F5F5F5 !important;
}


/* ==========================================
   قسم المدونة والمقالات (Blog & Articles Styles)
   ========================================== */

/* شبكة المدونة الرئيسية */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}

.blog-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.1);
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--bg-darker);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.blog-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card-title {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-color);
}

.blog-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card-link svg {
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-link svg {
    transform: translateX(-5px);
}

/* تخطيط صفحة المقال المنفرد (Single Post Layout) */
.blog-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 4rem;
}

@media (max-width: 992px) {
    .blog-post-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.blog-post-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 3rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .blog-post-content {
        padding: 1.5rem;
    }
}

.blog-post-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
}

.blog-post-title {
    font-size: 2.2rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-post-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem 0;
    border-right: 4px solid var(--primary-color);
    padding-right: 0.8rem;
}

.blog-post-body h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 1.5rem;
    padding-right: 1.5rem;
}

.blog-post-body li {
    margin-bottom: 0.6rem;
}

.blog-post-body blockquote {
    background: rgba(212, 175, 55, 0.05);
    border-right: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
    font-style: italic;
    color: var(--text-light);
}

.blog-post-body img {
    border-radius: var(--border-radius);
    margin: 2rem 0;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-glass);
}

/* أزرار المشاركة (Share Buttons) */
.post-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.share-title {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.share-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.share-btn-whatsapp { background-color: #25D366; }
.share-btn-twitter { background-color: #1DA1F2; }
.share-btn-facebook { background-color: #1877F2; }

/* شريط جانبي للمقالات (Sidebar Styles) */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    border-bottom: 1.5px solid var(--border-gold);
    padding-bottom: 0.6rem;
    position: relative;
}

.sidebar-category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar-category-list a {
    color: var(--text-muted);
    font-size: 0.98rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.sidebar-category-list a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.sidebar-category-list span.count {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.recent-post-img {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-glass);
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.recent-post-title {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-item:hover .recent-post-title {
    color: var(--primary-color);
}

.recent-post-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* فلترة المدونة */
.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

/* تنسيقات المظهر الفاتح لبطاقات المدونة والشريط الجانبي */
body.light-theme .blog-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.light-theme .blog-post-content {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

body.light-theme .sidebar-widget {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

body.light-theme .sidebar-category-list a {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}
