
/* General */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #101114;
    color: #f1f1f1;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
header {
    border-bottom: 1px solid #292a30;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 28px;
    color: #b3b3bd;
    font-size: 14px;
}

    .nav-links a:hover {
        color: #a5b4fc;
    }

/* Hero section */
.hero {
    max-width: 1100px;
    margin: auto;
    padding: 120px 24px 110px;
}

.eyebrow {
    color: #a5b4fc;
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 850px;
}

.intro {
    color: #b3b3bd;
    max-width: 600px;
    margin: 28px 0;
    font-size: 17px;
}

.button {
    display: inline-block;
    background: #a5b4fc;
    color: #101114;
    padding: 13px 20px;
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.2s;
}

    .button:hover {
        transform: translateY(-3px);
    }

/* Projects */
.projects,
.about,
.contact {
    max-width: 1100px;
    margin: auto;
    padding: 70px 24px;
}

h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.section-description,
.about p,
.contact p {
    color: #b3b3bd;
    max-width: 650px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.project-card {
    background: #191a20;
    border: 1px solid #30313a;
    border-radius: 10px;
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
}

    .project-card:hover {
        border-color: #a5b4fc;
        transform: translateY(-4px);
    }

.project-number {
    font-size: 11px;
    color: #a5b4fc;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.project-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.project-card p:not(.project-number) {
    color: #b3b3bd;
    font-size: 14px;
    margin-bottom: 24px;
}

.project-card span {
    font-size: 12px;
    color: #a5b4fc;
}

/* About and contact */
.about {
    border-top: 1px solid #292a30;
    border-bottom: 1px solid #292a30;
}

    .about p {
        margin-top: 16px;
    }

.contact a {
    display: inline-block;
    color: #a5b4fc;
    margin-top: 18px;
}

    .contact a:hover {
        text-decoration: underline;
    }

/* Footer */
footer {
    text-align: center;
    color: #777984;
    padding: 28px;
    border-top: 1px solid #292a30;
    font-size: 13px;
}

/* Mobile layout */
@media (max-width: 750px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 80px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        letter-spacing: -1px;
    }
}
