/* ============================================================
   gallery — পেজ-নির্দিষ্ট স্টাইল
   মূল ফাইল: pages\gallery.html
   ============================================================ */

        /* ══ ক্যাটাগরি ফিল্টার ══ */
        .gallery-filter {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }
        .filter-btn {
            padding: 8px 18px;
            border-radius: 50px;
            border: 2px solid #DEE2E6;
            background: #FFFFFF;
            color: #6C757D;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.3s;
        }
        .filter-btn.active,
        .filter-btn:hover {
            background: #0F5132;
            color: #FFFFFF;
            border-color: #0F5132;
        }

        /* ══ গ্যালারি গ্রিড ══ */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 14px;
            margin: 20px 0;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
            aspect-ratio: 4 / 3;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        .gallery-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .gallery-item:hover img {
            transform: scale(1.1);
        }

        /* ছবির উপর নাম (overlay) */
        .gallery-item .caption {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
            color: #FFFFFF;
            padding: 20px 14px 12px;
            font-size: 13px;
            font-weight: 600;
            transform: translateY(100%);
            transition: transform 0.3s;
        }
        .gallery-item:hover .caption {
            transform: translateY(0);
        }
        .gallery-item .caption small {
            display: block;
            font-size: 11px;
            opacity: 0.85;
            margin-top: 2px;
            font-weight: normal;
        }

        /* জুম আইকন */
        .gallery-item::after {
            content: '🔍';
            position: absolute;
            top: 10px; right: 10px;
            background: rgba(255,255,255,0.9);
            width: 32px; height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .gallery-item:hover::after {
            opacity: 1;
        }

        /* ══ লাইটবক্স (বড় করে ছবি দেখানোর মডাল) ══ */
        .lightbox {
            display: none;
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .lightbox.active {
            display: flex;
            animation: fadeIn 0.3s;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90vh;
            text-align: center;
        }
        .lightbox img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 8px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.5);
        }
        .lightbox-caption {
            color: #FFFFFF;
            margin-top: 12px;
            font-size: 15px;
        }

        .lightbox-close {
            position: absolute;
            top: 20px; right: 20px;
            background: rgba(255,255,255,0.2);
            color: #FFFFFF;
            border: 2px solid rgba(255,255,255,0.5);
            width: 44px; height: 44px;
            border-radius: 50%;
            font-size: 22px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        .lightbox-close:hover {
            background: #DC3545;
            border-color: #DC3545;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.15);
            color: #FFFFFF;
            border: 2px solid rgba(255,255,255,0.4);
            width: 50px; height: 50px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        .lightbox-nav:hover {
            background: #0F5132;
            border-color: #0F5132;
        }
        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }

        /* মোবাইলে ছোট */
        @media (max-width: 600px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .lightbox-nav {
                width: 42px; height: 42px;
                font-size: 20px;
            }
        }

        /* কোনো ছবি না পেলে */
        .no-images {
            text-align: center;
            padding: 40px;
            color: #6C757D;
            grid-column: 1 / -1;
        }
    
