/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

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

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

img {
    display: block;
    width: 100%;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --background: #0a0a0a;
    --surface: #111111;
    --surface-light: #171717;

    --text: #f2f2f2;
    --muted: #8a8a8a;

    --border: rgba(255, 255, 255, 0.1);

    --accent: #ffffff;

    --container: 1180px;
}


/* =========================================================
   GENERAL
========================================================= */

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 140px 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 70px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.2em;
}

.section-label span {
    color: #fff;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 10;
}

.nav-container {
    height: 90px;

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

.logo {
    font-size: 18px;
    font-weight: 800;

    letter-spacing: -0.03em;
}

.logo span {
    opacity: 0.4;
}

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

.nav-links a {
    color: var(--muted);

    font-size: 13px;
    font-weight: 500;

    transition: color 0.2s ease;
}

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


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #0a0a0a 0%,
            #0a0a0a 55%,
            #111111 100%
        );

    z-index: -1;
}

.hero-content {
    padding-top: 50px;
}

.eyebrow {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.25em;
}

.hero h1 {
    max-width: 900px;

    font-size: clamp(60px, 8vw, 110px);

    line-height: 0.95;

    letter-spacing: -0.06em;
}

.hero h1 span {
    color: #777;
}

.hero-description {
    max-width: 540px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 40px;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border: 1px solid var(--border);

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border 0.2s ease;
}

.button-primary {
    background: white;
    color: black;
    border-color: white;
}

.button-primary:hover {
    background: #dcdcdc;
}

.button-secondary {
    background: transparent;
    color: white;
}

.button-secondary:hover {
    background: white;
    color: black;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    bottom: 40px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: #555;

    font-size: 9px;
    letter-spacing: 0.2em;
}

.scroll-indicator div {
    width: 1px;
    height: 40px;

    background: #444;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.about-grid h2 {
    font-size: clamp(40px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -0.05em;
}

.about-grid h2 span {
    color: #555;
}

.about-text {
    max-width: 500px;
}

.about-text p {
    margin-bottom: 24px;

    color: var(--muted);

    font-size: 17px;
}


/* =========================================================
   PROJECT
========================================================= */

.projects-section {
    background: #0d0d0d;
}

.project-card {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    background: var(--surface);

    border: 1px solid var(--border);
}

.project-image {
    position: relative;

    min-height: 500px;

    overflow: hidden;

    background: #161616;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

.project-overlay {
    position: absolute;

    left: 25px;
    bottom: 25px;

    display: flex;
    gap: 8px;
}

.project-overlay span {
    padding: 7px 10px;

    background: rgba(0, 0, 0, 0.7);

    border: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 9px;

    letter-spacing: 0.15em;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 60px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-number {
    color: #666;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.2em;
}

.project-content h3 {
    margin-top: 10px;

    font-size: 42px;

    letter-spacing: -0.04em;
}

.project-year {
    color: #555;

    font-size: 12px;
}

.project-description {
    max-width: 430px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;
}

.project-tags span {
    padding: 7px 11px;

    border: 1px solid var(--border);

    color: #aaa;

    font-size: 11px;
}

.project-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 35px;
}


/* =========================================================
   TECHNICAL HIGHLIGHTS
========================================================= */

.technical-section {
    margin-top: 120px;
}

.technical-title {
    margin-bottom: 40px;
}

.technical-title h3 {
    margin-top: 10px;

    font-size: 42px;

    letter-spacing: -0.04em;
}

.technical-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.technical-card {
    min-height: 240px;

    padding: 35px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: background 0.2s ease;
}

.technical-card:hover {
    background: var(--surface-light);
}

.technical-number {
    color: #555;

    font-size: 11px;
}

.technical-card h4 {
    margin-top: 45px;

    font-size: 20px;
}

.technical-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
}

.skill-category {
    padding: 35px 25px;

    border-right: 1px solid var(--border);
}

.skill-category:first-child {
    border-left: 1px solid var(--border);
}

.skill-label {
    color: #666;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.2em;
}

.skill-category h3 {
    margin-top: 30px;

    font-size: 28px;

    letter-spacing: -0.03em;
}

.skill-category p:last-child {
    margin-top: 15px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 160px 0;

    background: #111;
}

.contact-container h2 {
    max-width: 900px;

    font-size: clamp(55px, 8vw, 100px);

    line-height: 0.95;

    letter-spacing: -0.06em;
}

.contact-container h2 span {
    color: #555;
}

.contact-container > p {
    max-width: 500px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 17px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;

    gap: 30px;

    margin-top: 45px;
}

.contact-links a {
    padding-bottom: 5px;

    border-bottom: 1px solid #555;

    font-size: 14px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.contact-links a:hover {
    color: #aaa;
    border-color: #aaa;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0a0a0a;
}

.footer-container {
    display: flex;
    justify-content: space-between;

    padding: 30px 0;

    color: #555;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .section {
        padding: 100px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 400px;
    }

    .technical-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .container {
        width: min(
            var(--container),
            calc(100% - 30px)
        );
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .project-image {
        min-height: 280px;
    }

    .project-content {
        padding: 30px;
    }

    .project-content h3 {
        font-size: 32px;
    }

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

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

    .skill-category {
        border-left: 1px solid var(--border);
    }

    .contact-section {
        padding: 100px 0;
    }

    .footer-container {
        flex-direction: column;

        gap: 10px;
    }

}
