/* Video Hero Section */
.video-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    /* Base desktop height */
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
}

.video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: center;
}

/* Tablet Devices */
@media (max-width: 1024px) {
    .video-hero {
        height: 55vh;
        min-height: unset;
    }
}

/* Mobile Devices */
@media (max-width: 1024px) {
    .video-hero {
        height: auto;
        min-height: unset;
        aspect-ratio: 16 / 9;
        width: 100% !important;
    }

    .video-hero video {
        position: relative;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        transform: none;
        object-fit: cover !important;
        /* Fill the area, cut off edges slightly */
    }
}

/* Optional Overlay Content */
.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-overlay h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: #ff2a1f;
}