﻿.headerdiv {
    position: relative;
    min-height: 605px;
    overflow: hidden;
}

/* two stacked background layers we crossfade between */
.hero-bg {
    position: absolute;
    inset: 0; /* top/right/bottom/left = 0 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

    .hero-bg.is-visible {
        opacity: 1;
    }

/* overlay with booking form on top of backgrounds */
.overlay.overlay--booking {
    position: relative;
    z-index: 2;
    min-height: 605px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

/* constrain the booking content width */
.booking-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

    /* glassy cards */
    .booking-hero .card {
        background: rgba(255,255,255,0.96);
        box-shadow: 0 20px 50px rgba(0,0,0,0.25);
        border-radius: 1rem;
    }


/* sticky summary tweak */
@media (max-width: 991.98px) {
    .rb-summary.sticky-top {
        top: 1rem;
    }
}
