/* Interactive Skill Matrix Styles */

.skill-matrix-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.skill-matrix-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.skill-matrix-container {
    position: relative;
    z-index: 2;
}

.skill-matrix-heading {
    text-align: center;
    margin-bottom: 60px;
}

.skill-matrix-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-matrix-heading p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Skill Categories */
.skill-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.skill-category-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.skill-category-btn:hover,
.skill-category-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Skill Grid */
.skill-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.skill-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.skill-level {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-progress {
    margin: 15px 0;
}

.skill-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4aa, #00a085);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease;
    position: relative;
}

.skill-progress-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;
}

.skill-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.skill-experience {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Skill Level Colors */
.skill-item[data-level="expert"] .skill-progress-fill {
    background: linear-gradient(90deg, #00d4aa, #00a085);
}

.skill-item[data-level="advanced"] .skill-progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.skill-item[data-level="intermediate"] .skill-progress-fill {
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.skill-item[data-level="beginner"] .skill-progress-fill {
    background: linear-gradient(90deg, #ffecd2, #fcb69f);
}

/* Responsive Design */
@media (max-width: 768px) {
    .skill-matrix-section {
        padding: 60px 0;
    }
    
    .skill-matrix-heading h2 {
        font-size: 2rem;
    }
    
    .skill-matrix-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .skill-category-btn {
        width: 200px;
        text-align: center;
    }
}

/* Filter Animation */
.skill-item.hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

.skill-item.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Interactive Hover Effects */
.skill-item:hover .skill-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.skill-item:hover .tech-tag {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}