/* =========================================================
   KELLIE HUCKER TECH ART PORTFOLIO - SHARED STYLES
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: cyan;
}

a:hover {
    color: white;
}

/* =========================================================
   HERO / BANNER
   ========================================================= */

.hero {
    background-image: url('../images/logos/kh_logos/banner.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: clamp(40px, 8vw, 100px) 20px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: white;
    text-shadow:
        -2px -2px 0 black,
         2px -2px 0 black,
        -2px  2px 0 black,
         2px  2px 0 black,
         0 0 8px black;
}

.hero h2 {
    margin: 15px 0 0;
    font-size: clamp(1.1rem, 3vw, 2rem);
    color: white;
    text-shadow:
        -2px -2px 0 black,
         2px -2px 0 black,
        -2px  2px 0 black,
         2px  2px 0 black,
         0 0 8px black;
}

.hero-tagline {
    margin-top: 18px;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: #d8ffff;
    text-shadow: 0 0 6px black, 0 0 10px black;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: #050505;
    border-bottom: 1px solid #1c4444;
}

nav a,
nav span {
    padding: 6px 8px;
}

nav a {
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

nav a:hover {
    color: white;
    text-shadow: 0 0 8px cyan;
}

/* =========================================================
   MAIN / GENERAL PAGE ELEMENTS
   ========================================================= */

main {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.home-main {
    width: min(1200px, 100%);
}

.section-title {
    margin-top: 0;
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
    line-height: 1.6;
    color: #dddddd;
}

.page-header {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.page-header h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.page-header p {
    margin: 0;
    color: #d8d8d8;
    line-height: 1.6;
}

/* =========================================================
   HOME PAGE CARDS
   ========================================================= */

.specialties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.specialty-card {
    display: block;
    overflow: hidden;
    background-color: #111111;
    border: 1px solid #164f4f;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    border-color: cyan;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.35);
    background-color: #0d1111;
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    padding: 32px;
    background-color: #0a0a0a;
}

.card-content {
    padding: 22px;
}

.card-content h3 {
    margin-top: 0;
    color: cyan;
    font-size: 1.5rem;
    line-height: 1.25;
}

.card-content p {
    margin-bottom: 0;
    color: #f0f0f0;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* =========================================================
   MIGRATION NOTICE
   ========================================================= */

.migration-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 24px;
    background-color: #090909;
    border-left: 4px solid cyan;
    border-radius: 8px;
    line-height: 1.6;
}

.migration-box h2 {
    margin-top: 0;
    color: white;
}

.migration-box p:last-child {
    margin-bottom: 0;
}

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

.about-section {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 30px;
    background-color: #0a0a0a;
    border: 1px solid #164f4f;
    border-radius: 12px;
}

.about-section h2 {
    margin-top: 0;
    color: cyan;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.about-section p {
    color: #f0f0f0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.signature {
    margin-top: 30px;
}

.skills-grid,
.work-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 55px;
}

.skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.work-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 50px;
}

.skill-card,
.work-card {
    background-color: #0a0a0a;
    border-radius: 10px;
}

.skill-card {
    padding: 22px;
    border: 1px solid #164f4f;
    text-align: center;
    color: #f0f0f0;
    font-size: 1.05rem;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: cyan;
    background-color: #0d1111;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

.work-card {
    padding: 24px;
    border: 1px solid #222;
}

.work-card h3 {
    margin: 0 0 8px;
    color: cyan;
}

.work-card p {
    margin: 0;
    color: #cccccc;
    line-height: 1.5;
}

.resume-section {
    text-align: center;
    margin-bottom: 30px;
}

.resume-button {
    display: inline-block;
    padding: 14px 24px;
    background-color: #0a0a0a;
    color: cyan;
    border: 1px solid cyan;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.resume-button:hover {
    background-color: cyan;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.35);
}

/* =========================================================
   PROJECT CATEGORY PAGES
   ========================================================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.project-card {
    padding: 26px;
    background-color: #0a0a0a;
    border: 1px solid #164f4f;
    border-radius: 12px;
    min-height: 150px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: cyan;
    background-color: #0d1111;
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.25);
}

.project-card h3 {
    margin: 0 0 10px;
    color: cyan;
    font-size: 1.35rem;
}

.project-card p {
    margin: 0;
    color: #e6e6e6;
    line-height: 1.55;
}

.status {
    display: inline-block;
    margin-top: 14px;
    color: #9e9e9e;
    font-size: 0.9rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: auto;
    margin-bottom: 30px;
    padding: 10px 20px;
    text-align: center;
}

footer img {
    width: 50px;
    height: 50px;
    position: relative;
    top: 15px;
    left: -10px;
}

/* =========================================================
   SMALL SCREENS
   ========================================================= */

@media (max-width: 600px) {
    nav {
        gap: 5px;
    }

    .hero {
        padding: clamp(30px, 12vw, 60px) 15px;
    }

    main {
        padding: 30px 15px 50px;
    }

    .specialties,
    .project-grid,
    .skills-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        padding: 40px;
    }

    .about-section {
        padding: 22px;
    }

    .migration-box {
        padding: 18px;
    }
}
