/* ============================================
   GALLERY PAGE STYLES
   Location: assets/dist/css/default_skin/gallery.css
   ============================================ */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transition: bottom 0.3s ease;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay i {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}

.gallery-overlay h5 {
    font-size: 14px;
    margin: 0;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    margin: 5px;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}