/* =========================================
   1. Importações e Configurações Globais
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #111827;
    color: #e5e7eb;
    -webkit-font-smoothing: antialiased;
    /* Texto mais nítido */
    -moz-osx-font-smoothing: grayscale;
}

/* Detalhe Premium: Cor de seleção de texto */
::selection {
    background-color: rgba(59, 130, 246, 0.3);
    /* Azul translúcido */
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    /* Cores mais vivas */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Sombra suave no texto */
}

/* Animação de Flutuação para a Foto */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Animação de Pulso para Timeline */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

.pulse-dot::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -4px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 4px;
    /* Tamanho do anel */
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* =========================================
   2. Overrides do Tailwind (Tema Escuro Refinado)
   ========================================= */

/* Inputs de formulário com Foco Brilhante */
input,
textarea {
    background-color: #1f2937 !important;
    /* Um pouco mais claro que o fundo */
    color: #e5e7eb !important;
    border: 1px solid #374151 !important;
    transition: all 0.3s ease !important;
}

input:focus,
textarea:focus {
    border-color: #60a5fa !important;
    /* Azul no foco */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
    /* Glow azul */
    outline: none !important;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280 !important;
}

/* Cores de Fundo Forçadas */
.bg-white,
.bg-gray-50,
.bg-blue-50,
.bg-purple-50 {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
}

.bg-gray-100,
.bg-blue-100,
.bg-purple-100,
.bg-green-100,
.bg-yellow-100,
.bg-red-100,
.bg-indigo-100 {
    background-color: #374151 !important;
}

.text-gray-600,
.text-gray-700,
.text-gray-800,
.text-gray-900 {
    color: #d1d5db !important;
}

.text-blue-800,
.text-purple-800,
.text-green-800,
.text-yellow-800,
.text-red-800,
.text-indigo-800 {
    color: #e5e7eb !important;
}

.border-gray-200,
.border-gray-300 {
    border-color: #374151 !important;
}

.bg-gray-200 {
    background-color: #4b5563 !important;
}

/* =========================================
   3. Estilos Específicos das Seções
   ========================================= */

/* Hero Section */
#hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Habilidades (Efeito Hover nos Badges) */
.skill-badge {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.skill-badge:hover {
    transform: translateY(-3px);
    background-color: rgba(55, 65, 81, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Trajetória (Linha do tempo) */
.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 30px;
    height: calc(100% - 18px);
    width: 2px;
    background: linear-gradient(to bottom, #4b5563, transparent);
    /* Linha com degradê */
}

/* Scrollbar personalizada */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #111827;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 10px;
    border: 2px solid #111827;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}