diff --git a/src/scripts/main.js b/src/scripts/main.js index 70d05b9..130292a 100644 --- a/src/scripts/main.js +++ b/src/scripts/main.js @@ -401,13 +401,13 @@ document.addEventListener('DOMContentLoaded', () => { 0.6 ); - // 7. Panel image — simple fade in, no scan/filter effect + // 7. Panel image — smooth zoom reveal const panelImg = document.getElementById('panel-img'); if (panelImg) { techTimeline.fromTo(panelImg, - { opacity: 0 }, - { opacity: 0.92, duration: 0.8, ease: 'power2.out' }, - 0.05 + { opacity: 0, scale: 1.06 }, + { opacity: 0.92, scale: 1, duration: 1.2, ease: 'power2.out' }, + 0 ); } }