/* =========================
   GLOBAL
========================= */

:root {

    --background: #050505;
    --surface: #0c0c0c;
    --text: #f5f5f5;
    --muted: #999;
    --line: rgba(255,255,255,0.1);
    --accent: #74f2ce;

}


* {

    margin:0;
    padding:0;
    box-sizing:border-box;

}


html {

    scroll-behavior:smooth;

}


body {

    background:var(--background);
    color:var(--text);
    /*font-family:"Inter", sans-serif;*/
	font-family: "Montserrat";
    overflow-x:hidden;

}


/* Subtle animated atmosphere */

body::before {

    content:"";
    position:fixed;

    width:900px;
    height:900px;

    top:-300px;
    left:-200px;

    background:
    radial-gradient(
        circle,
        rgba(116,242,206,0.12),
        transparent 60%
    );

    filter:blur(40px);

    animation:
    floatingLight 15s infinite alternate ease-in-out;

    z-index:-2;

}


@keyframes floatingLight {

    from {
        transform:translate(0,0);
    }

    to {
        transform:translate(300px,200px);
    }

}



/* Grain effect */

body::after {

    content:"";

    position:fixed;
    inset:0;

    background-image:
    radial-gradient(
        rgba(255,255,255,.05) 1px,
        transparent 1px
    );

    background-size:5px 5px;

    opacity:.15;

    pointer-events:none;

    z-index:-1;

}

body a {

    color:white;
    text-decoration:none;
    opacity:.6;
    transition:.3s;

}


body a:hover {

    opacity:1;
    color:var(--accent);

}

/* =========================
   CURSOR EFFECT
========================= */


.cursor-glow {

    position:fixed;

    width:250px;
    height:250px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(116,242,206,.15),
        transparent 70%
    );

    transform:translate(-50%,-50%);

    pointer-events:none;

    z-index:0;

}





/* =========================
   NAVIGATION
========================= */


.navigation {

    position:fixed;

    top:0;
    left:0;

    width:100%;

    padding:35px 7%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    z-index:10;

    transition:.4s;

}


.navigation.scrolled {

    background:
    rgba(5,5,5,.7);

    backdrop-filter:blur(20px);

    border-bottom:
    1px solid var(--line);

}



.logo {

    font-size:22px;

    font-weight:700;

    letter-spacing:5px;

}



nav {

    display:flex;

    gap:45px;

}


nav a {

    color:white;

    text-decoration:none;

    font-size:14px;

    opacity:.6;

    transition:.3s;

}



nav a:hover {

    opacity:1;

    color:var(--accent);

}


.project-media {

    overflow:hidden;

    aspect-ratio:16/9;

}



.project-media video {

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    transition:transform 1s ease;

}



.project:hover video {

    transform:scale(1.05);

}

.project-media video {

    opacity:0;

    animation:videoFade 1.5s forwards;

}


@keyframes videoFade {

    to {

        opacity:1;

    }

}

/* =========================
   HERO
========================= */


.hero {

    height:100vh;

    display:flex;

    align-items:center;

    padding:0 8%;

    position:relative;
	overflow: hidden;

}



.hero-content {

    max-width:1100px;

}



.eyebrow {

    color:var(--muted);

    letter-spacing:3px;

    text-transform:uppercase;

    font-size:12px;

    margin-bottom:40px;

}



.hero h1 {

    font-size:
    clamp(70px,10vw,150px);

    line-height:.9;

    letter-spacing:-6px;

    font-weight:700;

    margin-bottom:40px;

}



.intro {

    max-width:650px;

    font-size:22px;

    line-height:1.7;

    color:var(--muted);

}



.scroll-indicator {

    position:absolute;

    bottom:50px;

    left:8%;

    font-size:12px;

    letter-spacing:4px;

    opacity:.5;

}

/* =========================
   HERO VIDEO
========================= */


.hero {

    position:relative;
    overflow:hidden;

}


.hero-video {

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:-2;

    filter:
    brightness(.45)
    saturate(.8);

}



.hero-overlay {

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(5,5,5,.85),
        rgba(5,5,5,.35)
    );

    z-index:-1;

}




/* =========================
   SECTIONS
========================= */


section {

    padding:150px 8%;

}



.section-title {

    color:var(--muted);

    font-size:12px;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:80px;

}





/* =========================
   PROJECTS
========================= */


.project {

    display:grid;

    grid-template-columns:
    1.7fr 1fr;

    gap:80px;

    align-items:center;

    margin-bottom:180px;

}



.project-image {

    overflow:hidden;

}



.project-image img {

    width:100%;

    display:block;

    transition:
    transform 1s ease;

}



.project:hover img {

    transform:scale(1.05);

}



.project-text h2 {

    font-size:55px;

    line-height:1;

    margin-bottom:25px;

}



.project-text p {

    color:var(--muted);

    line-height:1.8;

    margin-bottom:30px;

}



.tags {

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}



.tags span {

    border:1px solid var(--line);

    padding:8px 16px;

    border-radius:50px;

    font-size:12px;

    color:#ccc;

}





/* =========================
   STATEMENT
========================= */


.statement {

    padding-top:250px;

    padding-bottom:250px;

}



.statement h2 {

    font-size:
    clamp(40px,6vw,90px);

    font-weight:300;

    line-height:1.2;

    color:#ddd;

}






/* =========================
   ABOUT
========================= */


.about {

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:100px;

}



.about h2 {

    font-size:70px;

}



.about p {

    color:var(--muted);

    font-size:20px;

    line-height:1.9;

    margin-bottom:25px;

}





/* =========================
   FOOTER
========================= */


footer {

    border-top:
    1px solid var(--line);

    padding:100px 8%;

    display:flex;

    justify-content:space-between;

}



footer h2 {

    font-size:45px;

}



.links {

    display:flex;

    flex-direction:column;

    gap:20px;

}



.links a {

    color:white;

    text-decoration:none;

    opacity:.6;

}



.links a:hover {

    opacity:1;

    color:var(--accent);

}





/* =========================
   ANIMATION STATES
========================= */


.fade {

    opacity:0;

    transform:translateY(50px);

    transition:
    opacity 1s ease,
    transform 1s ease;

}



.fade.visible {

    opacity:1;

    transform:translateY(0);

}

/* =========================
   CV SECTION
========================= */


.cv-grid {

display:grid;

grid-template-columns:
repeat(3,1fr);

gap:70px;

}



.cv-column h3 {

font-size:14px;

letter-spacing:3px;

text-transform:uppercase;

margin-bottom:40px;

color:var(--accent);

}



.cv-item {

margin-bottom:50px;

}



.cv-item h4 {

font-size:25px;

margin-bottom:10px;

}



.cv-item p {

color:white;

opacity:.7;

margin-bottom:15px;

}



.cv-item span {

display:block;

color:var(--muted);

line-height:1.7;

}




.tools {

display:flex;

flex-wrap:wrap;

gap:12px;

}



.tools span {

border:1px solid var(--line);

padding:10px 18px;

border-radius:50px;

font-size:14px;

}



@media(max-width:900px){


.cv-grid {

grid-template-columns:1fr;

}


}


/* =========================
   PROJECT GALLERY
========================= */

.project-gallery {

    display:grid;

    grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

    gap:30px;

    width:100%;

}


.project-gallery img {

    width:100%;

    height:auto;

    display:block;

    object-fit:cover;

}
/* =========================
   MOBILE
========================= */


@media(max-width:900px){


.navigation {

    padding:25px 6%;

}


nav {

    gap:20px;

}


.hero h1 {

    letter-spacing:-2px;

}



.project {

    grid-template-columns:1fr;

    gap:40px;

}



.project-text h2 {

    font-size:40px;

}



.about {

    grid-template-columns:1fr;

}



.about h2 {

    font-size:50px;

}



footer {

    flex-direction:column;

}



footer h2 {

    font-size:32px;

}


}