/* 
 * ملف التنسيقات الخاص بصفحة المملكة العربية السعودية - ليون IPTV
 * تاريخ الإنشاء: 19 أبريل 2025
 */

/* ألوان خاصة بالسعودية - اللون الأخضر للعلم السعودي */
:root {
    --ksa-primary: #006C35;
    --ksa-secondary: #00401f;
    --ksa-accent: #ffffff;
    --ksa-light: #f1f9f5;
    --ksa-dark: #002e14;
}

/* تخصيص شكل الهيرو للسعودية */
.hero {
    background: linear-gradient(135deg, var(--ksa-primary) 0%, var(--ksa-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Flag_of_Saudi_Arabia.svg/800px-Flag_of_Saudi_Arabia.svg.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 25%;
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* تخصيص الأزرار للسعودية */
.btn-primary {
    background-color: var(--ksa-primary);
    border-color: var(--ksa-primary);
}

.btn-primary:hover {
    background-color: var(--ksa-secondary);
    border-color: var(--ksa-secondary);
}

.btn-outline {
    color: var(--ksa-primary);
    border-color: var(--ksa-primary);
}

.btn-outline:hover {
    background-color: var(--ksa-primary);
    color: white;
}

/* تخصيص قسم المميزات للسعودية */
.features {
    background-color: var(--ksa-light);
}

.features .feature-card {
    border-bottom: 3px solid var(--ksa-primary);
}

.features .feature-icon i {
    color: var(--ksa-primary);
}

/* تخصيص قسم الباقات للسعودية */
.ksa-packages .package-card.popular {
    border-color: var(--ksa-primary);
}

.ksa-packages .popular-badge {
    background-color: var(--ksa-primary);
}

.ksa-packages .package-price .price {
    color: var(--ksa-primary);
}

.ksa-packages .package-features i {
    color: var(--ksa-primary);
}

/* تخصيص قسم المحتوى للسعودية */
.content {
    background-color: #fff;
}

.content .content-card {
    box-shadow: 0 5px 15px rgba(0, 108, 53, 0.1);
    transition: all 0.3s ease;
}

.content .content-card:hover {
    box-shadow: 0 10px 25px rgba(0, 108, 53, 0.2);
    transform: translateY(-5px);
}

.content .content-icon i {
    color: var(--ksa-primary);
}

/* تخصيص قسم الشهادات للسعودية */
.testimonials {
    background: linear-gradient(to right, #f5f5f5, #fff);
    padding: 60px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--ksa-secondary);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: calc(33.33% - 20px);
    border-top: 3px solid var(--ksa-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5em;
    color: var(--ksa-primary);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-left: 15px;
    object-fit: cover;
    border: 2px solid var(--ksa-primary);
}

.author-info h4 {
    margin: 0 0 5px;
    color: var(--ksa-primary);
}

.author-info p {
    margin: 0;
    font-size: 0.9em;
    color: #777;
}

.rating {
    margin-top: 8px;
}

.rating i {
    color: #ffc107;
    font-size: 0.9em;
    margin-left: 2px;
}

@media (max-width: 992px) {
    .testimonial-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 100%;
    }
}

/* تخصيص قسم الأسئلة الشائعة للسعودية */
.faq-question h3 {
    color: var(--ksa-secondary);
}

.faq-item.active .faq-question {
    background-color: var(--ksa-light);
}

.faq-item.active .faq-question i {
    color: var(--ksa-primary);
}

/* تخصيص قسم الدعوة للعمل للسعودية */
.cta {
    background: linear-gradient(135deg, var(--ksa-secondary) 0%, var(--ksa-primary) 100%);
}

/* تخصيص تذييل الصفحة للسعودية */
.site-footer {
    border-top: 4px solid var(--ksa-primary);
    background-color: #1a2a42;
    color: #ffffff;
    padding: 40px 0 20px;
}

/* تنسيق الفوتر ليكون بالعرض وليس بالطول */
.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--ksa-primary);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--ksa-primary);
}

.contact-info i {
    margin-left: 8px;
    color: var(--ksa-primary);
}

.coverage-list {
    column-count: 2;
    column-gap: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-column {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
        justify-content: center;
    }
}

/* تخصيصات متوافقة مع الجوال */
@media (max-width: 768px) {
    .hero::before {
        background-size: 35%;
        background-position: top right;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid, .content-grid {
        grid-template-columns: 1fr;
    }
}

/* تحسينات الأداء وتجربة المستخدم */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* تأثيرات حركية بسيطة */
.feature-card, .package-card, .content-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* تخصيص قائمة التنقل للسعودية */
.main-nav a.active {
    color: var(--ksa-primary);
    font-weight: bold;
}

.main-nav a:hover {
    color: var(--ksa-primary);
}

/* تحسينات لأداء تحميل الصفحة */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* تخصيص للهواتف الصغيرة */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
}

/* تنسيقات زر واتساب العائم */
.floating-whatsapp {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.floating-whatsapp a:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp i {
    font-size: 24px;
}

.floating-whatsapp span {
    font-weight: 600;
    font-size: 14px;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 768px) {
    .floating-whatsapp a {
        padding: 10px 16px;
    }
    
    .floating-whatsapp span {
        display: none;
    }
    
    .floating-whatsapp i {
        font-size: 28px;
        margin: 0;
    }
    
    .floating-whatsapp a {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* أنماط شريط التنقل التفصيلي (Breadcrumbs) */
.breadcrumbs {
    background-color: #f5f5f5;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.breadcrumbs li {
    font-size: 0.9rem;
    color: #666;
    margin-left: 10px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #ccc;
}

.breadcrumbs a {
    color: var(--ksa-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--ksa-secondary);
    text-decoration: underline;
}
