.parallax-container {
    height: 500px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.parallax-img {
    width: 100%;
    height: 200%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-500px);
    margin: 0px;
    transition: transform 0.4s ease-out;
}

.parallax-img-2 {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin: 20px 0;
    transition: transform 0.1s ease-out;
}

.parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.parallax-content h2 {
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
} 