/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   BASIC SETTINGS
========================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0b0f;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid #222229;
}

.nav-container {
    max-width: 1100px;
    margin: auto;

    height: 75px;

    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #a5a5ad;
    font-size: 14px;

    transition: 0.3s;
}

nav a:hover {
    color: #ffffff;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 75px);

    max-width: 1100px;
    margin: auto;

    padding: 120px 25px;

    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.small-text {
    color: #8b8b96;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(55px, 9vw, 110px);

    line-height: 0.95;

    letter-spacing: -5px;

    margin-bottom: 35px;
}

.hero-description {
    max-width: 650px;

    color: #a5a5ad;

    font-size: 20px;

    line-height: 1.7;

    margin-bottom: 40px;
}


/* =========================================
   BUTTONS
========================================= */

.hero-buttons {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}

.button {
    display: inline-block;

    padding: 14px 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.primary {
    background: #ffffff;
    color: #0b0b0f;
}

.primary:hover {
    transform: translateY(-3px);
    background: #dddddd;
}

.secondary {
    border: 1px solid #33333d;
    color: #ffffff;
}

.secondary:hover {
    background: #18181f;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    max-width: 1100px;

    margin: auto;

    padding: 120px 25px;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading h2 {
    max-width: 700px;

    font-size: clamp(35px, 5vw, 60px);

    line-height: 1.05;

    letter-spacing: -2px;
}


/* =========================================
   ABOUT
========================================= */

.about-content {
    max-width: 750px;
}

.about-content p {
    color: #a5a5ad;

    font-size: 20px;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* =========================================
   ARTICLE CARDS
========================================= */

.cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.card {
    min-height: 320px;

    padding: 30px;

    border: 1px solid #25252e;

    border-radius: 12px;

    background: #111116;

    display: flex;
    flex-direction: column;

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-7px);

    border-color: #44444f;
}

.card-date {
    color: #777782;

    font-size: 12px;

    margin-bottom: 30px;
}

.card h3 {
    font-size: 25px;

    line-height: 1.2;

    margin-bottom: 15px;
}

.card > p:not(.card-date) {
    color: #9999a3;

    font-size: 15px;

    line-height: 1.7;
}

.read-more {
    margin-top: auto;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   PROJECTS
========================================= */

.projects {
    border-top: 1px solid #25252e;
}

.project {
    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 30px;

    padding: 45px 0;

    border-bottom: 1px solid #25252e;
}

.project-number {
    color: #666671;

    font-size: 14px;
}

.project h3 {
    font-size: 30px;

    margin-bottom: 10px;
}

.project p {
    max-width: 600px;

    color: #9999a3;

    margin-bottom: 15px;
}

.project span {
    display: inline-block;

    padding: 6px 10px;

    border: 1px solid #33333d;

    border-radius: 5px;

    color: #888893;

    font-size: 11px;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    max-width: 1100px;

    margin: 80px auto 0;

    padding: 120px 25px;

    border-top: 1px solid #25252e;
}

.contact h2 {
    font-size: clamp(45px, 7vw, 85px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 20px;
}

.contact > p:not(.small-text) {
    color: #9999a3;

    font-size: 18px;

    margin-bottom: 30px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    max-width: 1100px;

    margin: auto;

    padding: 30px 25px;

    border-top: 1px solid #25252e;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #666671;

    font-size: 12px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .nav-container {
        height: 65px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        min-height: auto;

        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 60px;

        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 17px;
    }

    .section {
        padding: 80px 20px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 280px;
    }

    .project {
        grid-template-columns: 50px 1fr;

        gap: 15px;
    }

    .project h3 {
        font-size: 24px;
    }

    .contact {
        padding: 80px 20px;
    }

    .contact h2 {
        letter-spacing: -2px;
    }

    footer {
        flex-direction: column;
    }
}