/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

   /* Video Gallery Start */

    .video-gallery-item { margin-bottom: 30px; }
    .video-poster-wrapper {
        position: relative; width: 100%; padding-top: 56.25%; background-color: #000;
        overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); display: block; cursor: pointer;
    }
    .video-poster-wrapper video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
    .video-overlay-play {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease;
    }
    .video-poster-wrapper:hover .video-overlay-play { background: rgba(0, 0, 0, 0.5); }
    .play-icon {
        width: 50px; height: 50px; background: #ff6600; border-radius: 50%;
        display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; transition: transform 0.3s ease;
    }
    .video-poster-wrapper:hover .play-icon { transform: scale(1.1); }

    .custom-lightbox {
        display: none; position: fixed; z-index: 999999; left: 0; top: 0; width: 100%; height: 100%;
        background-color: rgba(0, 0, 0, 0.95); align-items: center; justify-content: center;
    }
    
    .lightbox-content { 
        position: relative; 
        width: 95%; 
        max-width: 1200px; 
        background: #000; 
        border-radius: 8px; 
        overflow: hidden; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 1000000;
    }
    
    .lightbox-content video { 
        width: 100%; 
        display: block;
        max-height: 85vh; 
        object-fit: contain; 
    }
    
    .lightbox-close {
        position: absolute; top: 20px; right: 25px; color: #fff; font-size: 50px;
        font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 1000005; user-select: none;
        line-height: 40px;
    }
    .lightbox-close:hover { color: #ff6600; }

    .lightbox-nav {
        position: fixed; top: 50%; transform: translateY(-50%); color: #fff;
        font-size: 60px; font-weight: bold; padding: 20px 30px; cursor: pointer;
        transition: 0.3s; user-select: none; z-index: 1000002;
        background: rgba(0,0,0,0.3);
    }
    .lightbox-nav:hover { color: #ff6600; background: rgba(0,0,0,0.7); }
    
    .lightbox-prev { left: 0; border-radius: 0 5px 5px 0; }
    .lightbox-next { right: 0; border-radius: 5px 0 0 5px; }

    @media (max-width: 768px) {
        .lightbox-nav { font-size: 40px; padding: 15px 20px; }
        .lightbox-content { width: 100%; }
        .lightbox-content video { max-height: 70vh; }
        .lightbox-close { top: 10px; right: 15px; font-size: 40px; }
    }
    
    /* Video Gallery End */