/* =========================================
           SLIDER COMPARATIVO HORIZONTAL
           ========================================= */
.video-compare-section {
    margin-top: 10rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.compare-slider-wrap {
    position: relative;
    margin-top: 4rem;
}

.compare-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.compare-slider-track::-webkit-scrollbar {
    display: none;
}

.compare-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.video-box {
    position: relative;
    background-color: var(--color-bg-light);
    aspect-ratio: 9/16;
    overflow: hidden;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.video-box:hover video {
    filter: grayscale(0%);
}

.video-tag {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: #fff;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-dark);
    z-index: 10;
}

/* Slider navigation arrows */
.compare-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

.compare-nav:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.compare-nav-prev {
    left: -25px;
}

.compare-nav-next {
    right: -25px;
}

/* Dots indicator */
.compare-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.compare-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.compare-dot.active {
    background: var(--color-text-dark);
    transform: scale(1.3);
}

/* Project info text below slider */
.compare-project-info {
    text-align: center;
    margin-top: 2rem;
}

.compare-project-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.compare-project-desc {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: #888;
    max-width: 500px;
    margin: 0 auto;
    font-style: italic;
}

@media (max-width: 900px) {
    .compare-slide {
        grid-template-columns: 1fr;
    }

    .compare-nav-prev {
        left: 10px;
    }

    .compare-nav-next {
        right: 10px;
    }
}
