﻿/* تنسيقات صفحات المحتوى */
.page-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 80px 0 40px;
    margin-bottom: 40px;
}

    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
    content: ">";
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.page-content {
    line-height: 1.8;
}

    .page-content h2 {
        color: #2c3e50;
        border-bottom: 2px solid #3498db;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .page-content .lead {
        font-size: 1.2rem;
        color: #555;
    }

.features-list ul {
    list-style: none;
    padding-right: 0;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 25px;
}

    .features-list li:before {
        content: "✓";
        position: absolute;
        right: 0;
        color: #27ae60;
        font-weight: bold;
    }

/* تنسيقات أزرار الصفحات */
.page-actions {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.whatsapp-btn {
    background: #25D366;
    border-color: #25D366;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .whatsapp-btn:hover {
        background: #128C7E;
        border-color: #128C7E;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    }

.news-actions {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

/* تنسيقات تفاصيل الأخبار */
.news-detail {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* تنسيقات الصور */
.about-image img {
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 30px;
    }

        .page-header h1 {
            font-size: 2rem;
        }

    .page-content .lead {
        font-size: 1.1rem;
    }

    .news-detail {
        padding: 20px;
    }
}


/* تنسيقات إضافية لصفحة إنترنت الأشياء */
.iot-features .feature-item {
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    border-right: 4px solid #007bff;
    transition: all 0.3s ease;
}

    .iot-features .feature-item:hover {
        background: #e9ecef;
        transform: translateX(-5px);
    }

    .iot-features .feature-item h4 {
        color: #2c3e50;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .iot-features .feature-item i {
        font-size: 1.5rem;
        margin-left: 10px;
    }

.benefits-list {
    list-style: none;
    padding-right: 0;
}

    .benefits-list li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-right: 30px;
        font-size: 1.1rem;
    }

        .benefits-list li:before {
            content: "✓";
            position: absolute;
            right: 0;
            color: #27ae60;
            font-weight: bold;
            font-size: 1.2rem;
        }

/* تنسيقات الصور في صفحات المحتوى */
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* تحسينات للاستجابة */
@media (max-width: 768px) {
    .iot-features .feature-item {
        padding: 15px;
    }

    .benefits-list li {
        font-size: 1rem;
        padding-right: 25px;
    }
}