/* 🎥 Video Styles - أنماط الفيديو */

/* Main video container */
.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Video element styles */
.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    position: relative;
    z-index: 2;
}

/* Hover effects */
.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-image:hover video {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* Glowing effect overlay */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1), 
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.02)
    );
    border-radius: 25px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image:hover::before {
    opacity: 1;
}

/* Corner accent effect */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.2) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(255,255,255,0.1) 100%
    );
    border-radius: 25px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* Responsive video styles */
@media (max-width: 768px) {
    .hero-image {
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }
    
    .hero-image video {
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 480px) {
    .hero-image {
        border-radius: 18px;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    }
    
    .hero-image video {
        border-radius: 18px;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 360px) {
    .hero-image {
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    }
    
    .hero-image video {
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    }
}

/* Animation keyframes for subtle movement */
@keyframes videoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

/* Apply subtle animation on load */
.hero-image video {
    animation: videoFloat 6s ease-in-out infinite;
}

/* Enhanced focus states for accessibility */
.hero-image:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Loading state */
.hero-image.loading {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
