/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.works-container {
    height: 500vh; /* 5 экранов (1 заголовок + 4 шторки) */
    background: transparent;
    position: relative;
}

.works-header {
    position: sticky;
    top: 100px; /* Немного отступа сверху */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.works-header h2 {
    font-size: 3rem;
    padding: 20px 40px;
    pointer-events: auto;
}

.info-div{
    background: white;
    padding: 20vh;
    opacity: 50%;
    border-radius: 40px;
}

/* ===== ЗАГОЛОВОК (фиксированный сверху) ===== */
.section-title {
    position: sticky;
    top: 0;
    height: 15vh; /* Маленькая высота */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1000; /* Самый высокий z-index */
    background: transparent; /* Прозрачный фон */
    pointer-events: none; /* Чтобы не мешал кликам */
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    pointer-events: auto; /* Включаем клики только для заголовка */
}

.section-title p {
    font-size: 1rem;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

/* ===== ШТОРКИ ===== */
.sticky-item {
   position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.sticky-item:nth-child(2) { z-index: 2; }
.sticky-item:nth-child(3) { z-index: 3; }
.sticky-item:nth-child(4) { z-index: 4; }

/* Тёмный оверлей для лучшей читаемости текста */
.sticky-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Контент поверх изображения */
.sticky-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: self-end;
    text-align: center;
    color: white;
    padding-bottom: 100px;
    margin-bottom: 10px;
    padding-right: 160px;
}

.sticky-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.sticky-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

.btn-order {
    display: inline-block;
    padding: 15px 35px;
    background: #4a6cf7;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #4a6cf7;
}

.btn-order:hover {
    background: transparent;
    color: #4a6cf7;
    transform: translateY(-3px);
}