/* Peta Desa Lebak Section */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.bg-gradient-primary .container {
    position: relative;
    z-index: 2;
}

.baduy-pattern-white {
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.8), rgba(255,255,255,0.3));
    border-radius: 2px;
}

/* Peta Menu Grid */
.peta-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.peta-menu-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.peta-menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.peta-menu-item:hover::before {
    left: 100%;
}

.peta-menu-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.peta-menu-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.peta-menu-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.peta-menu-item:hover .peta-menu-icon::before {
    width: 100%;
    height: 100%;
}

.peta-menu-item:hover .peta-menu-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.peta-menu-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.peta-menu-item:hover .peta-menu-title {
    color: #667eea;
}

.peta-menu-desc {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.peta-menu-item:hover .peta-menu-desc {
    color: #495057;
}

.peta-menu-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.peta-menu-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.peta-menu-btn:hover::before {
    left: 100%;
}

.peta-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.peta-menu-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .peta-menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .peta-menu-item {
        padding: 2rem 1.5rem;
    }
    
    .peta-menu-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .peta-menu-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .peta-menu-grid {
        gap: 1rem;
    }
    
    .peta-menu-item {
        padding: 1.5rem 1rem;
    }
    
    .peta-menu-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
