/* Gallery Section */
#gallery {
    padding: 60px 20px;
    text-align: center;
    background: #f5f5f5;
}

#gallery h2 {
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
}

/* Hidden items - smooth slide animation */
.gallery-item.hidden {
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item.showing {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Smooth hover slide effect */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 20px 15px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.gallery-item .overlay span {
    font-size: 1rem;
    font-weight: 500;
}

/* More Button */
.more-btn {
    margin-top: 40px;
    padding: 15px 50px;
    font-size: 1.1rem;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.more-btn:hover {
    background: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
/* View More Button with Arrow */
.more-btn {
    margin-top: 40px;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 500;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
}

.more-btn .arrow-icon {
    transition: transform 0.4s ease;
}

.more-btn:hover {
    background: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.more-btn:hover .arrow-icon {
    transform: translateX(5px);
}

