/* Wrapper sets the stage */
.gsap-reveal-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0a0a0a;
    color: #fff;
    z-index: 1;
}

/* Center Stage pins everything to the center */
.gsap-center-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Title */
.main-title {
    position: absolute;
    z-index: 10;
    text-align: center;
    margin: 0;
    font-size: clamp(2rem, 5vw, 6rem);
    font-weight: 700;
    pointer-events: none;
    white-space: nowrap;
}

/* Image Stage: Starts small, grows to fullscreen */
.image-stage {
    position: absolute;
    width: 400px;
    height: 500px;
    max-width: 90vw;
    max-height: 70vh;
    z-index: 5;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center center;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.reveal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay inside image wrapper */
.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
}

/* Hidden Content: Appears over image */
.hidden-content {
    position: relative;
    z-index: 20;
    text-align: center;
    opacity: 0;
    max-width: 800px;
    padding: 2rem;
}

.sec-title {
    font-size: clamp(1.5rem, 4vw, 4rem);
    margin-bottom: 1rem;
}

.sec-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .image-stage {
        width: 80vw;
        height: 40vh;
    }
    .main-title {
        font-size: 2.5rem;
        white-space: normal;
    }
}