/* Estilos customizados complementares ao TailwindCSS */

/* Aplicar fonte Inter globalmente */
body {
    font-family: 'Inter', sans-serif;
}

/* Scroll suave global */
html {
    scroll-behavior: smooth;
}

/* Estilização dos links de navegação */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #4F46E5, #06B6D4);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Animação de fade-in para elementos ao fazer scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animação em cards e seções */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Efeito de brilho sutil em botões com gradiente */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 1;
}

/* Melhorar legibilidade de textos em fundos escuros */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Estilização personalizada para scrollbar (opcional, apenas para navegadores WebKit) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4F46E5, #06B6D4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #6366f1, #0891b2);
}

/* Ajustes para melhor contraste e acessibilidade */
a:focus,
button:focus {
    outline: 2px solid #06B6D4;
    outline-offset: 2px;
}

/* Transições suaves para todos os elementos interativos */
* {
    transition-property: color, background-color, border-color, transform, opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Melhorar espaçamento em dispositivos móveis */
@media (max-width: 640px) {
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Efeito de hover mais suave em cards */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

