
/* ------------------------------
   RESET
-------------------------------- */

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

html {
    scroll-behavior: smooth;
}

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

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


/* ------------------------------
   NAVIGATION
-------------------------------- */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #222;
}

.nav-container {
    max-width: 1150px;
    margin: auto;

    padding: 20px 30px;

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

.logo {
    font-size: 24px;
    font-weight: 700;
}

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

.nav-links a {
    color: #aaa;
    transition: 0.2s;
}

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


/* ------------------------------
   HERO
-------------------------------- */

.hero {
    max-width: 1150px;
    min-height: 100vh;

    margin: auto;
    padding: 150px 30px 80px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-intro {
    color: #888;
    font-size: 18px;
    margin-bottom: 5px;
}

.hero h1 {
    font-size: clamp(50px, 7vw, 85px);
    line-height: 1;
    letter-spacing: -3px;
}

.hero h2 {
    margin-top: 15px;

    font-size: 30px;
    font-weight: 400;

    color: #aaa;
}

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

    margin-top: 25px;

    color: #999;
    font-size: 18px;
}

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

    margin-top: 35px;
}

.btn {
    display: inline-block;

    padding: 13px 22px;

    border-radius: 6px;

    font-weight: 600;

    transition: 0.2s;
}

.primary-btn {
    background: white;
    color: black;
}

.primary-btn:hover {
    transform: translateY(-2px);
    background: #ddd;
}

.secondary-btn {
    border: 1px solid #444;
    color: white;
}

.secondary-btn:hover {
    background: #191919;
}

.social-links {
    display: flex;
    gap: 20px;

    margin-top: 35px;

    color: #888;
}

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


/* HERO IMAGE */

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;

    border-radius: 12px;

    opacity: 0.8;

    filter: grayscale(20%);

    border: 1px solid #292929;
}


/* ------------------------------
   SECTIONS
-------------------------------- */

.section {
    padding: 120px 30px;
}

.section-container {
    max-width: 1050px;
    margin: auto;
}

.section-label {
    color: #777;

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

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.section h2 {
    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.1;

    max-width: 700px;

    margin-bottom: 35px;
}


/* ------------------------------
   ABOUT
-------------------------------- */

.about-text {
    max-width: 750px;

    color: #999;

    font-size: 18px;
}

.about-cards {
    margin-top: 60px;

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

    gap: 20px;
}

.info-card {
    padding: 30px;

    border: 1px solid #252525;

    border-radius: 8px;

    background: #101014;
}

.info-card span {
    color: #555;

    font-size: 14px;
}

.info-card h3 {
    margin: 20px 0 10px;

    font-size: 21px;
}

.info-card p {
    color: #888;
}


/* ------------------------------
   SKILLS
-------------------------------- */

.skills-section {
    background: #101014;
}

.skills-grid {
    display: grid;

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

    gap: 12px;
}

.skill {
    padding: 18px;

    border: 1px solid #292929;

    border-radius: 6px;

    text-align: center;

    color: #aaa;

    background: #0b0b0f;

    transition: 0.2s;
}

.skill:hover {
    color: white;

    border-color: #555;

    transform: translateY(-2px);
}


/* ------------------------------
   PROJECTS
-------------------------------- */

.projects-grid {
    display: grid;

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

    gap: 25px;
}

.project-card {
    padding: 35px;

    background: #101014;

    border: 1px solid #292929;

    border-radius: 8px;

    transition: 0.25s;
}

.project-card:hover {
    transform: translateY(-5px);

    border-color: #555;
}

.project-number {
    color: #555;

    font-size: 14px;

    margin-bottom: 30px;
}

.project-card h3 {
    font-size: 27px;

    margin-bottom: 15px;
}

.project-card p {
    color: #888;

    margin-bottom: 25px;
}

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

    gap: 8px;

    margin-bottom: 30px;
}

.project-tech span {
    padding: 5px 10px;

    border-radius: 4px;

    background: #1b1b20;

    color: #999;

    font-size: 13px;
}

.project-card > a {
    color: white;

    font-weight: 600;
}


/* ------------------------------
   CONTACT
-------------------------------- */

.contact-section {
    padding: 150px 30px;

    text-align: center;

    border-top: 1px solid #222;
}

.contact-container {
    max-width: 700px;

    margin: auto;
}

.contact-section h2 {
    font-size: clamp(40px, 7vw, 70px);

    margin-bottom: 20px;
}

.contact-section p:not(.section-label) {
    color: #888;

    margin-bottom: 35px;
}


/* ------------------------------
   FOOTER
-------------------------------- */

footer {
    padding: 30px;

    border-top: 1px solid #222;

    display: flex;
    justify-content: space-between;

    max-width: 1150px;

    margin: auto;

    color: #666;
}

footer a {
    color: #999;
}

footer a:hover {
    color: white;
}


/* ------------------------------
   MOBILE
-------------------------------- */

@media (max-width: 800px) {

    .nav-links {
        display: none;
    }

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

        padding-top: 130px;

        gap: 50px;
    }

    .hero-image {
        order: -1;
    }

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

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

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

    footer {
        flex-direction: column;

        gap: 10px;

        text-align: center;
    }

}

