/**
 * About Page Styles
 * Personal profile, skills visualization, timeline
 */

/* === Profile Section === */
.profile-section {
    padding: 4rem 2rem;
    text-align: center;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4px;
    position: relative;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: var(--bg-primary);
    border-radius: 50%;
    z-index: 1;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
}

.profile-name {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.4rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* === Bio Section === */
.bio-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.bio-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.bio-content p {
    margin-bottom: 1.5rem;
}

.bio-content strong {
    color: var(--text-primary);
}

/* === Skills Visualization === */
.skills-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.02), transparent);
}

.skills-container {
    max-width: 900px;
    margin: 0 auto;
}

.skills-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

/* Skill Categories */
.skill-category {
    padding: 2rem;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skill-category h3 svg {
    color: var(--primary);
}

/* Skill Bars */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.skill-level {
    font-size: 0.85rem;
    color: var(--primary);
}

.skill-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px currentColor;
}

/* Skill bar colors */
.skill-bar.java::before { width: 0; background: linear-gradient(90deg, #f89820, #f89820); color: #f89820; }
.skill-bar.python::before { width: 0; background: linear-gradient(90deg, #3776ab, #ffd43b); color: #3776ab; }
.skill-bar.go::before { width: 0; background: linear-gradient(90deg, #00add8, #00add8); color: #00add8; }
.skill-bar.linux::before { width: 0; background: linear-gradient(90deg, #fcc624, #f0ad4e); color: #f0ad4e; }
.skill-blockchain::before { width: 0; background: linear-gradient(90deg, #f0ad4e, #f89820); color: #f0ad4e; }
.skill-sysadmin::before { width: 0; background: linear-gradient(90deg, #0db7ed, #f0ad4e); color: #0db7ed; }
.skill-devops::before { width: 0; background: linear-gradient(90deg, #2496ed, #0db7ed); color: #2496ed; }
.skill-3d::before { width: 0; background: linear-gradient(90deg, #8a3ab9, #f0ad4e); color: #8a3ab9; }
.skill-ai::before { width: 0; background: linear-gradient(90deg, #ff6b6b, #ffd43b); color: #ff6b6b; }

/* Trigger animation when in view */
.skill-bar.animate::before {
    width: var(--skill-level);
}

/* === Experience Timeline === */
.timeline-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content {
    padding: 1.5rem;
}

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

.timeline-company {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* === Contact Section === */
.contact-section {
    padding: 4rem 2rem;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-3px);
}

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

/* === Certifications === */
.certifications-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(255, 0, 85, 0.02), transparent);
}

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

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    padding: 1.5rem;
    text-align: center;
}

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

.cert-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cert-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--primary);
}

/* === Responsive === */
@media (max-width: 768px) {
    .timeline::before {
        left: 0.5rem;
    }

    .timeline-item::before {
        left: -1.9rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}