/* assets/css/skills.css - Skills page: two panels of skill bars, tool tags, soft skills */

.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
}

@media (max-width: 800px) {
    .grid-2 { grid-template-columns: 1fr; gap: 1.8rem; }
    .hero { flex-direction: column; align-items: start; padding: 1.8rem; }
    .hero-text h1 { font-size: 2.6rem; }
    .hero-avatar { margin-top: 0.8rem; }
}

.card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 2.2rem;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: 0.15s;
    height: 100%;
}
.card:hover {
    background: rgba(255, 255, 255, 0.7);
}
.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0a2a44;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid rgba(0, 50, 90, 0.05);
    padding-bottom: 0.5rem;
}
.card h3 i { color: #1d6390; }
.card h3.soft-skills-title { margin-top: 0.8rem; border-bottom: none; }

/* skill bars + tools */
.skill-item {
    margin-bottom: 1.4rem;
}
.skill-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    color: #12324d;
}
.skill-bar {
    background: rgba(0, 30, 60, 0.07);
    height: 8px;
    border-radius: 20px;
    margin-top: 4px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #256f9e, #4791c7);
    width: 0%;
}
.skill-fill.cyber { background: linear-gradient(90deg, #b15d2b, #dc8a54); }
.skill-fill.net { background: linear-gradient(90deg, #1f7a5a, #4cb38a); }
.skill-fill.design { background: linear-gradient(90deg, #8e44ad, #bb8fce); }

.skill-note {
    font-size: 0.8rem;
    margin-top: 0.2rem;
    color: #1e5279;
}

.skill-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
    margin-top: 0.5rem;
}
.skill-tools .tool-tag {
    background: rgba(10, 50, 80, 0.06);
    padding: 0.1rem 0.9rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #124165;
    border: 1px solid rgba(255,255,255,0.3);
    letter-spacing: 0.2px;
}
.skill-tools .tool-tag i {
    margin-right: 0.3rem;
    color: #2a6b94;
    font-size: 0.65rem;
}

.divider-light {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,50,90,0.05), transparent);
    margin: 0.8rem 0 1.4rem;
}

.stack-note {
    margin-top: 0.2rem;
    font-size: 0.85rem;
    color: #1f4462;
    background: rgba(0,40,70,0.03);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    display: inline-block;
}
.stack-note i { color: #1f6390; }

/* Soft Skills Grid Styles */
.soft-skill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.5rem;
}
.soft-skill-item {
    background: rgba(10, 50, 80, 0.06);
    padding: 0.5rem 0.8rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #124165;
    border: 1px solid rgba(255,255,255,0.3);
}
.soft-skill-item i { color: #1f6390; font-size: 0.9rem; }

/* Languages / Frameworks / Databases / OS banner */
.skills-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    padding: 0.6rem 1.8rem;
    border-radius: 80px;
    margin: 1.8rem 0 0.2rem;
    border: 1px solid rgba(255,255,255,0.4);
}
.skills-banner i { color: #1f6390; }

@media (max-width: 680px) {
    .hero-text h1 { font-size: 2.2rem; } /* after the 800px rule above */

    /* Soft Skills become 1 column on very small screens */
    .soft-skill-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- DARK MODE ----- */
body.dark-mode .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
body.dark-mode .card:hover { background: rgba(255, 255, 255, 0.07); }
body.dark-mode .card h3 { color: var(--text-main); border-bottom-color: rgba(255, 255, 255, 0.06); }
body.dark-mode .card h3 i,
body.dark-mode .soft-skill-item i,
body.dark-mode .stack-note i,
body.dark-mode .skills-banner i { color: #7aa9d0; }
body.dark-mode .skill-label { color: var(--text-main); }
body.dark-mode .skill-bar { background: rgba(255, 255, 255, 0.08); }
body.dark-mode .skill-note { color: #8fb3d1; }
body.dark-mode .skill-tools .tool-tag,
body.dark-mode .soft-skill-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.06);
    color: #b9d0e3;
}
body.dark-mode .skill-tools .tool-tag i { color: #7aa9d0; }
body.dark-mode .divider-light { background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent); }
body.dark-mode .stack-note { color: var(--text-secondary); background: rgba(255, 255, 255, 0.04); }
body.dark-mode .skills-banner { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
