/* Estilos para a seção de habilidades */
.skills-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Título da seção */
.skill-category-title {
    position: relative;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 1.8rem;
    display: inline-block;
}

.skill-category-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Filtro de categorias */
.skill-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.skill-filter-btn {
    padding: 8px 20px;
    background-color: var(--surface-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
}

.skill-filter-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-color);
}

.skill-filter-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
}

/* Grupos de habilidades */
.skill-group {
    transition: all 0.4s ease;
    margin-bottom: 40px;
    opacity: 1;
    transform: translateY(0);
}

/* Barras de progresso */
.skill-progress {
    margin-bottom: 25px;
    padding: 0 10px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.skill-icon {
    margin-right: 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.skill-percentage {
    font-weight: 700;
    color: var(--primary-color);
}

.progress {
    height: 10px;
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
    position: relative;
}

/* Cards de tecnologias */
.skill-subcategory-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.tech-card {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-card:hover::before,
.tech-card.hovered::before {
    opacity: 1;
}

.tech-card:hover,
.tech-card.hovered {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.tech-card:hover .tech-icon,
.tech-card.hovered .tech-icon {
    transform: scale(1.2);
}

.tech-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.tech-level {
    font-size: 0.85rem;
    color: var(--text-secondary-color);
    position: relative;
    z-index: 1;
}

/* Certificações */
.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.certification-card {
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.certification-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--header-bg-color);
}

.certification-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

.certification-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.certification-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.certification-date {
    font-size: 0.9rem;
    color: var(--text-secondary-color);
    margin-bottom: 15px;
}

.certification-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
}

.certification-link:hover {
    color: var(--accent-color);
}

.certification-link:hover::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.2s ease;
}

/* Estatísticas */
.stat-item {
    text-align: center;
    padding: 25px 15px;
    background-color: var(--surface-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary-color);
}

/* Contador de caracteres para formulários */
.char-counter {
    font-size: 0.8rem;
    text-align: right;
    margin-top: 5px;
    color: var(--text-secondary-color);
}

/* Responsividade */
@media (max-width: 991px) {
    .skill-filter {
        flex-wrap: wrap;
    }
    
    .certifications-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767px) {
    .skill-filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .tech-card {
        padding: 20px 10px;
    }
    
    .certification-card {
        flex-direction: column;
    }
    
    .certification-logo {
        height: 80px;
        padding: 15px;
    }
    
    .certification-content {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .skill-filter {
        justify-content: center;
    }
    
    .skill-progress {
        padding: 0;
    }
    
    .certifications-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
}

/* Tema Escuro */
[data-theme="dark"] .tech-card {
    background-color: var(--surface-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .certification-card {
    background-color: var(--surface-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .certification-logo {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .progress {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-item {
    background-color: var(--surface-color);
    border-color: var(--border-color);
}

/* Status indicator */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-indicator.available {
    background-color: #4CAF50;
    box-shadow: 0 0 5px #4CAF50;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
} 