/* =========================================================
   GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 32px 42px;

    z-index: 100;

    mix-blend-mode: difference;
}

.logo {
    color: white;
    text-decoration: none;

    font-size: 15px;
    font-weight: bold;

    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: white;
    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 2px;

    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.5;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8%;

    overflow: hidden;

    background: #050505;
}

.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.58),
            rgba(0, 0, 0, 0.20)
        );

    z-index: 1;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 900px;
}

.small-text,
.section-label {
    font-size: 15px;

    letter-spacing: 4px;

    color: #999;

    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(90px, 13vw, 200px);

    line-height: 0.82;

    letter-spacing: -8px;

    margin-bottom: 50px;
}

.description {
    max-width: 600px;

    font-size: 21px;

    line-height: 1.6;

    color: #d0d0d0;

    margin-bottom: 40px;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.button {
    display: inline-block;

    padding: 18px 28px;

    border: 1px solid #777;

    color: white;

    text-decoration: none;

    font-size: 13px;

    letter-spacing: 2px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.button:hover {
    background: white;

    color: black;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    padding: 220px 8% 230px;

    background: #111;
}

.about-heading {
    margin-bottom: 150px;
}

.about-heading h2 {
    font-size: clamp(100px, 14vw, 220px);

    line-height: 0.78;

    letter-spacing: -10px;

    margin: 0;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-section {
    display: grid;

    grid-template-columns: 25% 75%;

    border-top: 1px solid #333;

    padding-top: 45px;

    margin-bottom: 130px;
}

.profile-title span {
    font-size: 15px;

    letter-spacing: 4px;

    color: #888;
}

.profile-content {
    max-width: 900px;
}

.profile-content p {
    font-size: 18px;

    line-height: 1.7;

    color: #c8c8c8;

    margin-bottom: 25px;
}

.profile-content .profile-main {
    font-size: 20px;

    line-height: 1.6;

    color: #eeeeee;

    margin-bottom: 35px;
}


/* =========================================================
   ABOUT INFORMATION
========================================================= */

.about-information {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0 100px;

    border-top: 1px solid #333;
}

.about-card {
    padding: 45px 0 55px;

    border-bottom: 1px solid #333;
}

.about-label {
    display: block;

    color: #888;

    font-size: 14px;

    letter-spacing: 4px;

    margin-bottom: 30px;
}


/* =========================================================
   SPECIALITIES / SOFTWARE
========================================================= */

.about-list {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.about-list span {
    font-size: 18px;

    color: #dedede;

    letter-spacing: 0.5px;
}


/* =========================================================
   EDUCATION
========================================================= */

.education-title {
    max-width: 650px;

    font-size: 18px;

    line-height: 1.6;

    color: #dedede;

    margin-bottom: 10px;
}

.education-year {
    display: block;

    font-size: 14px;

    letter-spacing: 2px;

    color: #777;

    margin-bottom: 35px;
}


/* =========================================================
   CURRENTLY
========================================================= */

.currently-card {
    grid-column: 1 / -1;

    border-bottom: none;

    padding-bottom: 0;
}

.currently {
    max-width: 1200px;

    font-size: 24px;

    line-height: 1.8;

    color: #dedede;

    letter-spacing: 1px;
}

.currently span {
    color: #666;

    margin: 0 8px;
}


/* =========================================================
   WORK
========================================================= */

.work {
    padding: 230px 8% 240px;
}

.work-intro {
    margin-bottom: 170px;
}

.work-intro h2 {
    font-size: clamp(100px, 14vw, 220px);

    line-height: 0.78;

    letter-spacing: -10px;

    margin-bottom: 80px;
}

.work-description {
    max-width: 900px;

    color: #c8c8c8;

    font-size: 29px;

    line-height: 1.55;
}


/* =========================================================
   PROJECT
========================================================= */

.project {
    margin-bottom: 230px;
}

.project:last-child {
    margin-bottom: 0;
}

.project-header {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 25px;

    padding: 35px 0 45px;

    border-top: 1px solid #333;
}

.project-number {
    color: #777;

    font-size: 16px;
}

.project-header h3 {
    color: #f2f2f2;

    font-size: 40px;

    font-weight: normal;

    margin-bottom: 18px;
}

.project-header p {
    max-width: 850px;

    color: #aaa;

    font-size: 21px;

    line-height: 1.65;
}


/* =========================================================
   PROJECT IMAGES
========================================================= */

.project-gallery {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin-bottom: 80px;
}

.project-gallery img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: cover;

    transition: opacity 0.3s ease;
}

.project-gallery img:hover {
    opacity: 0.85;
}


/* =========================================================
   PROJECT VIDEOS
========================================================= */

.project-video {
    width: 100%;

    margin-bottom: 80px;
}

.media-label {
    font-size: 14px;

    letter-spacing: 3px;

    color: #888;

    margin-bottom: 18px;
}

.project-video video {
    display: block;

    width: 100%;

    height: auto;

    background: #111;

    cursor: pointer;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    padding: 230px 8% 200px;

    background: #111;
}

.contact h2 {
    font-size: clamp(100px, 14vw, 220px);

    line-height: 0.78;

    letter-spacing: -10px;

    margin-bottom: 90px;
}

.contact-description {
    max-width: 800px;

    color: #c8c8c8;

    font-size: 28px;

    line-height: 1.6;

    margin-bottom: 60px;
}

.contact-email {
    margin-bottom: 60px;
}

.email {
    color: white;

    font-size: 29px;

    text-decoration: none;

    border-bottom: 1px solid #777;

    padding-bottom: 10px;

    transition: opacity 0.3s ease;
}

.email:hover {
    opacity: 0.6;
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
    display: flex;

    gap: 30px;

    flex-wrap: wrap;
}

.social-links a {
    color: white;

    text-decoration: none;

    font-size: 15px;

    letter-spacing: 3px;

    border-bottom: 1px solid #777;

    padding-bottom: 7px;

    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.5;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    display: flex;

    justify-content: space-between;

    padding: 40px 8%;

    border-top: 1px solid #222;

    color: #666;

    font-size: 12px;

    letter-spacing: 2px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 22px 20px;
    }

    nav {
        gap: 14px;
    }

    nav a {
        font-size: 10px;
    }


    .hero {
        padding: 100px 25px;
    }

    .hero h1 {
        font-size: 80px;

        letter-spacing: -4px;
    }

    .description {
        font-size: 18px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .about,
    .work,
    .contact {
        padding: 130px 25px;
    }


    .about-heading,
    .work-intro {
        margin-bottom: 100px;
    }


    .about-heading h2,
    .work-intro h2,
    .contact h2 {
        font-size: 75px;

        letter-spacing: -5px;
    }


    .profile-section {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-bottom: 100px;
    }


    .profile-content .profile-main {
        font-size: 19px;
    }


    .profile-content p {
        font-size: 18px;
    }


    .about-information {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .currently-card {
        grid-column: auto;
    }


    .about-list span,
    .education-title {
        font-size: 18px;
    }


    .currently {
        font-size: 20px;
    }


    .work-description {
        font-size: 21px;
    }


    .project {
        margin-bottom: 150px;
    }


    .project-header {
        grid-template-columns: 40px 1fr;

        gap: 15px;
    }


    .project-header h3 {
        font-size: 25px;
    }


    .project-header p {
        font-size: 18px;
    }


    .project-gallery {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .contact-description {
        font-size: 21px;
    }


    .email {
        font-size: 20px;
    }


    footer {
        padding: 30px 25px;

        flex-direction: column;

        gap: 10px;
    }

}