/* ========================================
   Global Reset
======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: #0b1016;
    color: #e6edf3;

    line-height: 1.6;
}


/* ========================================
   Global Elements
======================================== */

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

section {
    scroll-margin-top: 5px;
}

.section-label {
    margin-bottom: 10px;

    color: #58a6ff;

    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;
}


/* ========================================
   Navigation
======================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: rgba(11, 15, 20, 0.95);

    border-bottom: 1px solid #21262d;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav > a {
    color: #ffffff;

    font-size: 1.1rem;
    font-weight: 700;

    text-decoration: none;
}

nav ul {
    display: flex;
    align-items: center;

    gap: 30px;

    list-style: none;
}

nav ul a {
    color: #b8c2cc;

    font-size: 0.95rem;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

nav ul a:hover {
    color: #58a6ff;
}


/* ========================================
   Hero
======================================== */

.hero {
    max-width: 1200px;
    min-height: 85vh;

    margin: 0 auto;
    padding: 100px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;
}

.hero-content {
    width: 58%;
}

.hero-intro {
    margin-bottom: 8px;

    color: #58a6ff;

    font-size: 1rem;
    font-weight: 600;

    letter-spacing: 1px;
}

.hero h1 {
    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(3rem, 6vw, 5rem);

    line-height: 1.05;
}

.hero h2 {
    margin-bottom: 20px;

    color: #c9d1d9;

    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 32px;

    color: #9da7b3;

    font-size: 1.05rem;
}



































/* ========================================
   Hero Image / Brush Effect
======================================== */

.hero-image {
    position: relative;

    width: 42%;
    min-height: 500px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: visible;
}













/* Brush behind headshot */

.hero-brush {
    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background-image:
        radial-gradient(
            circle at center,
            rgba(88, 166, 255, 0.20) 0%,
            rgba(35, 95, 210, 0.08) 45%,
            transparent 72%
        ),
        url("../assets/images/hero-brush.png");

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.85;

    z-index: 0;

    pointer-events: none;
}






















/* Headshot */

.hero-headshot {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 420px;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35))
        drop-shadow(0 0 30px rgba(88, 166, 255, 0.12));

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 86%,
        rgba(0, 0, 0, 0.9) 90%,
        rgba(0, 0, 0, 0.45) 96%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 86%,
        rgba(0, 0, 0, 0.9) 90%,
        rgba(0, 0, 0, 0.45) 96%,
        transparent 100%
    );
}

/* Bottom fade */




































/* ========================================
   Buttons
======================================== */

.hero-button,
.about-button,
.project-button,
.resume-button {
    display: inline-block;

    padding: 12px 24px;

    background-color: #58a6ff;
    color: #07111c;

    border: 1px solid #58a6ff;
    border-radius: 6px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.hero-button:hover,
.about-button:hover,
.project-button:hover,
.resume-button:hover {
    transform: translateY(-2px);

    background-color: transparent;
    color: #58a6ff;
}


/* =========================
   Skills / Technology
========================= */

.skills {
    padding: 80px 20px;
    background: #0b0f14;
    border-top: 1px solid #1f2933;
    border-bottom: 1px solid #1f2933;
}

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

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    padding: 32px 24px;

    border: 1px solid #27313d;
    border-radius: 12px;

    background: #101720;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: #58a6ff;
}


/* Icon */

.skill-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border: 1px solid #364150;
    border-radius: 50%;

    color: #58a6ff;
}

.skill-icon svg {
    width: 34px;
    height: 34px;
}


/* Card Heading */

.skill-card h3 {
    margin: 0 0 18px;

    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    color: #ffffff;
}


/* Capabilities */

.skill-details {
    margin-bottom: 24px;
}

.skill-details p {
    margin: 6px 0;

    font-size: 0.95rem;
    line-height: 1.5;

    color: #c5d0dc;
}


/* Technology Stack */

.skill-stack {
    width: 100%;
    margin-top: auto;
    padding-top: 20px;

    border-top: 1px solid #27313d;
}

.skill-stack span {
    display: block;
    margin-bottom: 10px;

    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: #58a6ff;
}

.skill-stack p {
    margin: 5px 0;

    font-size: 0.8rem;
    line-height: 1.5;

    color: #8b9aaa;
}

/* ========================================
   About
======================================== */

.about {
    padding: 110px 40px;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 80px;
}

.about-image {
    width: 45%;
}

.about-image img {
    width: 100%;
    max-width: 420px;

    margin: 0 auto;

    border-radius: 10px;

    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

.about-content {
    width: 55%;
}

.about-content h2 {
    margin-bottom: 20px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 2.8rem);

    line-height: 1.2;
}

.about-content p {
    margin-bottom: 20px;

    color: #9da7b3;
}


/* ========================================
   Portfolio
======================================== */

.portfolio {
    padding: 110px 40px;

    background-color: #0e141b;

    border-top: 1px solid #21262d;
    border-bottom: 1px solid #21262d;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-header {
    max-width: 720px;

    margin-bottom: 50px;
}

.portfolio-header h2 {
    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 2.8rem);
}

.portfolio-header p {
    color: #9da7b3;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.project-card {
    overflow: hidden;

    background-color: #111820;

    border: 1px solid #21262d;
    border-radius: 10px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);

    border-color: #303d4a;

    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.project-image {
    height: 220px;

    overflow: hidden;

    background-color: #0b1016;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #6e7681;

    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.project-content {
    padding: 26px;
}

.project-content h3 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 1.35rem;
}

.project-tech {
    margin-bottom: 15px;

    color: #58a6ff;

    font-size: 0.85rem;
    font-weight: 700;
}

.project-content p {
    margin-bottom: 22px;

    color: #9da7b3;
}

.project-status {
    display: inline-block;

    padding: 10px 18px;

    color: #6e7681;

    border: 1px solid #30363d;
    border-radius: 6px;

    font-weight: 700;
}


/* ========================================
   Resume
======================================== */

.resume {
    padding: 110px 40px;
}

.resume-container {
    max-width: 1100px;

    margin: 0 auto;
}

.resume-header {
    max-width: 720px;

    margin-bottom: 50px;
}

.resume-header h2 {
    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 2.8rem);
}

.resume-header > p {
    margin-bottom: 25px;

    color: #9da7b3;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.resume-card {
    padding: 30px;

    background-color: #111820;

    border: 1px solid #21262d;
    border-radius: 10px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.resume-card:hover {
    transform: translateY(-3px);

    border-color: #303d4a;
}

.resume-card h3 {
    margin-bottom: 22px;

    color: #58a6ff;

    font-size: 1.2rem;
}

.resume-card ul {
    padding-left: 20px;
}

.resume-card li {
    margin-bottom: 10px;

    color: #c1c8d0;
}

.resume-entry {
    margin-bottom: 22px;
}

.resume-entry:last-child {
    margin-bottom: 0;
}

.resume-entry h4 {
    margin-bottom: 4px;

    color: #ffffff;
}

.resume-entry p {
    color: #8b949e;
}


/* ========================================
   Contact
======================================== */

.contact {
    padding: 110px 40px;

    background-color: #0e141b;

    border-top: 1px solid #21262d;
}

.contact-container {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.contact-header {
    max-width: 650px;

    margin: 0 auto 50px;
}

.contact-header h2 {
    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact-header p {
    color: #9da7b3;
}

.contact-links {
    display: flex;
    justify-content: center;

    gap: 65px;

    margin-bottom: 50px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: #c9d1d9;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-link:hover {
    color: #58a6ff;

    transform: translateY(-3px);
}

.contact-link svg {
    width: 42px;
    height: 42px;
}

.contact-link span {
    font-weight: 700;
}

.contact-email {
    padding-top: 30px;

    border-top: 1px solid #21262d;
}

.contact-email p {
    margin-bottom: 5px;

    color: #6e7681;

    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.contact-email a {
    color: #58a6ff;

    font-size: 1.05rem;

    text-decoration: none;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin: 6px 0;
}

.contact-label {
    color: #ffffff;
    font-weight: 600;
    margin-right: 6px;
}

.contact-details a {
    color: #58a6ff;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* ========================================
   Footer
======================================== */

footer {
    padding: 30px 20px;

    background-color: #080c10;

    color: #6e7681;

    border-top: 1px solid #21262d;

    text-align: center;

    font-size: 0.85rem;
}


/* ========================================
   Tablet
======================================== */

@media (max-width: 1000px) {

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}























/* ========================================
   Mobile
======================================== */

@media (max-width: 768px) {

    /* Navigation */

    .navbar {
        position: relative;
        padding: 18px 20px;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;

        gap: 0;

        padding: 20px;

        background-color: #0b1016;

        border-bottom: 1px solid #21262d;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 12px 0;

        font-size: 0.9rem;

        text-align: center;
    }


    /* Hero */

    .hero {
        min-height: auto;
        padding: 80px 20px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 100%;
        min-height: 380px;

        margin-top: 20px;

        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .hero-brush {
        width: 350px;
        height: 350px;
    }

    .hero-headshot {
        max-width: 320px;
    }

    /* Skills */

    .skills {
        padding: 70px 20px;
    }

    .skills-container {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .skill-card {
        width: 100%;
        padding: 28px 20px;
    }
    /* About */

    .about {
        padding: 80px 20px;
    }

    .about-container {
        flex-direction: column;

        gap: 45px;
    }

    .about-image,
    .about-content {
        width: 100%;
    }

    .about-content {
        text-align: center;
    }

    .about-image img {
        max-width: 320px;
    }


    /* Portfolio */

    .portfolio {
        padding: 80px 20px;
    }

    .portfolio-header {
        margin-left: auto;
        margin-right: auto;

        text-align: center;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }


    /* Resume */

    .resume {
        padding: 80px 20px;
    }

    .resume-header {
        margin-left: auto;
        margin-right: auto;

        text-align: center;
    }

    .resume-grid {
        grid-template-columns: 1fr;
    }


    /* Contact */

    .contact {
        padding: 80px 20px;
    }

    .contact-links {
        gap: 30px;
    }

}


/* ========================================
   Small Phones
======================================== */

@media (max-width: 520px) {

    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .contact-links {
        flex-direction: column;

        gap: 30px;
    }

}

/* ========================================
   Navigation Toggle
======================================== */

.nav-toggle {
    display: none;

    background: none;
    border: none;

    cursor: pointer;
}

.nav-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px 0;

    background-color: #e6edf3;

    transition: 0.2s ease;
}

.nav-link.active {
    color: #58a6ff;
}

/* ========================================
   Entrance Animations
======================================== */

.fade-in {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;

    transform: translateY(0);
}