/**
 * WP Video Background - Styles
 */

.wp-videbg-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-videbg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.wp-videbg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Responsive video for mobile */
@media (max-width: 768px) {
    .wp-videbg-video {
        width: 100%;
        height: 100%;
    }
}

.wp-videbg-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

/* Overlay option (can be added via CSS class) */
.wp-videbg-container.has-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.wp-videbg-container.has-overlay .wp-videbg-content {
    z-index: 2;
}

