/**
 * GW Video Hero Widget Styles
 */

.gw-video-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 70vh;
}

@media (min-width: 768px) {
    .gw-video-hero {
        min-height: 85vh;
    }
}

/* Background */
.gw-video-hero__background {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.gw-video-hero--loaded .gw-video-hero__background {
    opacity: 1;
}

.gw-video-hero__video,
.gw-video-hero__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.gw-video-hero__overlay {
    position: absolute;
    inset: 0;
}

/* Mute Button */
.gw-video-hero__mute {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--gw-background));
    cursor: pointer;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.5s ease, transform 0.5s ease, background-color var(--gw-transition-base);
    transition-delay: 800ms;
}

.gw-video-hero--loaded .gw-video-hero__mute {
    opacity: 1;
    transform: translateY(0);
}

.gw-video-hero__mute:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Container & Content */
.gw-video-hero__container {
    position: relative;
    z-index: 10;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.gw-video-hero__content {
    max-width: 42rem;
}

/* Text Elements with Staggered Animation */
.gw-video-hero__subtitle,
.gw-video-hero__title,
.gw-video-hero__description,
.gw-video-hero__buttons {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.gw-video-hero--loaded .gw-video-hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 200ms;
}

.gw-video-hero--loaded .gw-video-hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 300ms;
}

.gw-video-hero--loaded .gw-video-hero__description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 450ms;
}

.gw-video-hero--loaded .gw-video-hero__buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 600ms;
}

/* Subtitle */
.gw-video-hero__subtitle {
    margin-bottom: 1rem;
}

/* Title */
.gw-video-hero__title {
    font-family: var(--gw-font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.1;
    color: hsl(var(--gw-foreground));
    margin: 0 0 1.5rem 0;
}

.gw-video-hero__title em,
.gw-video-hero__title i {
    font-style: italic;
}

@media (min-width: 768px) {
    .gw-video-hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .gw-video-hero__title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .gw-video-hero__title {
        font-size: 4.5rem;
    }
}

/* Description */
.gw-video-hero__description {
    font-family: var(--gw-font-sans);
    font-size: 1.125rem;
    line-height: 1.625;
    color: hsl(var(--gw-muted-foreground));
    max-width: 32rem;
    margin: 0 0 2rem 0;
}

@media (min-width: 768px) {
    .gw-video-hero__description {
        font-size: 1.25rem;
    }
}

/* Buttons */
.gw-video-hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .gw-video-hero__buttons {
        flex-direction: row;
    }
}
