.legacy-section {
    margin-top: -60px;
    width: 100%;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    padding: 30px 0;
}

.legacy-section h2 {
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-align: center;
        
}

.legacy-slider {
    position: relative;
    width: calc(100% - 60px);
    margin: 0 30px;
    overflow: hidden;
    border-radius: 5px;
    height: 80vh; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.legacy-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.legacy-slide {
    min-width: 100%;
    height: 100%;
    flex: 0  0 100%;
    position: relative;
}

.legacy-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 90%;
}

/* Dark overlay */
.legacy-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 8%;
    padding-right: 8%;
    color: #ffffff;
}

.legacy-overlay h2 {
    font-size: 46px;
    font-weight: 300;
    line-height: 1.2;
    max-width: 500px;
    text-align: left;
}

.legacy-overlay p {
    margin-top: -10px;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .legacy-slider {
        height: 50vh;
    }

    .legacy-overlay {
        padding: 0 20px 40px 20px;
        justify-content: flex-end;
        text-align: center;
        align-items: center;
    }

    .legacy-overlay h2 {
        font-size: 26px;
        text-align: left;
    }

    .legacy-overlay p {
        font-size: 14px;
        text-align: left;
    }
}