/* Skills Alternating Layout */
.skills-alternating {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.skill-row.reverse {
    flex-direction: row-reverse;
}

.skill-title-section {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.skill-row.reverse .skill-title-section {
    text-align: center;
}

.skill-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-icon-wrapper i {
    font-size: 2rem;
    color: #fff;
}

.skill-title-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a2e);
    margin-bottom: 0.75rem;
}

.skill-title-section p {
    font-size: 0.95rem;
    color: var(--text-secondary, #6b7280);
    line-height: 1.6;
}

.skill-bars-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-bar-item {
    background: var(--card-bg, #fff);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-bar-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary, #1a1a2e);
}

.skill-bar-track {
    height: 8px;
    background: var(--track-bg, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
    position: relative;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .skill-row,
    .skill-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .skill-title-section,
    .skill-row.reverse .skill-title-section {
        text-align: center;
    }

    .skill-bars-section {
        width: 100%;
    }

    .skills-alternating {
        gap: 3rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .skill-bar-item {
    background: var(--card-bg-dark, #1e1e2e);
}

[data-theme="dark"] .skill-title-section h3 {
    color: var(--text-primary-dark, #f1f1f1);
}

[data-theme="dark"] .skill-title-section p {
    color: var(--text-secondary-dark, #a1a1aa);
}

[data-theme="dark"] .skill-bar-header {
    color: var(--text-primary-dark, #f1f1f1);
}

[data-theme="dark"] .skill-bar-track {
    background: var(--track-bg-dark, #2d2d3d);
}