/* Modern Horizontal Scrolling Gallery */
.gallery-scroll-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: var(--light-bg);
}

.gallery-scroll-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.25rem;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
}

.gallery-scroll-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.gallery-scroll-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.gallery-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 30px 10px;
    scrollbar-width: none;
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none;
}

.gallery-scroll-item {
    flex: 0 0 auto;
    width: 320px;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    cursor: pointer;
}

.gallery-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-scroll-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.gallery-scroll-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-scroll-item:hover img {
    transform: scale(1.15);
}

.gallery-scroll-item:hover::after {
    opacity: 1;
}

/* Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
}

.gallery-nav-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

@media (max-width: 768px) {
    .gallery-scroll-wrapper {
        padding: 0 20px;
    }

    .gallery-scroll-item {
        width: 80vw;
        height: 250px;
        scroll-snap-align: center;
    }

    .gallery-nav-btn {
        display: none;
    }

    .gallery-scroll-container {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}