/* Banner Parallax Noleggio - Stili */

.banner-parallax-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px 0;
}

.banner-parallax__bg {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 1;
}

.banner-parallax__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    z-index: 2;
}

.banner-parallax__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 60px 20px;
}

.banner-parallax__title {
    font-size: 48px;
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
    line-height: 1.2;
}

.banner-parallax__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.banner-parallax__btn {
    display: inline-block;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .banner-parallax-section {
        min-height: 400px !important;
        margin: 60px 0;
    }
    
    .banner-parallax__title {
        font-size: 36px;
    }
    
    .banner-parallax__subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .banner-parallax-section {
        min-height: 350px !important;
        margin: 40px 0;
    }
    
    .banner-parallax__title {
        font-size: 28px;
    }
    
    .banner-parallax__subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .banner-parallax__content {
        padding: 40px 15px;
    }
    
    /* Disabilita parallax su mobile per performance */
    .banner-parallax__bg {
        transform: none !important;
        top: 0;
        height: 100%;
    }
}
