/* style.css */
body {
    overflow-x: hidden;
}

/* Animações de Scroll (Substituindo Framer Motion) */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-up {
    transform: translateY(30px);
}

.fade-left {
    transform: translateX(50px);
}

.fade-right {
    transform: translateX(-50px);
}

/* Delays para animações em cascata */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Lógica do Carrossel do Portfólio */
.portfolio-img {
    opacity: 0;
    z-index: -10;
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.portfolio-img.active {
    opacity: 1;
    z-index: 0;
}

.portfolio-card:hover .portfolio-img.active {
    transform: scale(1.1);
}

/* Estilização da barra de rolagem (opcional, para um visual mais limpo) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
