/**
 * Competence Section Styles
 * Technical skills, tools, technologies
 */

/* === Competence Section === */
.competence-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.competence-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Skills Overview */
.skills-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.1);
}

.skill-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.skill-card .count {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.skill-card .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Competence Grid */
.competence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Category Cards */
.category-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.category-title {
    color: var(--text-primary);
    font-size: 1.25rem;
}

.category-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Tech List */
.tech-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tech-list li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.tech-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* Additional Skills */
.additional-skills {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.additional-skills p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

/* === Project Experience === */
.project-experience {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.project-experience h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-item {
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.project-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.05);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
}

.project-tag {
    padding: 0.25rem 0.75rem;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
}

.project-links a:hover {
    color: #fff;
}

/* === Stats Section === */
.stats-section {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.02), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === Tools & Technologies === */
.tools-section {
    padding: 5rem 2rem;
}

.tools-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.tool-card {
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.tool-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 12px;
}

.tool-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
}

.tool-card h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* === Experience Timeline === */
.timeline-section {
    padding: 5rem 2rem;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* === Certification Section === */
.certifications-section {
    padding: 5rem 2rem;
}

.certifications-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.1);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dim);
    border-radius: 50%;
}

.cert-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.cert-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cert-date {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 1rem;
    background: var(--bg-glass);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .competence-grid {
        grid-template-columns: 1fr;
    }

    .project-header {
        flex-direction: column;
    }

    .project-links {
        width: 100%;
        justify-content: center;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .tool-card h4 {
        font-size: 0.8rem;
    }

    .tool-card p {
        display: none;
    }
}