﻿.video-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    overflow: hidden;
    background: #000;
}

    .video-hero .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .video-hero iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120vw; /* wider than viewport to prevent side gaps */
        height: 120vh; /* taller than viewport to prevent top/bottom gaps */
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

@media (max-width: 768px) {
    .video-hero {
        display: none !important;
    }
}

.hero {
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.hero-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    pointer-events: none;
}

.hero-title-inner {
    display: inline-block;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    padding: 0.3em 0.5em;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    opacity: 0;
    animation: fadeInTitle 1s ease-out forwards;
}

@media (max-width: 992px) {
    .hero-title-inner {
        font-size: 3rem;
        padding: 0.4em 0.8em;
    }
}


@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-banner {
    line-height: 0;
    overflow: hidden;
    position: relative;
}

    .hero-banner img {
        display: block;
        height: auto;
        object-fit: cover;
        vertical-align: middle;
        width: 100%;
    }

@media (max-width: 767.98px) {
    .hero-wrapper {
        padding: 0.75rem 0.75rem 0 0.75rem;
        border-radius: 6px;
    }

    .hero-image-container {
        border-radius: 6px;
        overflow: hidden;
    }
}

