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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0b0d10;
    color: #f5f5f5;
    line-height: 1.6;
}

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

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}


/* Navbar */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 13, 16, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #20242a;
}

.nav-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #a9adb5;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}


/* Hero */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
}

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

.eyebrow,
.section-label {
    color: #7d8590;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.05;
    letter-spacing: -4px;
    max-width: 900px;
}

h1 span {
    display: block;
    color: #777f8c;
}

.hero-description {
    margin-top: 30px;
    max-width: 650px;
    color: #a9adb5;
    font-size: 18px;
}

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


/* Buttons */

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-primary {
    background: #ffffff;
    color: #0b0d10;
}

.btn-secondary {
    border: 1px solid #353a42;
    color: #ffffff;
}


/* Sections */

.section {
    padding: 110px 0;
}

.section-alt {
    background: #101318;
}

h2 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.section-description {
    max-width: 720px;
    color: #a9adb5;
    font-size: 17px;
    margin-bottom: 18px;
}


/* Skills */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 50px;
}

.skill-card {
    padding: 28px;
    border: 1px solid #252a31;
    border-radius: 10px;
    background: #0b0d10;
}

.skill-card h3 {
    margin-bottom: 10px;
}

.skill-card p {
    color: #8e959f;
}


/* Projects */

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

.project-card {
    min-height: 320px;
    padding: 28px;
    border: 1px solid #252a31;
    border-radius: 10px;
    background: #101318;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #555c67;
}

.project-number {
    color: #68717d;
    font-size: 13px;
    margin-bottom: 45px;
}

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

.project-card p {
    color: #8e959f;
    font-size: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.project-tags span {
    border: 1px solid #30353d;
    padding: 5px 9px;
    border-radius: 5px;
    color: #9da4ad;
    font-size: 12px;
}


/* Contact */

.contact {
    text-align: center;
}

.contact .section-description {
    margin: 0 auto 30px;
}


/* Footer */

footer {
    border-top: 1px solid #20242a;
    padding: 25px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: #737b86;
    font-size: 13px;
}

.footer-content div {
    display: flex;
    gap: 20px;
}


/* Mobile */

@media (max-width: 768px) {

    nav {
        display: none;
    }

    .hero {
        min-height: 75vh;
    }

    h1 {
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .section {
        padding: 80px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}

.project-link {
    display: inline-block;
    margin-top: 28px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.project-link:hover {
    opacity: 0.65;
}

.experience-list {
    margin-top: 50px;
    max-width: 850px;
}

.experience-item {
    padding: 35px 0;
    border-top: 1px solid #252a31;
}

.experience-item:last-child {
    border-bottom: 1px solid #252a31;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.experience-item h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.company {
    color: #8e959f;
    font-size: 15px;
}

.experience-period {
    color: #737b86;
    font-size: 13px;
}

.experience-description {
    margin-top: 20px;
    color: #9da4ad;
    max-width: 700px;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.experience-tags span {
    border: 1px solid #30353d;
    padding: 5px 9px;
    border-radius: 5px;
    color: #9da4ad;
    font-size: 12px;
}