﻿        /* ========== GALLERY HERO ========== */
        .gallery-hero {
            position: relative;
            padding: 50px clamp(14px, 3vw, 22px) 0;
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .gallery-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 20px 8px 10px;
            border-radius: 999px;
            background: rgba(212, 175, 55, 0.14);
            border: 1px solid rgba(212, 175, 55, 0.30);
            font-size: 13px;
            font-weight: 800;
            color: var(--text-dark);
            letter-spacing: 0.5px;
            margin-bottom: 16px;
        }

        .gallery-hero-badge .badge-dot {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 13px;
        }

        .gallery-hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
            line-height: 1.15;
        }

        .gallery-hero h1 span {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .gallery-hero-line {
            width: 50px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 4px;
            margin: 14px auto;
        }

        .gallery-hero p {
            color: var(--text-muted);
            font-size: 16px;
            margin: 0 auto;
            max-width: 500px;
            line-height: 1.7;
        }

        .gallery-stats {
            display: inline-flex;
            align-items: center;
            gap: 0;
            margin-top: 26px;
            background: rgba(255, 255, 255, 0.50);
            border: 1px solid rgba(139, 71, 137, 0.12);
            border-radius: 16px;
            padding: 6px 8px;
        }

        html[data-theme="dark"] .gallery-stats {
            background: rgba(45, 27, 46, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .gallery-stat {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
        }

        .gallery-stat-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
        }

        .gallery-stat-icon.purple {
            background: rgba(139, 71, 137, 0.12);
            color: var(--primary);
        }

        .gallery-stat-icon.gold {
            background: rgba(212, 175, 55, 0.14);
            color: var(--secondary);
        }

        .gallery-stat-icon.pink {
            background: rgba(255, 107, 157, 0.12);
            color: var(--accent);
        }

        .gallery-stat-text {
            display: flex;
            flex-direction: column;
            text-align: left;
            line-height: 1.2;
        }

        .gallery-stat-val {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .gallery-stat-label {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .gallery-stat-sep {
            width: 1px;
            height: 30px;
            background: rgba(139, 71, 137, 0.15);
            flex-shrink: 0;
        }

        html[data-theme="dark"] .gallery-stat-sep {
            background: rgba(255, 255, 255, 0.10);
        }

        @media (max-width: 520px) {
            .gallery-stats {
                flex-direction: column;
                border-radius: 14px;
                gap: 0;
                width: 100%;
            }

            .gallery-stat-sep {
                width: 80%;
                height: 1px;
                margin: 0 auto;
            }
        }

        /* Filter Tabs */
        .filter-bar {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin: 28px auto 0;
            flex-wrap: wrap;
            max-width: 600px;
            padding: 5px;
            background: rgba(139, 71, 137, 0.06);
            border-radius: 999px;
            border: 1px solid rgba(139, 71, 137, 0.10);
        }

        html[data-theme="dark"] .filter-bar {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .filter-btn {
            padding: 10px 20px;
            border-radius: 999px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-weight: 700;
            font-size: 13.5px;
            cursor: pointer;
            transition: all 0.25s;
        }

        .filter-btn:hover {
            color: var(--text-dark);
            background: rgba(255, 255, 255, 0.5);
        }

        html[data-theme="dark"] .filter-btn:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .filter-btn.active {
            background: var(--gradient-primary);
            color: #fff;
            box-shadow: 0 4px 14px rgba(139, 71, 137, 0.25);
        }

        /* Photo Grid */
        .gallery-grid {
            columns: 3;
            column-gap: 16px;
            margin: 30px auto 50px;
            max-width: 1200px;
            padding: 0 clamp(14px, 3vw, 22px);
        }

        .gallery-item {
            break-inside: avoid;
            margin-bottom: 16px;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(139, 71, 137, 0.12);
            background: rgba(255, 255, 255, 0.55);
            content-visibility: auto;
            contain-intrinsic-size: auto 300px;
        }

        .gallery-item.hidden {
            display: none;
        }

        html[data-theme="dark"] .gallery-item {
            background: rgba(45, 27, 46, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .gallery-item:hover {
            transform: translateY(-6px) scale(1.015);
            box-shadow: 0 16px 40px rgba(139, 71, 137, 0.22);
        }

        .gallery-item img {
            width: 100%;
            display: block;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(45, 27, 46, 0.72) 0%, transparent 55%);
            opacity: 0;
            transition: opacity 0.35s ease;
            display: flex;
            align-items: flex-end;
            padding: 18px;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay span {
            color: #fff;
            font-weight: 700;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.22);
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.22);
        }

        .load-more-wrap {
            text-align: center;
            margin: 0 auto 50px;
        }

        .load-more-btn {
            padding: 14px 36px;
            border-radius: 999px;
            border: none;
            background: var(--gradient-primary);
            color: #fff;
            font-weight: 800;
            font-size: 15px;
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            box-shadow: var(--shadow-sm);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .load-more-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .load-more-btn.hide {
            display: none;
        }

        @media (max-width:900px) {
            .gallery-grid {
                columns: 2;
            }
        }

        @media (max-width:520px) {
            .gallery-grid {
                columns: 1;
                column-gap: 12px;
            }
        }

        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 10000;
            inset: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            align-items: center;
            justify-content: center;
        }

        .lightbox.show {
            display: flex;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 85%;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
            object-fit: contain;
        }

        .lightbox-close {
            position: absolute;
            top: 30px;
            right: 40px;
            font-size: 40px;
            color: white;
            cursor: pointer;
            transition: transform 0.3s;
            background: none;
            border: none;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-close:hover {
            transform: scale(1.2) rotate(90deg);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #fff;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.1);
        }

        .lightbox-prev {
            left: 20px;
        }

        .lightbox-next {
            right: 20px;
        }

        .lightbox-counter {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            font-weight: 600;
            background: rgba(0, 0, 0, 0.4);
            padding: 8px 20px;
            border-radius: 999px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        /* FOOTER */
        footer {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-start;
            padding: 40px 20px;
            padding-bottom: calc(40px + var(--safe-bottom));
            margin-top: 90px;
        }

        footer .footer-box {
            flex: 3 1 500px;
            background: rgba(139, 71, 137, 0.55);
            padding: 20px;
            border-radius: 18px;
            box-shadow: var(--shadow-md);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }

        html[data-theme="dark"] footer .footer-box {
            background: rgba(45, 27, 46, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.10);
        }

        footer .donation-card {
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 15px;
            padding: 15px;
            text-align: center;
            color: #fff;
            flex: 1 1 220px;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        footer .donation-card h2 {
            color: #fff;
            font-size: 18px;
            margin-bottom: 8px;
        }

        footer .donation-card p {
            color: rgba(255, 255, 255, 0.88);
            font-size: 13px;
            margin-bottom: 12px;
        }

        footer .qr img {
            width: 120px;
            height: 120px;
            border-radius: 8px;
            border: 3px solid rgba(255, 255, 255, 0.25);
            display: block;
            margin: 0 auto;
        }

        footer .btn {
            display: block;
            background: rgba(255, 255, 255, 0.18);
            border: 1px solid rgba(255, 255, 255, 0.22);
            color: white;
            text-decoration: none;
            padding: 8px;
            border-radius: 20px;
            font-weight: 900;
            margin: 6px 0;
            transition: 0.3s;
            font-size: 13px;
        }

        footer .btn:hover {
            background: rgba(255, 255, 255, 0.26);
        }

        footer .footer-bottom {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.90);
            text-align: center;
            margin-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.30);
            padding-top: 8px;
            flex-basis: 100%;
        }

        footer .footer-card {
            background: rgba(255, 255, 255, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 18px;
            padding: 22px;
            max-width: 360px;
            box-shadow: var(--shadow-sm);
            color: #fff;
            font-family: 'Poppins', sans-serif;
            flex: 1 1 320px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        footer .footer-brand-head {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 14px;
        }

        footer .footer-brand-head img {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            border: 3px solid var(--secondary);
            box-shadow: 0 10px 22px rgba(212, 175, 55, 0.18);
            object-fit: cover;
        }

        footer .footer-brand-text h3 {
            margin: 0;
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            color: #fff;
        }

        footer .footer-tagline {
            margin-top: 4px;
            font-size: 12.5px;
            font-weight: 900;
            letter-spacing: .4px;
            color: var(--secondary);
        }

        footer .footer-about {
            font-size: 14.5px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.86);
            margin: 12px 0 18px;
        }

        footer .footer-social {
            display: flex;
            gap: 10px;
        }

        footer .footer-social a {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: #fff;
            transition: 0.25s;
            text-decoration: none;
        }

        footer .footer-social a:hover {
            background: rgba(212, 175, 55, 0.22);
            border-color: rgba(212, 175, 55, 0.35);
            transform: translateY(-2px);
        }

        footer .footer-columns {
            display: flex;
            flex-direction: column;
            min-width: 150px;
        }

        footer .footer-column h3 {
            font-size: 16px;
            margin-bottom: 10px;
            font-weight: 900;
            color: #fff;
        }

        footer .footer-column a {
            display: block;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            margin: 4px 0;
        }

        footer .footer-column a:hover {
            text-decoration: underline;
            color: #fff;
        }

        footer .contact-info {
            font-size: 14px;
            margin-top: 10px;
            color: rgba(255, 255, 255, 0.88);
        }

        footer .contact-info a {
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
        }

        footer .contact-info a:hover {
            color: #fff;
            text-decoration: underline;
        }

        /* RESPONSIVE */
        @media (max-width:768px) {
            .top-header-info {
                display: none;
            }

            .navbar {
                padding: 14px 16px;
            }

            .logo-text {
                font-size: 20px;
            }

            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                background: rgba(255, 255, 255, 0.72);
                flex-direction: column;
                padding-top: 80px;
                transition: right 0.35s ease;
                box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
                z-index: 1000;
                backdrop-filter: blur(14px);
                -webkit-backdrop-filter: blur(14px);
            }

            html[data-theme="dark"] .nav-menu {
                background: rgba(45, 27, 46, 0.72);
            }

            .nav-menu.active {
                right: 0;
            }

            .hamburger {
                display: flex;
            }

            .section-title::before,
            .section-title::after {
                display: none;
            }

            body {
                background-attachment: scroll;
            }
        }

        @media (hover:none) {
            .gallery-item:hover {
                transform: none !important;
            }

            .gallery-overlay {
                opacity: 1;
            }
        }

        @media (prefers-reduced-motion:reduce) {
            * {
                scroll-behavior: auto !important;
            }

            .gallery-item {
                transition: none !important;
            }
        }
