.parallax-block {
	position: relative;
	width: 100%;
	height: 800px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.parallax-block-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; /* Делаем выше, чтобы было куда двигаться */
	background-image: url('../../image/генерация картинок/7ilz19fqihc6mw6whjbdkwlt0k17vt2m.png');
	background-size: cover;
	background-position: center;
	transform: translateY(0);
	transition: transform 0.1s linear;
	will-change: transform;
	z-index: 1;
}

.parallax-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4); /* полупрозрачный фон для читаемости */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 10;
}

.parallax-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.parallax-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Адаптация до 1024px */
@media (max-width: 1024px) {
    .parallax-block {
        height: 800px;
    }

    .parallax-text{
        width: 70%;
    }

    .parallax-title {
        font-size: 1.5rem;
    }

    .parallax-subtitle {
        font-size: 0.90rem;
    }

}

/* Адаптация 480px – 780px */
@media (max-width: 780px) and (min-width: 481px) {
    .parallax-block {
        height: 650px;
    }

    .parallax-text {
        width: 80%;
        height: auto;
        padding: 13px;
        max-width: 95%;
    }

    .parallax-title {
        font-size: 1.3rem;
    }

    .parallax-subtitle {
        font-size: 0.60rem;
    }

    
}

/* Адаптация 430px – 479px */
@media (max-width: 479px) and (min-width: 431px) {
    .parallax-block {
        height: 600px;
    }

    .parallax-text {
        width: 80%;
        height: auto;
        padding: 13px;
        max-width: 95%;
    }

    .parallax-title {
        font-size: 1.0rem;
    }

    .parallax-subtitle {
        font-size: 0.5rem;
    }
}

@media (max-width: 430px) {
    .parallax-block {
        height: 480px;
    }

    .parallax-text {
        width: 90%;
        max-width: 95%;
        padding: 12px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.5);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(4px);
    }

    .parallax-title {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .parallax-subtitle {
        font-size: 0.7rem;
        line-height: 1.4;
    }
}
