
.site-header-video {
    /* background-image removed from here */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: #222;
    height: 120vh;

    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.4);
        right: 0;
        bottom: 0;
        transition: 0.3s all ease-in-out;
        z-index: 0;
    }

    &.header-scrolled {
        &:before {
            background-color: rgba(0, 0, 0, 0.6);
        }

    }
}

body {
    min-height: 100vh; /* Changed from height: 100% for better behavior */
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23f5f5f5' fill-opacity='0.3' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: repeat;
    margin: 0px;
    /* Removed absolute positioning from body as it's usually unnecessary
       and causes layout issues with scrolling */
}

.trip-card-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.trip-card-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='none' stroke='%23000000' stroke-opacity='0.04' stroke-width='1' d='M0 0h40v40H0z'/%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: repeat;
}


.site-header-video-content,
.content-after-scroll {
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.content-after-scroll .card__content-top {
    gap: 12px;
}

.content-after-scroll .card__content {
    bottom: -67px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.content-after-scroll .card .card__img:before {
    background: linear-gradient(0deg, rgba(19, 17, 32, 0.5) 0%, rgba(19, 17, 32, 0.4) 47.69%, rgba(19, 17, 32, 0) 88.23%, rgba(19, 17, 32, 0) 100%);
}


/* Initial State */
.site-header-video-content {
    opacity: 1;
    visibility: visible;
}

/* Initial State */
.content-after-scroll {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: 99;
    top: 60%;
    color: #fff;
    transform: translatey(-50%);
    width: 100%;
    transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
}

.content-after-scroll .card__content-middle {
    display: none;
}

.content-after-scroll .trip-card__wrapper {
    flex-wrap: nowrap;
}

.content-after-scroll .card__img {
    background: linear-gradient(0deg, rgb(19, 17, 32) 30%, rgb(19, 17, 32) 42.46%, rgba(19, 17, 32, 0.71) 65.82%, rgba(19, 17, 32, 0) 100%);
}

.content-after-scroll .section-title {
    color: #fff;
}

/* Active State (after scroll) */
.header-scrolled .site-header-video-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}


/* Visible State */
.header-scrolled .content-after-scroll {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
}


/* Ensure the parent container can hold the overlay */
.desktop-navigation.active {
    overflow: hidden;
    /* Prevents overlay overflow */
}

/* Background image layer */
.desktop-navigation.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/navbar-overlay.png") no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
    /* Places it behind navbar content */
}

/* Ensure navbar content stays above overlay */
.desktop-navigation>* {
    position: relative;
    z-index: 2;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
        /* End far enough to the right to clear the container */
    }
}

.about-page {
    position: relative;

}

.about-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../../assets/img/mountain-line2.png");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.08;
    z-index: -1;
}

@media screen and (max-width: 767px) {

    .site-header-video {
        height: 850px;
    }

    .content-after-scroll .section-tagline {
        text-align: center;
    }

    .content-after-scroll .section-title {
        text-align: center;
    }

    .site-header-video-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0 15px;
    }

    .site-header-video-content .section-title {
        color: #fff;
        font-size: 32px;
    }

    .site-header-top.is-sticky{
        padding: 12px 15px;
    }

    .mobile-toggle span {
        background: #fff;
    }


    .site-header-top.is-sticky .mobile-toggle span {
        background: #292929;
    }

}

.hero-overlay-text {
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
}

.hero-overlay-text p {
    color: #fff;
    font-size: 28px;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
}