﻿/* ------------------------- */
/* Gallery base */
/* ------------------------- */
.gallery-container {
    max-width: 1400px;
    margin: auto;
    font-family: 'BHOMA', Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
}

.gallery-title {
    color: #2C2F36;
    font-size: 1.8rem;
    border-bottom: 3px solid #C9A14A;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

/* ------------------------- */
/* Gallery cards */
/* ------------------------- */
.gallery-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .gallery-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 14px 28px rgba(0,0,0,.14);
    }

/* ------------------------- */
/* Thumbs + overlay on hover */
/* ------------------------- */
.gallery-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 280px; /* Larger thumbnails */
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
    border-radius: 16px;
    cursor: zoom-in;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gallery-overlay i {
        color: #fff;
        font-size: 2rem;
    }

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* ------------------------- */
/* Responsive sizes */
/* ------------------------- */
@media (max-width: 1200px) {
    .gallery-img {
        height: 240px;
    }
}

@media (max-width: 991px) {
    .gallery-img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-img {
        height: 160px;
    }

    .gallery-title {
        font-size: 1.4rem;
    }
}

/* ------------------------- */
/* Lightbox typography tweak */
/* ------------------------- */
.glightbox-clean .gdesc-inner {
    font-family: 'BHOMA', Tahoma, Arial, sans-serif;
}
