/* ABOUT-SECTION.CSS - Zaktualizowany z nową paletą kolorów */

.about-section {
    background: var(--bg-secondary); /* Ciemny granatowy */
    color: var(--text-secondary); /* Jasny tekst */
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Lewa strona - tekst i umiejętności */
.about-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease 0.3s forwards;
}

.about-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1rem; /* ← ZMIEŃ z 4rem na 1rem */
    font-weight: 600; /* ← ZMIEŃ z 900 na 400 */
    letter-spacing: 0.2em; /* ← DODAJ */
    text-transform: uppercase; /* ← DODAJ */
    color: var(--color-accent); /* Pomarańczowy */
    margin-bottom: 60px; /* ← ZWIĘKSZ z 40px */
    line-height: 1;
}

.about-text {
    margin-bottom: 50px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bg-neutral); /* Beżowy dla tekstu */
    margin-bottom: 25px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Umiejętności */
.about-skills {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.skill-item:nth-child(1) { animation-delay: 0.8s; }
.skill-item:nth-child(2) { animation-delay: 1s; }
.skill-item:nth-child(3) { animation-delay: 1.2s; }

.skill-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(254, 254, 254, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s ease 0.5s;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s infinite;
}

/* Prawa strona - statystyki */
.about-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.5s forwards;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 99, 30, 0.05); /* Delikatny pomarańczowy */
    border-radius: 0;
    border: 1px solid rgba(255, 99, 30, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.7s; }
.stat-card:nth-child(2) { animation-delay: 0.9s; }
.stat-card:nth-child(3) { animation-delay: 1.1s; }
.stat-card:nth-child(4) { animation-delay: 1.3s; }

.stat-card:hover {
    background: rgba(255, 99, 30, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent); /* Pomarańczowy dla liczb */
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--bg-neutral);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* Animacje */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsywność */
@media (max-width: 1024px) {
    .about-container {
        padding: 0 60px;
    }
    
    .about-content {
        gap: 60px;
    }
    
    .about-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-container {
        padding: 0 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .skill-item {
        margin-bottom: 20px;
    }
}

/* Intersection Observer klasy */
.about-section.animate-in .about-left,
.about-section.animate-in .about-right {
    animation-play-state: running;
}

.about-section.animate-in .skill-item,
.about-section.animate-in .stat-card {
    animation-play-state: running;
}