/* Estilos Customizados e Animações */

/* Reset de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9; 
}
 
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

/* Utilitários Extras */
.font-inter { font-family: 'Inter', sans-serif; }
.font-outfit { font-family: 'Outfit', sans-serif; }

/* Animações Exclusivas */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(-5%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.animate-bounce-slow {
    animation: bounceSlow 2s infinite;
}

/* CARROSSEL ANIMADO AUTOMÁTICO */
.slider-wrapper {
    overflow: hidden;
    position: relative;
    /* Sombras laterais para dar o aspeto "infiníto" */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.slide-track {
    display: flex;
    width: calc(350px * 8 + 24px * 8); /* Base calc to accommodate clones */
    animation: scroll 25s linear infinite;
}

.slide-track img {
    transition: transform 0.3s ease;
}

.slide-track img:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Metade do track já que multiplicou 4 imgs * 2 (clones) */
        transform: translateX(calc(-350px * 4 - 24px * 4)); 
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    left: 0; right: 0; top: 100%;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
    display: flex;
}

/* Accordion Transitions */
.accordion-content {
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

.accordion-item.active .accordion-content {
    max-height: 300px; 
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Seletor de Cores no Modal 3D */
.color-picker-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.color-picker-btn:hover {
    transform: scale(1.1);
}

.color-picker-btn.active {
    border-color: #E41E26; /* Margem vermelha = selecionado */
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(228,30,38,0.3);
}

/* Card Hover Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
