/* تنسيق قسم الهيرو - تصميم محسن */
.hero-section {
    background: url(../images/hero_bg.jpg) center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    padding-top: 250px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="islamic" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23islamic)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    z-index: 2;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    display: none;
    animation: slideFadeIn 0.6s ease-out;
}

.hero-slide.active {
    display: block;
}

@keyframes slideFadeIn {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.hero-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    margin: 0 auto;
}

/* أزرار التنقل - محسنة */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(37, 119, 177, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.hero-slider-nav:hover {
    background: rgba(37, 119, 177, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 119, 177, 0.4);
}

.hero-slider-prev {
    left: -25px;
}

.hero-slider-next {
    right: -25px;
}

/* النص - محسن */
.hero-text-content {
    color: white;
    padding: 1rem 0;
}

.hero-category {
    margin-bottom: 1.5rem;
}

.category-badge {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: justify;
}

/* الفيديو - محسن */
.hero-video-container {
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 250px;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-button i {
    color: #333;
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    margin-top: 0.8rem;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.video-source {
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.video-dots {
    display: flex;
    gap: 4px;
}

.video-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

/* نقاط التنقل - محسنة */
.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(37, 119, 177, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
    background: rgba(37, 119, 177, 0.8);
    transform: scale(1.3);
}

.hero-slider-dots .dot:hover {
    background: rgba(37, 119, 177, 0.6);
}

/* شريط البث المباشر - محسن */
.live-broadcast-bar {
    background: linear-gradient(90deg, #2577B1 0%, #1e5f8f 100%);
    padding: 0.8rem 0;
    position: relative;
    z-index: 3;
}

.live-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-controls {
    display: flex;
    gap: 10px;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 1rem 0;
        padding-top: 140px; /* مساحة للهيدر الشفاف على الموبايل */
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .hero-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-slider-prev {
        left: 5px;
    }
    
    .hero-slider-next {
        right: 5px;
    }
    
    .video-placeholder {
        height: 180px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.2rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .category-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1rem;
    }
    
    .video-placeholder {
        height: 160px;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
} 