/* Reset dan font */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .desa-body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #a8e6cf, #93a87c); /* Gradien hijau lembut untuk tema desa */
            color: #333;
            line-height: 1.6;
        }
        .desa-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .desa-h1 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 2.5em;
            color: #002147; /* Hijau gelap */
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }
        .desa-subtitle {
            text-align: center;
            margin-bottom: 40px;
            font-size: 1.2em;
            color: #555;
            font-style: italic;
        }

        /* Filter buttons */
        .desa-filters {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        .desa-filter-btn {
            background: #002147; /* Hijau */
            color: white;
            border: none;
            padding: 10px 20px;
            margin: 5px;
            cursor: pointer;
            border-radius: 25px;
            font-size: 1em;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .desa-filter-btn:hover, .desa-filter-btn.desa-active {
            background: #002147; /* Hijau lebih gelap */
            transform: translateY(-2px);
        }

        /* Galeri grid */
        .desa-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        .desa-gallery-item {
            background: rgb(217, 214, 214);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 1;
            transform: scale(1);
            cursor: pointer; /* Tambah cursor pointer untuk indikasi klik */
            position: relative; /* Untuk ripple effect */
        }
        .desa-gallery-item:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 24px rgba(0,0,0,0.2);
        }
        .desa-gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .desa-gallery-item:hover img {
            transform: scale(1.1); /* Zoom gambar saat hover */
        }
        .desa-gallery-item .desa-content {
            padding: 15px;
        }
        .desa-gallery-item h3 {
            font-size: 1.2em;
            margin-bottom: 10px;
            color: #002147;
        }
        .desa-gallery-item p {
            font-size: 0.9em;
            color: #666;
        }
        .desa-gallery-item .desa-price {
            font-size: 1.1em;
            font-weight: bold;
            color: #e91e63; /* Pink untuk harga */
            margin-bottom: 5px;
        }
        .desa-gallery-item .desa-discount {
            font-size: 1em;
            font-weight: bold;
            color: #ff5722; /* Oranye untuk diskon */
            margin-bottom: 5px;
        }
        .desa-gallery-item .desa-location {
            font-size: 0.9em;
            color: #555;
            margin-bottom: 5px;
        }
        .desa-gallery-item .desa-wa-link {
            display: inline-block;
            background: #002147; /* Hijau WA */
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            text-decoration: none;
            font-size: 0.9em;
            transition: background 0.3s ease;
        }
        .desa-gallery-item .desa-wa-link:hover {
            background: #12808c;
        }

        /* Ripple effect pada klik */
        .desa-ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            transform: scale(0);
            animation: desa-ripple 0.6s linear;
            pointer-events: none;
        }
        @keyframes desa-ripple {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }

        /* Modal */
        .desa-modal {
            display: none; /* Tersembunyi secara default */
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8); /* Overlay gelap */
            animation: desa-fadeIn 0.3s ease-out;
        }
        .desa-modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            background: white;
            padding: 20px;
            border-radius: 15px;
            max-width: 90%;
            max-height: 90%;
            overflow: auto;
            animation: desa-scaleIn 0.3s ease-out forwards;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        .desa-modal img {
            width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 15px;
        }
        .desa-modal h3 {
            font-size: 1.5em;
            color: #002147;
            margin-bottom: 10px;
        }
        .desa-modal .desa-price {
            font-size: 1.2em;
            font-weight: bold;
            color: #e91e63;
            margin-bottom: 10px;
        }
        .desa-modal .desa-discount {
            font-size: 1.1em;
            font-weight: bold;
            color: #ff5722;
            margin-bottom: 10px;
        }
        .desa-modal p {
            font-size: 1em;
            color: #666;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        .desa-modal .desa-location {
            font-size: 1em;
            color: #555;
            margin-bottom: 10px;
        }
        .desa-modal .desa-wa-link {
            display: inline-block;
            background: #002147;
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-size: 1em;
            transition: background 0.3s ease;
        }
        .desa-modal .desa-wa-link:hover {
            background: #128c7e;
        }
        .desa-close {
            position: absolute;
            top: 10px;
            right: 15px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        .desa-close:hover {
            color: #000;
        }

        /* Animasi */
        @keyframes desa-fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes desa-scaleIn {
            from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
            to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
        }
        .desa-fade-in {
            animation: desa-fadeIn 0.5s ease-in;
        }

        /* Responsif */
        @media (max-width: 768px) {
            .desa-gallery {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            .desa-h1 {
                font-size: 2em;
            }
            .desa-filter-btn {
                padding: 8px 16px;
                font-size: 0.9em;
            }
            .desa-modal-content {
                width: 95%;
                padding: 15px;
            }
            .desa-modal img {
                max-height: 300px;
            }
        }
        @media (max-width: 480px) {
            .desa-gallery {
                grid-template-columns: 1fr;
            }
            .desa-filters {
                flex-direction: column;
                align-items: center;
            }
            .desa-modal-content {
                width: 98%;
                padding: 10px;
            }
            .desa-modal img {
                max-height: 250px;
            }
        }
