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

html{
    scroll-behavior: smooth;
}

#human-skills, #ai-skills, #about-me{
    scroll-margin-top: 90px;
}


html, body{
    height: 100%;
    overflow-x: hidden;
}

/* NAVIGATION BAR */
nav{
    display: flex;
    justify-content: space-between;   
    align-items: center;
    padding: 10px 20px;
    background: black;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.logo{
    width: 50px;
    height: 50px;
}

/* Desktop links */
.nav-links{
    display: flex;
    flex: 1;                     
    justify-content: space-evenly;   
    margin-left: 40px;     
}

.nav-link{
    text-decoration: none;
    font-family: "Bebas Neue", sans-serif;
    font-size: 20pt;
    font-weight: 700;
    color: white;
}

.nav-link:hover{
    color: gray;
}

/* Hamburger (mobile only) */
.hamburger{
    font-size: 35px;
    cursor: pointer;
    color: white;
    display: none;   
}

/* HAMBURGER MENU */
.sidenav{
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    z-index: 10000;
}

.sidenav a{
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 22px;
    color: white;
    font-family: "Bebas Neue", sans-serif;
}

.sidenav a:hover{
    color: #ccc;
}

.sidenav .closebtn{
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
}

/* HOMEPAGE */
.homepage{
    min-height: 100vh;
    background-image: url("../img/portrait.png");
    background-size: cover;
    background-position: center;
    color: #f5f5f5;
    padding-top: 40px;
    position: relative;
}

.homepage-top-text{
    text-align: center;
    padding-top: 40px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.homepage-name{
    position: absolute;
    left: 32%;
    bottom: 10px;
    font-size: 150px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
}

/* HUMAN SKILLS */
#human-skills{
    margin-top: 100px;
}

.human-skills-title{
    font-family: "Bebas Neue", sans-serif;
    font-size: 80pt;
    text-align: center;
}

.cards-container{
    display: flex;
    justify-content: center;
    gap: 55px;
    margin-top: 50px;
}

.card, .card-2{
    width: 350px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card img, .card-2 img{
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-title{
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 30pt;
}

.image-caption, .image-2-caption{
    position: absolute;
    left: 0;
    right: 0;
    padding: 12px 16px;
    color: #fff;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.35);
    font-family: "Ubuntu", sans-serif;
}

.image-caption{
    bottom: 0;
}

.image-2-caption{
    top: 0;
}

/* AI SKILLS */
#ai-skills{
    margin-top: 150px;
}

.ai-skills-title{
    font-family: "Bebas Neue", sans-serif;
    font-size: 80pt;
    text-align: center;
}

.ai-skills-text{
    margin: 0 100px;
    text-align: center;
    font-family: "Ubuntu", sans-serif;
    font-style: italic;
    font-weight: 700;
}

.text-container{
    margin-top: 75px;
    display: flex;
    justify-content: space-evenly;
}

.text-card{
    width: 350px;
    border: 2px solid black;
    border-radius: 12px;
    padding: 6px;
    background: #E0D3C4;
}

.text-title{
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30pt;
}

.body-text{
    margin-top: 20px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
}

/* ABOUT ME */
#about-me{
    margin-top: 350px;
}

.about-me-title{
    font-family: "Bebas Neue", sans-serif;
    font-size: 80pt;
    text-align: center;
    margin-bottom: 20px;
}

.about-me-container{
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 60px;
    row-gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-me-left{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.candid-horizontal{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.candid-vertical{
    width: 300px;
    object-fit: cover;
    margin-left: 75px;
}

.about-me-right{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-me-bio, .contact-section{
    max-width: 550px;
    padding: 20px;
    border: 2px solid black;
    border-radius: 12px;
    background: #E0D3C4;
    font-family: "Ubuntu", sans-serif;
}

.about-me-bio{
    margin-top: 70px;
}

.contact-section{
    margin-top: 100px;
}

.about-me-bio-title{
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 30pt; 
    margin-bottom: 10px; 
    text-align: center;
}

.about-me-bio-text{
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
}

.contact-section-title{
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 25pt;
}

/* CUSTOM J CURSOR */
body{
    cursor: none;
}

#j-cursor{
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    font-family: "Bebas Neue", sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: white;
    padding: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: 2px solid white;
    transition: transform 0.07s linear;
}

#j-cursor.click{
    transform: translate(-50%, -50%) scale(0.8);
}

/* MOBILE FIXES */
@media (max-width: 800px){

    /* NAV — mobile layout */
    .nav-links{
        display: none; 
    }

    .hamburger{
        display: block; 
    }

    nav{
        justify-content: space-between; 
        padding: 10px 20px;
    }

    /* HOMEPAGE */
    .homepage-name{
        position: static;
        font-size: 70px;
        margin-top: 40px;
        text-align: center;
    }

    /* HUMAN SKILLS */
    .cards-container{
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
    }

    /* AI SKILLS */
    .text-container{
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    /* ABOUT ME */
    .about-me-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
    }

    .candid-vertical{
        margin-left: 0 auto;
        width: 60%;
    }
}
