/* 
 * Titãs da Robótica - Stylesheet Principal
 * Este arquivo importa todos os módulos CSS
 */

/* Reset e Base */
@import url('reset.css');

/* Componentes */
@import url('header.css');
@import url('hero.css');
@import url('components.css');
@import url('forms.css');
@import url('pages.css');

/* Animações Globais */
@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Classes de Animação */
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Utilidades */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-small {
    margin-top: 20px;
}

.mt-medium {
    margin-top: 40px;
}

.mt-large {
    margin-top: 60px;
}

.mb-small {
    margin-bottom: 20px;
}

.mb-medium {
    margin-bottom: 40px;
}

.mb-large {
    margin-bottom: 60px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-small {
    gap: 20px;
}

.gap-medium {
    gap: 40px;
}

.gap-large {
    gap: 60px;
}

/* Cores de Texto */
.text-primary {
    color: #FFA500;
}

.text-white {
    color: white;
}

.text-gray {
    color: #aaa;
}

/* Backgrounds */
/* .bg-dark {
    background: #1a1a1a;
} */

.bg-darker {
    background: #0D0D0D;
}

.bg-gradient {
    background: linear-gradient(135deg, #FF6B00, #FFA500);
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: #FFA500;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B00;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FFA500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Print Styles */
@media print {
    .header,
    .nav-menu,
    .form-container,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
