/* ============================= */
/* HERO SECTION                  */
/* ============================= */

.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video video,
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-text {
    position: absolute;
    bottom: 120px;
    left: 50%;
    text-align: center;
    padding: 0 2rem;
    z-index: 2;
    max-width: 700px;
    transform: translate3d(-50%, 0, 0px);
    transition: all 0.5s ease;
    color: white;
}

.hero-text h2,
.hero-text p {
    color: white;
}

.hero-video:hover .hero-text {
    transform: translate3d(-50%, 0%, 0px);
}

@media (max-width: 767px) {
    .hero-text {
        width: 90%;
        padding: 1.5rem;
    }
}

.hero-video {
    position: relative;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video:hover .hero-video-control {
    opacity: 1;
}

.hero-mute-toggle {
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.hero-mute-toggle:hover {
    background: rgba(0,0,0,0.8);
}