/* =========================================================
   KELLIE HUCKER TECH ART PORTFOLIO
   ABOUT PAGE STYLES
   November 2026
   ========================================================= */

/* =========================================================
   ABOUT PAGE CONTENT
   ========================================================= */
.about-section {
    max-width: 900px; /* Limits About section width for readability */
    margin: 0 auto 50px; /* Centers section and adds 50px below it */
    padding: 30px; /* Adds internal spacing around About content */
    background: rgba(5, 10, 22, 0.68); /* Adds dark semi-transparent background */
    border: 1.5px solid var(--accent-blue-light); /* Adds blue border around About section */
    border-radius: 12px; /* Rounds About section corners */
}

.about-section h2 {
    margin-top: 0; /* Removes default top margin from About headings */
    color: var(--text); /* Uses shared site text color */
    font-size: clamp(1.7rem, 4vw, 2.4rem); /* Uses responsive heading size */
}

.about-section p {
    color: var(--text); /* Uses shared site text color */
    font-size: 1.05rem; /* Slightly increases paragraph text size */
    line-height: 1.7; /* Adds comfortable paragraph line spacing */
}

/* =========================================================
   SIGNATURE
   ========================================================= */
.signature {
    margin-top: 30px; /* Adds spacing above signature area */
}

/* =========================================================
   ABOUT / CORE SKILL CARDS
   ========================================================= */
.skills-grid {
    width: 100%; /* Uses full available width */
    max-width: 1140px; /* Keeps the skill grid from becoming too wide */
    display: grid; /* Uses CSS Grid for a true multi-column layout */
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Creates four equal desktop columns */
    gap: 20px; /* Adds consistent spacing between skill cards */
    margin: 0 auto 40px; /* Centers the grid and adds space below */
}

.skill-card {
    width: 100%; /* Fills each grid column */
    min-height: 140px; /* Keeps cards visually consistent */
    display: flex; /* Allows vertical and horizontal content centering */
    flex-direction: column; /* Stacks card content vertically */
    align-items: center; /* Centers content horizontally */
    justify-content: center; /* Centers content vertically */
    padding: 20px; /* Adds internal card spacing */
    background: rgb(8, 14, 28); /* Matches shared dark card style */
    border: 2px solid var(--accent-blue-light); /* Adds blue card outline */
    border-radius: 12px; /* Restores rounded card corners */
    text-align: center; /* Centers text inside each card */
}

.skill-card h3,
.skill-card p 
{
    text-align: center; /* Centers Core Skills headings and text */
}

/* =========================================================
   ABOUT / CORE SKILLS - TABLETS
   ========================================================= */

@media (max-width: 950px) {
    .skills-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* Uses three columns on tablets */
    }
}


/* =========================================================
   ABOUT / CORE SKILLS - PHONES
   ========================================================= */

@media (max-width: 620px) {
    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Uses two columns on phones */
        gap: 12px; /* Tightens spacing on smaller screens */
        padding: 0 12px; /* Keeps cards away from screen edges */
        margin-bottom: 32px; /* Reduces spacing below mobile grid */
    }

    .skill-card {
        min-height: 120px; /* Keeps mobile cards compact */
        padding: 16px 12px; /* Reduces internal mobile spacing */
    }
}


/* =========================================================
   ABOUT / CORE SKILLS - VERY NARROW PHONES
   ========================================================= */

@media (max-width: 340px) {
    .skills-grid {
        grid-template-columns: 1fr; /* Falls back to one column */
    }

    .skill-card {
        max-width: 230px; /* Prevents oversized single-column cards */
        justify-self: center; /* Centers card inside the grid */
    }
}

/* =========================================================
   CORE SKILLS / TABLETS
   ========================================================= */
@media (max-width: 950px) {
    .skill-card {
        width: 220px; /* Reduces skill-card width on tablets */
        flex-basis: 220px; /* Keeps tablet cards at consistent width */
    }
}

/* =========================================================
   CORE SKILLS / PHONES
   ========================================================= */
@media (max-width: 620px) {
    .skills-grid {
        display: grid; /* Switches Core Skills to a compact mobile grid */
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Creates two equal-width columns */
        gap: 12px; /* Tightens spacing between mobile skill cards */
        padding: 0 12px; /* Keeps cards away from screen edges */
        margin-bottom: 32px; /* Reduces space below Core Skills on phones */
    }

    .skill-card {
        width: 100%; /* Fills each mobile grid column */
        max-width: none; /* Removes desktop width restriction */
        flex: none; /* Removes desktop Flexbox sizing */
        padding: 16px 12px; /* Keeps mobile skill cards compact */
    }
}

/* =========================================================
   CORE SKILLS / VERY NARROW PHONES
   ========================================================= */
@media (max-width: 340px) {
    .skills-grid {
        grid-template-columns: 1fr; /* Falls back to one column when two become too narrow */
    }

    .skill-card {
        max-width: 230px; /* Prevents single-column cards from becoming oversized */
        justify-self: center; /* Centers skill card inside mobile grid */
    }
}

/* =========================================================
   WORK HISTORY
   ========================================================= */
.work-grid {
    display: grid; /* Uses CSS Grid for work-history cards */
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Creates two equal-width columns */
    gap: 20px; /* Adds spacing between work cards */
    margin-bottom: 50px; /* Adds spacing below work-history grid */
}

.work-card {
    background: rgba(5, 10, 22, 0.68);
    padding: 26px; /* Adds internal spacing around work content */
    border-radius: 10px; /* Rounds work-card corners */
}

.work-card h3 {
    margin: 0 0 8px; /* Removes top/side margin and adds 8px below heading */
    color: var(--accent-blue-light); /* Uses blue accent color for work titles */
}

.work-role {
    margin: 0 0 4px; /* Adds small spacing below role title */
    color: var(--text); /* Uses shared site text color */
    font-weight: 700; /* Makes role title bold */
}

.work-dates {
    margin: 0 0 18px; /* Adds spacing below employment dates */
    color: var(--subtle); /* Uses muted text color for secondary information */
    font-size: 0.95rem; /* Slightly reduces date text size */
    font-style: italic; /* Styles employment dates in italics */
}

.work-card li {
    color: var(--muted); /* Uses muted color for work-description bullets */
    line-height: 1.55; /* Adds comfortable spacing between lines */
}

/* =========================================================
   RESUME BUTTON
   ========================================================= */
.resume-section {
    margin-bottom: 30px; /* Adds spacing below resume section */
    text-align: center; /* Centers resume button/content */
}

.resume-button {
    display: inline-block; /* Allows padding and sizing while remaining inline */
    padding: 14px 24px; /* Adds vertical and horizontal button spacing */
    background: var(--surface); /* Uses shared dark surface color */
    color: var(--text); /* Uses shared site text color */
    border: 1.5px solid var(--accent-blue-light); /* Adds blue button border */
    border-radius: 8px; /* Rounds button corners */
    text-decoration: none; /* Removes default link underline */
    font-weight: 700; /* Makes button text bold */
    text-shadow:
        0 0 2px rgba(102, 247, 255, 0.34),
        0 0 7px rgba(22, 119, 255, 0.18); /* Adds subtle cyan and blue glow */
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        text-shadow 0.2s ease; /* Smoothly animates interactive button effects */
}

.resume-button:hover,
.resume-button:focus-visible {
    background: var(--surface-hover); /* Slightly changes background during interaction */
    box-shadow:
        0 0 4px var(--accent-strong),
        0 0 12px var(--accent),
        0 0 24px var(--accent-blue-glow),
        0 0 38px var(--accent-violet-glow),
        0 0 48px var(--accent-magenta-glow); /* Adds shared cyan-blue-violet-magenta glow */
}

/* =========================================================
   PORTFOLIO MIGRATION NOTICE
   TEMPORARY - REMOVE WHEN MIGRATION IS COMPLETE
   ========================================================= */
.migration-box {
    max-width: 850px; /* Limits notice width so text stays easy to read */
    margin: 0 auto; /* Centers notice horizontally */
    padding: 24px; /* Adds space between content and box edges */
    background: rgba(8, 12, 22, 0.72); /* Adds dark semi-transparent background */
    border-left: 4px solid var(--accent-blue-light); /* Adds blue accent bar on left side */
    border-radius: 8px; /* Rounds box corners */
    line-height: 1.6; /* Adds comfortable spacing between text lines */
}

.migration-box h2 {
    margin-top: 0; /* Removes default top margin from heading */
}

/* =========================================================
   ABOUT PAGE RESPONSIVE
   ========================================================= */

/* Tablets / smaller screens */
@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: 1fr; /* Changes work-history grid from two columns to one */
    }
}