/* About Section */
.about-section {
    display: flex;
    align-items: stretch;
    gap: 60px;
    padding: 50px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    flex: 1.1;
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: #eeeeee;
    font-weight: 400;
    padding-right: 30px;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 25px 0;
    line-height: 1.25;
    color: #ffffff;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
}

.about-image-wrapper {
    flex: 1;
    width: 100%;
    max-width: 680px;
    height: 635px;
    /* Fixed height to match text content balance */
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    margin-left: auto;
    overflow: hidden;
}

/* Comparison Slider */
.comparison-slider {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: ew-resize;
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
    background-color: #1a1a1a;
}

.comparison-image-base,
.comparison-image-overlay {
    pointer-events: none;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: transparent;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

.comparison-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    border: 4px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-section {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
        text-align: center;
    }

    .about-text {
        padding-right: 0;
        text-align: center;
    }

    .about-image-wrapper {
        margin: 20px auto 0 auto;
        width: 100%;
        max-width: 100%;
        height: 350px;
        /* Maintain visibility on mobile */
    }


    .about-title {
        font-size: 32px;
    }
}
