/* 
 * ملف CSS للصور الخلفية للمنتجات
 * يحتوي على تنسيقات الصور الخلفية لكل فئة من المنتجات مع تحسين وضوح النصوص
 */

/* صور خلفية للكاميرات الداخلية */
.indoor-camera-bg {
    background-image: url('../images/backgrounds/indoor_camera_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.indoor-camera-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.indoor-camera-bg .p-6 {
    position: relative;
    z-index: 2;
}

.indoor-camera-bg h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700 !important;
}

.indoor-camera-bg p {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
}

/* صور خلفية للكاميرات الخارجية */
.outdoor-camera-bg {
    background-image: url('../images/backgrounds/outdoor_camera_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.outdoor-camera-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.outdoor-camera-bg .p-6 {
    position: relative;
    z-index: 2;
}

.outdoor-camera-bg h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700 !important;
}

.outdoor-camera-bg p {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
}

/* صور خلفية لأنظمة المراقبة المتكاملة */
.integrated-system-bg {
    background-image: url('../images/backgrounds/integrated_system_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.integrated-system-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.integrated-system-bg .p-6 {
    position: relative;
    z-index: 2;
}

.integrated-system-bg h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700 !important;
}

.integrated-system-bg p {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
}

/* صور خلفية لأنظمة الحضور والانصراف */
.attendance-bg {
    background-image: url('../images/backgrounds/attendance_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.attendance-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.attendance-bg .p-6 {
    position: relative;
    z-index: 2;
}

.attendance-bg h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700 !important;
}

.attendance-bg p {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
}

/* صور خلفية لأنظمة الانتركوم */
.intercom-bg {
    background-image: url('../images/backgrounds/intercom_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.intercom-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.intercom-bg .p-6 {
    position: relative;
    z-index: 2;
}

.intercom-bg h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700 !important;
}

.intercom-bg p {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
}

/* صور خلفية لشبكات ومقويات إشارة النت */
.network-bg {
    background-image: url('../images/backgrounds/network_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.network-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.network-bg .p-6 {
    position: relative;
    z-index: 2;
}

.network-bg h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700 !important;
}

.network-bg p {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
}

/* صور خلفية لعقود الصيانة وشهادات الإنجاز */
.maintenance-bg {
    background-image: url('../images/backgrounds/maintenance_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.maintenance-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.maintenance-bg .p-6 {
    position: relative;
    z-index: 2;
}

.maintenance-bg h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700 !important;
}

.maintenance-bg p {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
}

/* تحسينات إضافية للتصميم */
.product-image-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* تأثيرات التفاعل */
.product-image-container:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.product-image-container:hover::before {
    background: rgba(0, 0, 0, 0.4) !important;
    transition: background 0.3s ease;
}

/* تحسين الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .product-image-container {
        min-height: 150px;
        padding: 15px;
    }
    
    .indoor-camera-bg h3,
    .outdoor-camera-bg h3,
    .integrated-system-bg h3,
    .attendance-bg h3,
    .intercom-bg h3,
    .network-bg h3,
    .maintenance-bg h3 {
        font-size: 1.1rem !important;
    }
    
    .indoor-camera-bg p,
    .outdoor-camera-bg p,
    .integrated-system-bg p,
    .attendance-bg p,
    .intercom-bg p,
    .network-bg p,
    .maintenance-bg p {
        font-size: 0.9rem !important;
    }
}

