/* gallary->category, feature->feature Art */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.scroll-card:hover .overlay {
    opacity: 1;
}

.play-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.play-btn:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.discover-text {
    text-shadow: 0 1px 3px rgba(24, 24, 24, 0.4);
}

.scrolling-wrapper {
    overflow-x: auto;
    display: flex;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scroll-behavior: smooth;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
}

.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

.scroll-card {
    flex: 0 0 auto;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    min-width: auto;
    max-width: 400px;
    height: 300px;
}

.scroll-card.scroll-card-2 {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.card-img {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 992px) {
    .scrolling-wrapper {
        justify-content: flex-start;
    }

    .scroll-card {
        min-width: 220px;
    }

    .card-img {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .scrolling-wrapper {
        justify-content: flex-start;
    }

    .scroll-card {
        min-width: 180px;
    }

    .card-img {
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .scrolling-wrapper {
        justify-content: flex-start;
    }

    .scroll-card {
        flex: 0 0 auto;
        min-width: 100%;
        scroll-snap-align: start;
    }

    .card-img {
        height: auto;
        max-height: 250px;
    }
}

.scroll-card.scroll-card-2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.scroll-card.scroll-card-2 img {
    border-radius: 20px;
    object-fit: cover;
    height: 300px;
    width: 100%;
    display: block;
}

.image-3 img,
.image-1 img,
.image-4 img {
    display: block;
    height: 300px;
    width: 100%;
}

.play-button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 30px;
    z-index: 2;
}

.play-btn {
    background: white;
    border-radius: 50%;
    padding: 12px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 0;
}


.discover-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}