/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ==================================================
   ROOT
================================================== */

:root{

    --bg:#090909;
    --surface:#141414;
    --surface-2:#1b1b1b;

    --text:#f5f5f5;
    --text-light:#a0a0a0;

    --accent:#d0ae6c;

    --border:rgba(255,255,255,.08);

    --transition:.35s ease;

    --radius:20px;

    --container:1280px;

}

/* ==================================================
   HTML
================================================== */

html{

    scroll-behavior:smooth;

}

/* ==================================================
   BODY
================================================== */

body{

    background:var(--bg);

    color:var(--text);

    font-family:'Syne',sans-serif;

    overflow-x:hidden;

    cursor:none;

    line-height:1.7;

}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1,h2,h3,h4{

    font-family:'Cormorant Garamond',serif;

    font-weight:500;

}

p{

    color:var(--text-light);

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    display:block;

    width:100%;

}

ul{

    list-style:none;

}

/* ==================================================
   CONTAINER
================================================== */

section{

    width:min(92%,var(--container));

    margin:auto;

    padding:140px 0;

}

/* ==================================================
   CURSOR
================================================== */

.cursor-dot{

    position:fixed;

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--accent);

    pointer-events:none;

    z-index:99999;

    transform:translate(-50%,-50%);

}

.cursor-ring{

    position:fixed;

    width:36px;

    height:36px;

    border-radius:50%;

    border:1px solid rgba(208,174,108,.45);

    pointer-events:none;

    z-index:99998;

    transform:translate(-50%,-50%);

}

/* ==================================================
   NAVBAR
================================================== */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;

}

.navbar{

    position:fixed;

    top:20px;

    left:50%;

    transform:translateX(-50%);

    width:min(92%,1180px);

    padding:18px 34px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:rgba(20,20,20,.45);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    transition:.35s ease;

    z-index:1000;

}
.navbar.scrolled{

    top:12px;

    background:rgba(18,18,18,.72);

    box-shadow:0 12px 40px rgba(0,0,0,.25);

}

.logo{

    font-size:2rem;

    font-family:'Cormorant Garamond',serif;

}

.nav-links{

    display:flex;

    gap:42px;

}

.nav-links a{

    font-size:.75rem;

    text-transform:uppercase;

    letter-spacing:2px;

    color:var(--text-light);

    transition:var(--transition);

}

.nav-links a{

    position:relative;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--accent);

    transform:translateX(-50%);

    transition:.3s;

}

.nav-links a:hover{

    color:white;

}

.nav-links a:hover::after{

    width:100%;

}
/* ==================================================
   BUTTONS
================================================== */

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:45px;

}

.btn-primary{

    padding:16px 34px;

    background:var(--accent);

    color:#090909;

    border-radius:999px;

    transition:var(--transition);

}

.btn-primary:hover{

    transform:translateY(-4px);

}

.btn-secondary{

    padding:16px 34px;

    border-radius:999px;

    border:1px solid var(--border);

    transition:var(--transition);

}

.btn-secondary:hover{

    border-color:var(--accent);

}

/* ==================================================
   SECTION HEADING
================================================== */

.section-heading{

    margin-bottom:80px;

}

.section-heading span{

    display:block;

    margin-bottom:18px;

    font-family:'DM Mono',monospace;

    font-size:.72rem;

    color:var(--accent);

    letter-spacing:3px;

}

.section-heading h2{

    font-size:clamp(3rem,6vw,5rem);

    line-height:1;

}

/* ==================================================
   SCROLLBAR
================================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#090909;

}

::-webkit-scrollbar-thumb{

    background:#2d2d2d;

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--accent);

}

/* ==================================================
   SELECTION
================================================== */

::selection{

    background:var(--accent);

    color:#090909;

}
/* ==================================================
   HERO
================================================== */

#hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:90px;

    position:relative;

}

/* Glow */

#hero::before{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    background:radial-gradient(circle,
        rgba(208,174,108,.08),
        transparent 70%);

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    z-index:-1;

}

/* Left */

.hero-left{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.hero-label{

    display:inline-block;

    width:max-content;

    padding:8px 16px;

    border:1px solid var(--border);

    border-radius:999px;

    font-size:.72rem;

    font-family:'DM Mono',monospace;

    letter-spacing:2px;

    color:var(--accent);

    margin-bottom:28px;

}

.hero-left h1{

    font-size:clamp(5rem,11vw,8rem);

    line-height:.85;

    margin-bottom:18px;

}

.hero-left h2{

    max-width:650px;

    font-size:clamp(1.7rem,3vw,2.5rem);

    line-height:1.2;

    margin-bottom:28px;

}

.hero-left p{

    max-width:560px;

    font-size:1rem;

    line-height:2;

}

/* Right */

.hero-right{

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-image{

    width:380px;

    height:520px;

    border-radius:28px;

    overflow:hidden;

    border:1px solid var(--border);

    background:var(--surface);

    transition:.45s ease;

    position:relative;

}

.hero-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s ease;

}

.hero-image:hover{

    transform:translateY(-8px);

}

.hero-image:hover img{

    transform:scale(1.05);

}

/* Border Glow */

.hero-image::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:28px;

    box-shadow:0 0 80px rgba(208,174,108,.12);

    pointer-events:none;

}

/* Scroll Text */

.scroll-text{

    position:absolute;

    left:0;

    bottom:40px;

    display:flex;

    align-items:center;

    gap:14px;

    font-size:.72rem;

    letter-spacing:2px;

    color:var(--text-light);

    font-family:'DM Mono',monospace;

}

.scroll-text::before{

    content:"";

    width:45px;

    height:1px;

    background:var(--accent);

}

/* Animation */

.hero-left>*{

    opacity:0;

    transform:translateY(30px);

    animation:fadeUp .8s forwards;

}

.hero-left>*:nth-child(1){animation-delay:.15s;}
.hero-left>*:nth-child(2){animation-delay:.3s;}
.hero-left>*:nth-child(3){animation-delay:.45s;}
.hero-left>*:nth-child(4){animation-delay:.6s;}
.hero-left>*:nth-child(5){animation-delay:.75s;}

.hero-right{

    opacity:0;

    transform:translateY(30px);

    animation:fadeUp .9s forwards .8s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Tablet */

@media(max-width:1100px){

    #hero{

        grid-template-columns:1fr;

        text-align:center;

        gap:70px;

    }

    .hero-left{

        align-items:center;

    }

    .hero-left p{

        max-width:700px;

    }

}

/* Mobile */

/* ===========================
   MOBILE HERO
=========================== */

@media (max-width:768px){

    /* Navbar */
    .navbar{
        width:94%;
        padding:16px 20px;
    }

    /* Hide nav links for now */
    .nav-links{
        display:none;
    }

    /* Hero */
    #hero{
        padding-top:140px;
        min-height:auto;
        display:grid;
        grid-template-columns:1fr;
        gap:48px;
        text-align:center;
    }

    .hero-left{
        align-items:center;
    }

    .hero-label{
        margin-bottom:22px;
        font-size:.7rem;
    }

    .hero-left h1{
        font-size:4.4rem;
        line-height:.9;
        margin-bottom:18px;
    }

    .hero-left h2{
        font-size:1.6rem;
        max-width:320px;
        margin:0 auto 24px;
    }

    .hero-left p{
        max-width:340px;
        margin:0 auto;
        font-size:1rem;
        line-height:1.8;
    }

    .hero-buttons{
        width:100%;
        display:flex;
        flex-direction:column;
        gap:18px;
        margin-top:36px;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        text-align:center;
    }

    .hero-right{
        order:2;
    }

    .hero-image{
        width:90%;
        max-width:360px;
        height:auto;
        aspect-ratio:3/4;
        margin:auto;
        border-radius:28px;
    }

    section{
        padding:90px 24px;
    }

}
.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:var(--text);
    font-size:1.8rem;
    cursor:pointer;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:80px;
        left:3%;
        width:94%;
        display:none;
        flex-direction:column;
        background:#111;
        border:1px solid rgba(255,255,255,.08);
        border-radius:18px;
        padding:20px;
        gap:18px;
        text-align:center;
    }

    .nav-links.active{
        display:flex;
    }

}
/* ==================================================
   FEATURED PROJECT
================================================== */

#featured{

    padding-top:180px;

}

.featured-project{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:70px;

    align-items:center;

}

.featured-image{

    overflow:hidden;

    border-radius:28px;

    border:1px solid var(--border);

    background:var(--surface);

}

.featured-image img{

    width:100%;

    display:block;

    transition:.6s;

}

.featured-image:hover img{

    transform:scale(1.04);

}

.featured-content{

    display:flex;

    flex-direction:column;

}

.featured-year{

    color:var(--accent);

    font-family:'DM Mono',monospace;

    letter-spacing:2px;

    font-size:.75rem;

    margin-bottom:20px;

}

.featured-content h3{

    font-size:3rem;

    margin-bottom:20px;

}

.featured-content p{

    max-width:500px;

    line-height:2;

    margin-bottom:35px;

}

.featured-tech{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin-bottom:40px;

}

.featured-tech span{

    padding:10px 18px;

    border:1px solid var(--border);

    border-radius:999px;

    font-size:.75rem;

    font-family:'DM Mono',monospace;

}

.featured-buttons{

    display:flex;

    gap:18px;

}

.featured-buttons a{

    transition:.3s;

}

.featured-buttons a:hover{

    color:var(--accent);

}

/* ==================================================
   ABOUT
================================================== */

#about{

    padding-top:170px;

}

.about-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

}

.about-left{

    display:flex;

    flex-direction:column;

    gap:26px;

}

.about-left p{

    font-size:1rem;

    line-height:2;

}

.about-left strong{

    color:var(--text);

}

.about-right{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

.about-info{

    padding:30px;

    border:1px solid var(--border);

    border-radius:20px;

    background:var(--surface);

    transition:.35s;

}

.about-info:hover{

    transform:translateY(-8px);

    border-color:rgba(208,174,108,.25);

}

.about-info span{

    display:block;

    margin-bottom:15px;

    font-size:.72rem;

    font-family:'DM Mono',monospace;

    letter-spacing:2px;

    color:var(--accent);

}

.about-info h3{

    font-size:1.8rem;

}

/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:1100px){

    .featured-project{

        grid-template-columns:1fr;

    }

    .about-container{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .featured-buttons{

        flex-direction:column;

    }

    .about-right{

        grid-template-columns:1fr;

    }

}
/* ==================================================
   SKILLS
================================================== */

#skills{

    padding-top:170px;

}

.stack-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:70px;

}

.stack-category{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    transition:.35s ease;

}

.stack-category:hover{

    transform:translateY(-8px);

    border-color:rgba(208,174,108,.25);

}

.stack-category h3{

    font-size:2rem;

    margin-bottom:22px;

}

.stack-category ul{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.stack-category li{

    color:var(--text-light);

    transition:.3s;

}

.stack-category li:hover{

    color:var(--text);

    padding-left:8px;

}

/* ==================================================
   PROJECTS
================================================== */

#projects{

    padding-top:170px;

}

.projects-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

    margin-top:70px;

}

.project{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:26px;

    overflow:hidden;

    transition:.35s ease;

}

.project:hover{

    transform:translateY(-8px);

    border-color:rgba(208,174,108,.25);

}

.project img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.6s;

}

.project:hover img{

    transform:scale(1.04);

}

.project div{

    padding:28px;

}

.project h3{

    font-size:2rem;

    margin-bottom:14px;

}

.project p{

    line-height:1.9;

}

/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:1100px){

    .stack-grid{

        grid-template-columns:1fr;

    }

    .projects-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .project img{

        height:220px;

    }

}
/* ==================================================
   JOURNEY
================================================== */

#journey{

    padding-top:170px;

}

.timeline{

    position:relative;

    max-width:900px;

    margin:70px auto 0;

}

.timeline::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    width:2px;

    height:100%;

    background:var(--border);

    transform:translateX(-50%);

}

.timeline-item{

    position:relative;

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:80px;

}

.timeline-item:nth-child(even){

    flex-direction:row-reverse;

}

.timeline-item span{

    width:42%;

    font-size:2rem;

    font-family:'Cormorant Garamond',serif;

}

.timeline-item p{

    width:42%;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:20px;

    padding:28px;

    line-height:1.8;

    transition:.35s;

}

.timeline-item p:hover{

    transform:translateY(-8px);

    border-color:rgba(208,174,108,.25);

}

.timeline-item::after{

    content:"";

    position:absolute;

    left:50%;

    top:50%;

    width:18px;

    height:18px;

    background:var(--accent);

    border-radius:50%;

    transform:translate(-50%,-50%);

}


/* ==================================================
   CONTACT
================================================== */

#contact{

    text-align:center;

    padding-top:170px;

}

.contact-container{

    max-width:700px;

    margin:auto;

}

.contact-container p{

    margin:35px 0 45px;

    line-height:2;

}

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.contact-buttons a{

    min-width:180px;

}


/* ==================================================
   FOOTER
================================================== */

footer{

    margin-top:120px;

    border-top:1px solid var(--border);

    padding:35px 20px;

    text-align:center;

}

footer p{

    color:var(--text-light);

    font-size:.9rem;

}


/* ==================================================
   REVEAL
================================================== */

.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:.8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}


/* ==================================================
   FINAL RESPONSIVE
================================================== */

@media(max-width:900px){

    .timeline::before{

        left:20px;

    }

    .timeline-item,

    .timeline-item:nth-child(even){

        flex-direction:column;

        align-items:flex-start;

        padding-left:55px;

    }

    .timeline-item span,

    .timeline-item p{

        width:100%;

    }

    .timeline-item::after{

        left:20px;

    }

}

@media(max-width:768px){

    section{

        padding:110px 0;

    }

    .contact-buttons{

        flex-direction:column;

    }

    .contact-buttons a{

        width:100%;

    }

    .featured-image{

        border-radius:20px;

    }

    .hero-image{

        border-radius:22px;

    }

}