/* Skills Section */
#skills {
    padding: 5rem 2rem;
    background: #0f0f0f;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.skills-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, var(--blackberry-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.skills-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

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

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(72, 24, 47, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--blackberry-light);
    box-shadow: 0 10px 30px rgba(72, 24, 47, 0.3);
}

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

.skill-name {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.skill-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blackberry-light);
    font-family: 'Courier New', monospace;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    position: relative;
    transition: width 1.5s ease-in-out;
    animation: fillProgress 1.5s ease-out forwards;
}

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

/* Animation for progress bars */
@keyframes fillProgress {
    from { width: 0; }
}

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

/* Additional Skills */
.additional-skills {
    margin-top: 4rem;
    text-align: center;
}

.additional-skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Courier New', monospace;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-tag {
    background: rgba(72, 24, 47, 0.2);
    border: 1px solid var(--blackberry-light);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.tech-tag:hover {
    background: var(--blackberry-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 24, 47, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    #skills {
        padding: 3rem 1rem;
    }

    .skills-title {
        font-size: 2rem;
    }

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

    .tech-tags {
        gap: 0.5rem;
    }

    .tech-tag {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .skills-title {
        font-size: 1.8rem;
    }

    .skill-item {
        padding: 1.2rem;
    }

    .additional-skills h3 {
        font-size: 1.3rem;
    }
}