/**
 * MixedSkills — Custom Elementor Widgets Frontend Styles
 * Loaded only when Elementor plugin is active.
 */

/* ── Video Banner ─────────────────────────────────────────────────────────── */
.ms-video-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-video-banner--fullscreen {
    height: 100vh;
}

.ms-video-banner--align-left  .ms-video-banner__content { text-align: left; align-items: flex-start; }
.ms-video-banner--align-right .ms-video-banner__content { text-align: right; align-items: flex-end; }

.ms-video-banner__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.ms-video-banner__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ms-video-banner__video-wrap iframe,
.ms-video-banner__video-wrap video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh; /* 16:9 ratio */
    height: 100%;
    min-width: 100%;
    min-height: 56.25vw; /* 16:9 ratio */
    transform: translate(-50%, -50%);
    border: none;
    object-fit: cover;
}

.ms-video-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
    max-width: 900px;
    width: 100%;
}

.ms-video-banner__subtitle {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c18f59;
    margin-bottom: 20px;
}

.ms-video-banner__title {
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 32px;
}

.ms-video-banner__btn {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid #c18f59;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.ms-video-banner__btn:hover {
    background-color: #c18f59;
    color: #000000;
}

@media (max-width: 768px) {
    .ms-video-banner,
    .ms-video-banner--fullscreen {
        height: 60vh;
    }
    .ms-video-banner__title {
        font-size: 32px;
    }
}
