
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Georgia", serif;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: #fffdf7;
    position: relative;
    background: #000; 
}

/* FULLSCREEN VIDEO BACKGROUND  */
.home-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  
    z-index: -2;      
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); 
    z-index: -1;
}

/* --- NAV BAR --- */
.navbar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.navbar {
    background: rgba(255, 255, 245, 0.75);
    backdrop-filter: blur(10px);
    width: 85%;
    padding: 14px 30px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #222;
}

.nav-logo p {
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-size: 0.95rem;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    z-index: 5; 
    min-height: calc(100vh - 120px); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.hero-subtitle {
    margin-top: 20px;
    font-size: 2rem;
    font-weight: 300;
}
/*Human Skills Page*/

.content-wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 80px;
}

.skills-grid{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: center;
}
.skill-card{
    background: rgba(red, green, blue, alpha);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    width: 100%;
    max-width: 320px;
}
.skill-image-wrapper img{
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: block;
}
.skill-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}
.project-banner{
    width: 100%;
    padding: 20px 0;
    background: #bfbfb8;
    text-align: center;
    margin-top: 40px;
}
.project-banner h2{
    font-size: 2;
    letter-spacing: 2px;
    font-weight: 500;
    color: black;
}
.video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.video-details {
    background:  #bfbfb8;
    color: #222;
    padding: 16px 20px;
    margin: 10px auto 30px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.video-details h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.video-details p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/*AI Skills Page*/
.ai-skills-page {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
    color: #222;
}

.content-wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 80px;
}

.ai-speech{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
}

.ai-bubble{
    position: relative;
    background: #bfbfb8;
    color: #222;
    padding: 16px 20px;
    border-radius: 18px;
    max-width: 650px;
    line-height: 1.6;
    font-size: 1;
}
/*About Page*/
.about{
    padding: 30px 10px 0;
    display: flex;
    justify-content: center;
}
.about-photo-wrapper{
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}
.about-photo{
    width: 100%;
    border-radius: 12px;
    display: block;
}
.ai-skills-page {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #222;
}

.content-wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 80px;
}

.ai-intro h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.ai-intro p {
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 30px;
}

.ai-uses h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.ai-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-card {
    background: #bfbfb8;
    color: black;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ai-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.ai-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.ai-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}


body.about-page {
    margin: 0;
    font-family: "Spectral", Georgia, "Times New Roman", serif;
    background-color: #000;
    color: #111;
}

.active-link {
    text-decoration: underline;
}

.about-hero {
    background: #000;
    color: #fff;
    padding: 80px 16px 70px;
}

.about-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
.about-hero-content {
    flex: 2 1 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-hero-text {
    flex: 2 1 260px;
}

.about-hero-text .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    margin-bottom: 10px;
}

.about-hero-text h1 {
    margin: 0 0 16px;
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.2;
}

.hero-sub {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.7;
}

.about-hero-card {
    background-color: #dedede;
    color: #000;
    padding: 24px 22px;
    border-radius: 10px;
}

.hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 4px;
}

.hero-tagline {
    font-weight: 600;
    margin: 0 0 10px;
}

.hero-item {
    font-size: 14px;
    line-height: 1.5;
    margin: 4px 0;
}

.about-section {
    padding: 50px 16px;
    background-color: #dedede;
}

.about-section:nth-of-type(even) {
    background-color: #f3f3f3;
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 18px;
}

.about-section p {
    font-size: 15px;
    line-height: 1.7;
}

.about-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

.about-card {
    background-color: #000;
    color: #f5f5f5;
    border-radius: 14px;
    overflow: hidden;
    padding-bottom: 20px;
}
.card-image{
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.about-card h3{
    margin: 16px 16px 6px;
    font-size: 18px;
    font-weight: bold;
}
.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.about-cta-box {
    flex: 1 1 260px;
    background-color: #000;
    color: #fff;
    padding: 24px 22px;
    border-radius: 12px;
}

.about-cta-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

/*cursor*/


/* The custom cursor dot */
.custom-cursor {
    position: fixed;           /* stay relative to the viewport */
    width: 18px;
    height: 18px;
    border-radius: 50%;        /* make it a circle */
    border: 2px solid #ffffff; /* white outline */
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;      /* so it doesn't block clicks */
    transform: translate(-50%, -50%); /* center on the mouse */
    z-index: 9999;             /* stay on top */
    transition: transform 0.08s ease-out; /* slight smoothing */
}

body {
    cursor: url('images/custom-cursor.png') 8 8, auto;
}




/*Desktop*/
@media (min-width:800px){
    .skills-grid{
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    .skill-card{
        max-width: 500px;
    }
    .skill-image-wrapper img{
        transition: filter 0.3 ease;
    }
    .skill-image-wrapper img:hover{
        filter: grayscale(100%)
    }
        .ai-speech {
        flex-direction: row;     
        align-items: flex-start;
        justify-content: center;
    }

    .ai-bubble {
        margin-left: 10px;
    }

    .ai-bubble::before {
        top: 24px;
        left: -14px;
        border-width: 10px 14px 10px 0;
        border-color: transparent rgba(255, 255, 245, 0.9) transparent transparent;
    }
    /*ABOUT*/
    .about{
        padding: 40px 30px 0;
    }
    .about-bio{
        padding: 50px 40px 60px;
    }
    .about-hero-inner{
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    .about-hero-content{
        flex: 2 1 0;
    }
    .about-photo-wrapper{
        flex: 1 1 260px;
        max-width: 340px;
        margin: 0;
    }
    .about-card-grid{
        grid-template-columns: repeat (2, 1fr);
        gap: 28px;
    }
    .card-image{
        height: 220px;
    }
    /*AI Skills*/
        .content-wrapper {
        padding-top: 100px;
    }

    .ai-intro h1 {
        font-size: 2.5rem;
    }

    .ai-intro p {
        font-size: 1.1rem;
        max-width: 800px;
    }

    .ai-uses h2 {
        font-size: 1.8rem;
    }

    .ai-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .ai-card {
        flex: 1 1 calc(33.333% - 20px);
    }
}
