/* Skills Page Specific Styles */

body {
    background: #11111a;
}

/* Logo header - exactly like projects and contact pages */
.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0 10px 0;
    margin-bottom: 30px;
}

.logo {
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
}

.logo span {
    color: #a855f7;
}

/* Container for skills page content */
.skills-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 150px;
    padding: 0 20px;
}

/* Title section - identical to projects and contact */
.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-title .accent {
    color: #a855f7;
}

.page-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Section styling */
.skills-section, .learning-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    padding-bottom: 10px;
}

.learning-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* Skill Card Styling */
.skill-card {
    background: #16161c;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #222;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: #a855f7;
}

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

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.skill-desc {
    margin-bottom: 25px;
    flex-grow: 1;
}

.skill-desc p {
    color: #c7c7e0;
    line-height: 1.6;
}

.skill-proficiency {
    margin-top: auto;
}

.proficiency-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.proficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    border-radius: 4px;
}

.proficiency-label {
    text-align: right;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a855f7;
}

/* Learning Cards */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.learning-card {
    background: #16161c;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #222;
    border-left: 4px solid #a855f7;
}

.learning-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: #a855f7;
}

.learning-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #a855f7;
}

.learning-content {
    flex: 1;
}

.learning-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.learning-content p {
    color: #c7c7e0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    border-radius: 4px;
}

.progress-container span {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    color: #a855f7;
}

/* Add new skills card */
.new-skills-template {
    margin-bottom: 40px;
}

.add-skill-card {
    background: rgba(22, 22, 28, 0.5);
    border: 2px dashed #333;
    border-radius: 15px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
}

.add-skill-card:hover {
    border-color: #a855f7;
}

.add-icon {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.add-skill-card p {
    color: #555;
}

/* Gradient Background */
.gradient-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #2d1a4d, transparent);
    z-index: -1;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-bottom: 20px;
    z-index: 10;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    opacity: 0.8;
    transition: all 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #a855f7;
    transition: width 0.2s;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .skills-grid, .learning-grid {
        grid-template-columns: 1fr;
    }

    .skill-card, .learning-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }
}

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

    .skill-header, .learning-card {
        flex-direction: column;
        text-align: center;
    }

    .skill-icon, .learning-icon {
        margin: 0 auto 15px;
    }

    .progress-container {
        flex-direction: column;
        gap: 10px;
    }
}