/* Mouse Interaction Effects for 17jaa.com */

/* 1. General transitions */
a, .btn-center, figure, .item, img, .service-kj, .service-gc, .service-fw {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* 3. Case section effects */
.case .case-box figure {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.case .case-box figure:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.case .case-box figure img {
    transition: transform 0.5s ease;
}

.case .case-box figure:hover img {
    transform: scale(1.08);
}

/* 4. Team section effects */
.team .item:hover, .team-box figure:hover {
    transform: scale(1.03);
}

.team .item .shake:hover img, .team-box figure:hover img {
    animation: none; /* Override existing shake if any */
    transform: rotate(3deg);
}

/* 5. Button hover effect */
.btn-center {
    position: relative;
    overflow: hidden;
}

.btn-center:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s;
}

.btn-center:hover:after {
    left: 100%;
}

.btn-center:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 6. Navigation effects */
#nav > li > a:hover {
    color: #007bff !important;
    transform: translateY(-2px);
}

/* 7. Background Canvas Container */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}
