/* Mega Menu Media Elements */
.mega-menu-media,
.mega-menu-video,
.mega-menu-gallery {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 60, 0, 0.1);
    transition: all 0.3s ease;
}

.mega-menu-media:hover,
.mega-menu-video:hover,
.mega-menu-gallery:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 60, 0, 0.15);
}

.mega-menu-media img,
.mega-menu-video video {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.mega-menu-media:hover img,
.mega-menu-video:hover video {
    transform: scale(1.1);
}

/* Media Overlays */
.media-overlay,
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 7, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mega-menu-media:hover .media-overlay,
.mega-menu-video:hover .video-overlay {
    opacity: 1;
}

.media-overlay i,
.video-overlay i {
    color: white;
    font-size: 2rem;
    background: rgba(255, 60, 0, 0.8);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.media-overlay:hover i,
.video-overlay:hover i {
    background: #FF3C00;
    transform: scale(1.1);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: 120px;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.1);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 60, 0, 0.3);
}

/* Mobile Media Elements */
@media (max-width: 991.98px) {
    .mega-menu-media img,
    .mega-menu-video video {
        height: 100px;
    }
    
    .gallery-grid {
        height: 100px;
    }
    
    .media-overlay i,
    .video-overlay i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
}
