/* Hero Component Styles */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background Video & Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-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-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}

.no-video .hero-fallback {
    display: block;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Hero Content */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: var(--light-bg);
    padding: 0;
    max-width: 800px;
    margin-left: calc(2rem + 100px);
    margin-top: 2.5rem;
}
.testam {
    color: red;
}




.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-content-classes {
    position: relative;
    z-index: 3;
    text-align: left;
    color: var(--light-bg);
    padding: 0;
    max-width: 800px;
    margin-left: calc(2rem + 100px);
    margin-top: 4rem;
}

.hero-title-classes {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 750px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Button Styles */
.btn-large {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 220px;
    text-align: center;
}

.btn-primary {
    background-color: #000000;
    color: var(--light-bg);
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--light-bg);
    border-color: var(--light-bg);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light-bg);
    color: var(--light-bg);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--light-bg);
    color: #000000;
}

/* Video Button Styles */
.video-button-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
    cursor: pointer;
}

.video-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-bg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--light-bg);
    margin-left: 0;
}

.play-button:hover,
.video-button-wrapper:hover .play-button {
    transform: scale(1.1);
    background-color: #000000;
    border-color: var(--light-bg);
}

.video-button-wrapper:hover .video-text {
    opacity: 0.8;
}

/* Default Mobile Styles First */
@media (max-width: 767px) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        text-align: center;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
    }

    .btn-large {
        width: 100%;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        min-width: unset;
    }

    .video-button-wrapper {
        margin: 0.5rem 0 0;
        justify-content: center;
        width: 100%;
    }

    .play-button {
        width: 40px;
        height: 40px;
    }

    .video-text {
        font-size: 0.875rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        margin-left: 2rem;
        max-width: 600px;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content {
        margin-left: calc(2rem + 100px);
    }
}

/* Video Fallback Detection */
@supports not (aspect-ratio: 16/9) {
    .hero-video:not([playsinline]) {
        display: none;
    }

    .hero-video:not([playsinline]) ~ .hero-fallback {
        display: block;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-fallback {
        display: block;
    }
}

/* Video Popup Styles */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-popup.active {
    opacity: 1;
    visibility: visible;
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background-color: #000;
    padding: 20px;
    border-radius: 8px;
}

.video-popup video {
    width: 100%;
    height: auto;
    display: block;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

.close-popup:hover {
    color: #ccc;
} 