/*
 * EVO DRONES - Nossos Trabalhos - CSS Harmonizado
 * Seguindo design system e padrões da página inicial
 */

/* ==================== VARIÁVEIS CSS - DESIGN SYSTEM OBRIGATÓRIO ==================== */
:root {
    /* Cores Principais - OBRIGATÓRIAS */
    --primary-color: #30B4E8;      /* Azul ciano */
    --secondary-color: #0E8BC0;    /* Azul escuro */
    --accent-color: #FF7A00;       /* Laranja */

    /* Cores de Estado */
    --success-color: #10B981;      /* Verde */
    --warning-color: #F59E0B;      /* Amarelo */
    --error-color: #EF4444;        /* Vermelho */

    /* Cores Neutras */
    --dark-color: #0F172A;         /* Azul escuro */
    --light-color: #F8FAFC;        /* Branco suave */
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Dark Glassmorphism */
    --dark-glass-bg: rgba(15, 23, 42, 0.8);
    --dark-glass-border: rgba(255, 255, 255, 0.1);
    --dark-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* ==================== GLASSMORPHISM CARDS ==================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

/* ==================== ICON CIRCLES ==================== */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(48, 180, 232, 0.3);
    transition: var(--transition);
}

.icon-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(48, 180, 232, 0.4);
}

.icon-circle i {
    font-size: 2rem;
    color: white;
}

/* ==================== BOTÕES TECNOLÓGICOS ==================== */
.tech-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(48, 180, 232, 0.3);
}

.tech-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48, 180, 232, 0.4);
    color: white;
    text-decoration: none;
}

.tech-btn.register-btn {
    background: linear-gradient(135deg, var(--success-color), #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.tech-btn.register-btn:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.tech-btn.login-btn {
    background: linear-gradient(135deg, var(--accent-color), #FF9500);
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.tech-btn.login-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
}

/* ==================== BOTÕES PADRÃO ==================== */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(48, 180, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48, 180, 232, 0.4);
    color: white;
    text-decoration: none;
}

/* ==================== NAVEGAÇÃO ==================== */
.nav-link {
    color: #E0F2FE;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
    text-decoration: none;
}

.nav-link-active {
    color: var(--primary-color) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    text-shadow: 0 0 5px rgba(48, 180, 232, 0.7);
}

/* ==================== TIPOGRAFIA ==================== */
.orbitron {
    font-family: 'Orbitron', sans-serif;
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .icon-circle i {
        font-size: 1.5rem;
    }
    
    .tech-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1rem;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle i {
        font-size: 1.2rem;
    }
}

/* ==================== ANIMAÇÕES PERSONALIZADAS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== ESTADOS DE LOADING ==================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

