/**
 * Gallery Page Styles
 */

/* Breadcrumb Styles inherited from Main Theme (branch-header-full) */

/* Gallery Filter */
.gallery-filter-area {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-filter-btn {
    background: transparent;
    border: 2px solid var(--tema-anarenk, #0073aa);
    color: var(--tema-anarenk, #0073aa);
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--tema-anarenk, #0073aa);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Gallery Grid */
.gallery-grid {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

/* Force 4 columns on large screens */
@media (min-width: 992px) {
    .col-lg-3.gallery-item {
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

.gallery-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-img {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
}

.gallery-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}

.gallery-overlay i {
    color: #fff;
    /* Removed transform animation for strict centering */
}

/* Info styles removed as per request */

.no-gallery-items {
    text-align: center;
    font-size: 1.2rem;
    color: #777;
    margin: 3rem 0;
}

/* Category Icon in Overlay */
.category-icon {
    font-size: 1.2rem !important;
    background: rgba(255, 255, 255, 0.2);
    width: 50px; /* Slightly larger touch target */
    height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 !important;
    line-height: 1 !important;
}