* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




.video-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #cbcbcb; 
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Top Left Text */
.content-text {
    color: white;
    z-index: 10;
}

.content-text h2 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: copperplate;
}

.content-text p {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-style: italic;
    opacity: 0.9;
}

/* Bottom Right Button Container */
.button-wrapper {
    display: flex;
    justify-content: flex-end;
    z-index: 10;
}

/* Button: Transparent with Black text/border normally, Black bg on hover */
.cta-button {
    display: inline-block;
    padding: 18px 45px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    
    /* Initial State */
    background-color: transparent;
    color: #f8fbff; 
    border: 1px solid #f8fbff; 
    
    /* Background needed to see the black text against dark videos */
    backdrop-filter: blur(5px);
    background-color: rgb(255 255 255 / 0%);
    
    top: -20px;
    position: relative;
    right: 110px;
}

.cta-button:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
}



/* 1. The Container: Force a relative position so the video stays pinned inside */
.parallax-section {
    position: relative; /* CRITICAL */
    height: 900px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px; /* Use padding instead of relative positioning for text */
}


.video-bg {
    top: 0%;
    min-height: 100%;
    object-fit: cover;
    pointer-events: none;
    background: #cbcbcb;
    position: absolute;
    width: 100%;
    height: 100%;
}
.content-text p {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-style: italic;
    opacity: 0.9;
    top: 40px;
    position: relative;
    left: -39%;
}


/* 3. Mobile Stability */
@media (max-width: 768px) {
    .parallax-section {
        /* Use the --vh variable we set in your previous script! */
        height: 650px; 
        min-height: 500px; 
        padding: 40px 20px;
    }

    
    .content-text h2 {
        font-size: 2.5rem;
        margin-top: 20px; /* Replaces 'top: 55px' */
    }

    .cta-button {
        position: static; /* Remove the relative offsets that cause jiggling */
        margin-bottom: 40px;
        margin-right: 20px;
    }

    .content-text p {
        font-size: 1.1rem;
        letter-spacing: 2px;
        font-style: italic;
        opacity: 0.9;
        top: 40px;
        position: relative;
        left: -13%;
    }
}