/* ATS - Home Hero Widget Styles */

.ats-home-hero-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    display: block;
}

/* Thumbnail Styles */
.ats-home-hero-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
}

.ats-home-hero-thumbnail.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Video Styles */
.ats-home-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.ats-home-hero-video.loaded {
    opacity: 1;
}

.ats-home-hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    object-fit: cover;
}

/* Logo Overlay Styles */
.ats-home-hero-logo {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    max-width: 100%;
    box-sizing: border-box;
}

/* Horizontal positioning */
.ats-logo-left {
    left: 0;
}

.ats-logo-center-h {
    left: 50%;
    transform: translateX(-50%);
}

.ats-logo-right {
    right: 0;
}

/* Vertical positioning */
.ats-logo-top {
    top: 0;
}

.ats-logo-center-v {
    top: 50%;
    transform: translateY(-50%);
}

.ats-logo-bottom {
    bottom: 0;
}

/* Center both horizontally and vertically */
.ats-logo-center-v.ats-logo-center-h {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ats-home-hero-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Responsive adjustments are now handled by Elementor's responsive controls */
