/* -------------------------
   General
------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0d10;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    scroll-margin-top: 90px;
}


/* -------------------------
   Navigation
------------------------- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 8%;

    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #20242a;

    z-index: 1000;
}

.logo {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #a7adb5;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}


/* -------------------------
   Hero
------------------------- */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8% 80px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(80, 130, 255, 0.12),
            transparent 35%
        );
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    color: #7da2ff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(50px, 8vw, 100px);
    line-height: 1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #7da2ff;
}

.subtitle {
    font-size: 22px;
    color: #d0d4da;
    margin-bottom: 15px;
}

.description {
    max-width: 650px;
    color: #8e959e;
    font-size: 17px;
}

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 13px 25px;

    border-radius: 5px;

    font-size: 14px;
    font-weight: bold;

    transition: 0.3s;
}

.primary {
    background: #7da2ff;
    color: #08101f;
}

.primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.secondary {
    border: 1px solid #30353d;
    color: #d9dde3;
}

.secondary:hover {
    border-color: #7da2ff;
    color: #7da2ff;
}


/* -------------------------
   Sections
------------------------- */

.section {
    padding: 120px 8%;
    max-width: 1400px;
    margin: auto;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 70px;
}

.section-title p {
    color: #7da2ff;
    font-family: monospace;
}

.section-title h2 {
    font-size: 40px;
}


/* -------------------------
   About
------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about-grid h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-grid p {
    color: #969da6;
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat {
    padding: 30px;
    border: 1px solid #242930;
    border-radius: 8px;

    transition: 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: #7da2ff;
}

.stat strong {
    display: block;
    font-size: 35px;
    color: #7da2ff;
}

.stat span {
    color: #969da6;
}


/* -------------------------
   Projects
------------------------- */

.projects-section {
    max-width: none;
    background: #0e1115;
}

.projects-section > * {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    padding: 35px;

    border: 1px solid #252a31;
    border-radius: 8px;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: #7da2ff;
}

.project-number {
    color: #7da2ff;
    font-family: monospace;
    margin-bottom: 25px;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.project-card p {
    color: #8f969f;
    margin-bottom: 25px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.tags span {
    padding: 5px 10px;

    background: #181c21;
    border-radius: 4px;

    color: #9ca4ad;
    font-size: 12px;
}

.project-link {
    color: #7da2ff;
    font-size: 14px;
}


/* -------------------------
   Experience
------------------------- */

.timeline {
    max-width: 900px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;

    padding: 35px 0;

    border-top: 1px solid #242930;
}

.timeline-item > span {
    color: #7da2ff;
    font-family: monospace;
}

.timeline-item h3 {
    font-size: 22px;
}

.timeline-item h4 {
    color: #8d949d;
    font-weight: normal;
    margin-bottom: 12px;
}

.timeline-item p {
    color: #8d949d;
}


/* -------------------------
   Contact
------------------------- */

.contact {
    text-align: center;
    padding-top: 150px;
    padding-bottom: 150px;
}

.contact h2 {
    font-size: clamp(45px, 7vw, 80px);
    margin-bottom: 20px;
}

.contact > p:not(.eyebrow) {
    color: #8d949d;
    margin-bottom: 35px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 25px;

    margin-top: 40px;
}

.socials a {
    color: #8d949d;
    transition: 0.3s;
}

.socials a:hover {
    color: #7da2ff;
}


/* -------------------------
   Footer
------------------------- */

footer {
    padding: 30px 8%;

    border-top: 1px solid #20242a;

    text-align: center;

    color: #686f78;
    font-size: 12px;
}


/* -------------------------
   Mobile
------------------------- */

@media (max-width: 800px) {

    nav {
        padding: 0 5%;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section {
        padding: 90px 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .buttons {
        flex-wrap: wrap;
    }
}
