* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

    background: #120b1f;
    color: #e6edf3;

    line-height: 1.6;
}

/*--------
NEXT STEPS
About is probably redundant now, check project spacing, make sure all buttons go somewhere real, verify mobile behavior, clean up wording, and identify which sections need better screenshots/media.


COLOR BRANDING
Main background        #120b1f     very dark purple

Card background        #1b1229     dark purple

Borders                #39284f     muted purple

Accent                 #a970ff     bright purple

Main text              #e6edf3     almost white

Paragraph text         #b5bdc7     light gray

Secondary text         #8b949e     darker gray

ADDING SPOTLIGHT MPEG
-save a 5 sec vid of a particular system/feature

//in index.html (change each spotlight card to include a looping video)
<div class="spotlight-card">

    <video
        class="spotlight-video"
        autoplay
        muted
        loop
        playsinline>

        <source
            src="assets/videos/conversation-demo.mp4"
            type="video/mp4">

    </video>

    <h5>Branching Conversation System</h5>

    <p>
        Built a reusable dialogue system for multi-tier patient and NPC
        interactions, including branching choices, outcome changes,
        gameplay actions, and conversation state.
    </p>

</div>

//in style.css (already below)
.spotlight-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
    border-radius: 6px;
    object-fit: cover;
}
}




----------*/

/* --------------------
   NAVIGATION
-------------------- */

header {
    border-bottom: 1px solid #242b35;
}

nav {
    max-width: 1100px;

    margin: 0 auto;
    padding: 22px 30px;

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

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #c9d1d9;
    text-decoration: none;
}

.nav-links a:hover {
    color: white;
}


/* --------------------
   MAIN
-------------------- */

main {
    max-width: 1100px;
    margin: auto;
    padding: 0 30px;
}


/* --------------------
   HERO
-------------------- */

.hero {
    min-height: 85vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 120px 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(126, 72, 190, 0.18),
            transparent 40%
        );
}

.eyebrow {
    margin: 0 0 15px;

    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: bold;

    color: #a970ff;
}

.hero h1 {
    margin: 0;

    font-size: clamp(3.5rem, 9vw, 6.5rem);
    line-height: 1;

    letter-spacing: -2px;
}

.hero h2 {
    margin: 20px 0 0;

    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: normal;

    color: #9da7b3;
}

.hero-description {
    max-width: 720px;

    margin-top: 30px;

    font-size: 1.2rem;
    line-height: 1.8;

    color: #b5bdc7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}


/* --------------------
   BUTTONS
-------------------- */

.button {
    display: inline-block;

    padding: 11px 20px;

    border-radius: 5px;

    text-decoration: none;

    font-weight: bold;
}

.primary {
    background: #B19cd9;
    color: white;
}

.primary:hover {
    background: #a55af4;
}

.secondary {
    border: 1px solid #30363d;
    color: white;
}

.secondary:hover {
    background: #161b22;
}


/* --------------------
   SECTIONS
-------------------- */

section:not(.hero) {
    padding: 90px 0;
    border-top: 1px solid #242b35;
}

section > h2 {
    font-size: 2.4rem;
    margin-top: 0;
}


/* --------------------
   PROJECTS
-------------------- */

.project-card {
    background: #1b1229;

    border: 1px solid #39284f;

    border-radius: 8px;

    padding: 35px;

    margin-top: 35px;
}

.project-heading {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    align-items: flex-start;
}

.project-card h3 {
    font-size: 1.8rem;

    margin-top: 5px;
    margin-bottom: 15px;
}

.project-card h4 {
    margin-top: 25px;
}

.project-type {
    color: #a970ff;

    font-size: 0.8rem;

    font-weight: bold;

    letter-spacing: 2px;
}

.project-tech {
    color: #8b949e;
}


/* --------------------
   SKILLS
-------------------- */

.skill-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}

.skill-card {
    border: 1px solid #30363d;

    border-radius: 8px;

    padding: 25px;

    background: #161b22;
}

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

.skill-card p {
    margin: 8px 0;
    color: #b5bdc7;
}

/* --------------------
   FOOTER
-------------------- */

footer {
    max-width: 1100px;

    margin: auto;

    padding: 30px;

    color: #8b949e;

    border-top: 1px solid #242b35;
}


/* --------------------
   MOBILE
-------------------- */

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .project-heading {
        flex-direction: column;
        gap: 0;
    }

    .hero {
        min-height: 70vh;
    }
}

/* --------------------
   FEATURED PROJECT
-------------------- */

.featured-project {
    margin-top: 40px;

    padding: 45px;

    background: #161b22;

    border: 1px solid #30363d;
    border-radius: 10px;
}

.project-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;

    margin-bottom: 30px;
}

.project-header h3 {
    margin: 6px 0;

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

.project-role {
    margin: 0;

    color: #b5bdc7;

    font-size: 1.1rem;
}

.project-tech {
    color: #8b949e;

    text-align: right;

    white-space: nowrap;
}


/* MEDIA AREA */

.project-media {
    margin: 30px 0;
}

.video-container {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 8px;

    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* PROJECT DESCRIPTION */

.project-content {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 50px;

    margin-top: 35px;
}

.project-content h4 {
    margin-top: 0;

    font-size: 1.25rem;
}

.project-overview p {
    color: #b5bdc7;
}

.project-highlights ul {
    margin: 0;
    padding-left: 20px;
}

.project-highlights li {
    margin-bottom: 10px;
}


/* LINKS */

.project-links {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}


/* --------------------
   TECHNICAL SPOTLIGHTS
-------------------- */

.technical-spotlights {
    margin-top: 40px;
}

.technical-spotlights h4 {
    margin-bottom: 20px;
    font-size: 1.35rem;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spotlight-card {
    padding: 25px;

    background: #0d1117;

    border: 1px solid #30363d;
    border-radius: 8px;
}

.spotlight-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
    border-radius: 6px;
    object-fit: cover;
}

.spotlight-card h5 {
    margin-top: 0;
    margin-bottom: 12px;

    font-size: 1.1rem;
}

.spotlight-card p {
    margin-bottom: 0;

    color: #b5bdc7;
}


/* --------------------
   STANDARD PROJECT
-------------------- */

.standard-project {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 45px;

    margin-top: 50px;
    padding: 35px;

    background: #161b22;

    border: 1px solid #30363d;
    border-radius: 10px;
}

.standard-project-media img {
    width: 100%;
    height: 100%;

    min-height: 400px;

    object-fit: cover;

    border-radius: 8px;
}

.standard-project-info h3 {
    margin: 5px 0;

    font-size: 2.2rem;
}

.project-tech-small {
    color: #8b949e;

    margin-top: 15px;
    margin-bottom: 25px;
}

.standard-project-info > p:not(.project-type):not(.project-role):not(.project-tech-small) {
    color: #b5bdc7;
}

.standard-project-info h4 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.standard-project-info ul {
    padding-left: 20px;
}

.standard-project-info li {
    margin-bottom: 7px;
}

/* --------------------
   PROJECT GALLERY
-------------------- */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.project-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #30363d;
}

/* --------------------
   BACKGROUND
-------------------- */

.background-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.background-heading h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.background-content p {
    margin-top: 0;
    margin-bottom: 20px;

    color: #b5bdc7;

    font-size: 1.08rem;
    line-height: 1.8;
}

.background-details {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 45px;
}

.background-card {
    padding: 25px;

    background: #161b22;

    border: 1px solid #30363d;
    border-radius: 8px;
}

.background-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.background-card p {
    margin-bottom: 10px;
}

.background-note {
    color: #8b949e;
    font-size: 0.9rem;
}

/* --------------------
   CONTACT
-------------------- */

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

.contact-container h2 {
    margin-top: 8px;
    margin-bottom: 20px;

    font-size: clamp(2.5rem, 6vw, 4rem);
}

.contact-intro {
    max-width: 700px;

    margin-bottom: 35px;

    color: #b5bdc7;

    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-links {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.contact-card {
    display: flex;
    flex-direction: column;

    padding: 22px;

    background: #161b22;

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

    color: #e6edf3;
    text-decoration: none;

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

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

    border-color: #a970ff;

    background: #1c2128;
}

.contact-label {
    margin-bottom: 6px;

    color: #a970ff;

    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.contact-name {
    font-size: 1.05rem;
    font-weight: bold;
}

.contact-resume {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-top: 35px;
}

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

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

    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #8b949e;
    text-decoration: none;
}

.footer-links a:hover {
    color: #a970ff;
}

.project-selector {
    padding: 60px 0 90px;
}

.project-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-tile {
    position: relative;
    overflow: hidden;

    aspect-ratio: 16 / 9;

    border-radius: 10px;
    border: 1px solid #39284f;

    background: #1b1229;

    text-decoration: none;
    color: white;
}

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

    object-fit: cover;

    transition: transform 0.35s ease;
}

.project-tile-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 20px 18px;

    background:
        linear-gradient(
            transparent,
            rgba(10, 5, 18, 0.95)
        );
}

.project-tile-overlay h3 {
    margin: 0 0 4px;
}

.project-tile-overlay p {
    margin: 0;

    color: #c4b3d7;

    font-size: 0.85rem;
}

.project-tile:hover img {
    transform: scale(1.06);
}

.project-tile:hover {
    border-color: #a970ff;
}

.additional-projects-intro {
    margin-bottom: 20px;
}

.additional-project-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.additional-project {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;

    text-decoration: none;
    color: inherit;

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

.additional-project:hover {
    transform: translateY(-2px);
    border-color: #a970ff;
    background-color: rgba(169, 112, 255, 0.08);
}

.additional-project img {
    width: 140px;
    height: 80px;

    object-fit: cover;
    border-radius: 7px;

    flex-shrink: 0;
}

.additional-project-info h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.additional-project-info p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}


/* MOBILE */

@media (max-width: 800px) {

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

    padding: 25px;
}

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

.standard-project-media img {
    min-height: auto;
}

      /* Gallery */

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

    .project-header {
        flex-direction: column;
    }

    .project-tech {
        text-align: left;

        white-space: normal;
    }

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

        gap: 25px;
    }

    .featured-project {
        padding: 25px;
    }

.spotlight-grid {
    grid-template-columns: 1fr;
}
    
    .media-placeholder {
        min-height: 250px;
    }

    .background-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.background-details {
    grid-template-columns: 1fr;
}

    .contact-links {
    grid-template-columns: 1fr;
}

.contact-resume {
    flex-direction: column;
    align-items: flex-start;
}

    footer {
    flex-direction: column;
    align-items: flex-start;
}
    
}
