/* ===== Scroll View =====
   Video sections, video overlays, contact section
*/

.scroll-view {
    transition: none;
}

/* Video sections */
.video-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    cursor: pointer;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    will-change: transform, opacity;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8rem 4rem 1rem 4rem;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.87) 12%,
        rgba(0, 0, 0, 0.72) 25%,
        rgba(0, 0, 0, 0.53) 38%,
        rgba(0, 0, 0, 0.32) 52%,
        rgba(0, 0, 0, 0.14) 66%,
        rgba(0, 0, 0, 0.04) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.video-title {
    font-family: 'NB International Pro', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    will-change: transform, filter;
    position: relative;
}

.video-description {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    position: relative;
    line-height: 1.5;
}

/* Contact section */
.contact-section {
    height: 100vh;
    position: relative;
    background: var(--bg-dark);
    scroll-snap-align: start;
}

/* Background container — same concept as .video-container */
.contact-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--contact-bg-url, url('https://dogga-clan.b-cdn.net/photos/daivi.jpg')) center center / cover no-repeat;
    will-change: transform, opacity;
}

/* "contact me" — behind the cutout, final position at top */
.contact-title {
    position: absolute;
    top: 5%;
    left: 50%;
    font-family: 'NB International Pro', sans-serif;
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 300;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
    z-index: 2;
    will-change: transform, opacity;
    margin: 0;
}

/* Cutout PNG — independent of container, on top of title */
.contact-cutout {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 136.5%;
    width: auto;
    object-fit: contain;
    z-index: 20;
    will-change: transform, opacity;
}

/* Bottom gradient fading white container to dark */
.contact-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0)    0%,
        rgba(10, 10, 10, 0.05) 15%,
        rgba(10, 10, 10, 0.15) 30%,
        rgba(10, 10, 10, 0.35) 45%,
        rgba(10, 10, 10, 0.60) 60%,
        rgba(10, 10, 10, 0.82) 75%,
        rgba(10, 10, 10, 0.95) 90%,
        rgba(10, 10, 10, 1)   100%
    );
    z-index: 4;
    pointer-events: none;
}

/* Footer — pinned to bottom of section */
.contact-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding: 2rem 4rem;
    z-index: 10;
    will-change: opacity, filter;
}

.contact-footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-phone,
.contact-email,
.contact-instagram {
    font-family: 'NB International Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-instagram {
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.contact-phone,
.contact-email {
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.ig-icon,
.contact-icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.contact-phone:hover,
.contact-email:hover,
.contact-instagram:hover {
    opacity: 0.7;
}

.contact-footer-right {
    font-family: 'NB International Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
}
