/* Feature Showcase (GIFs) */
.showcase {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--bg-color), #121212);
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Alternate layout: text left/img right, then img left/text right */
.showcase-item:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.showcase-text p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.showcase-image {
    flex: 1.2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.showcase-image::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {

    .showcase-item,
    .showcase-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .showcase-text h3 {
        font-size: 1.8rem;
    }
}