/* ========================================
   BASIC SETTINGS
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;

    background: #0b0f19;

    color: white;

    line-height: 1.6;
}


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

header {
    width: 100%;

    position: fixed;

    top: 0;
    left: 0;

    background: #0b0f19;

    z-index: 1000;

    border-bottom: 1px solid #222;
}

nav {
    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px;
}

nav h2 {
    font-size: 22px;
}

.nav-links {
    display: flex;

    gap: 25px;
}

.nav-links a {
    color: white;

    text-decoration: none;
}

.nav-links a:hover {
    color: #00d9ff;
}


/* ========================================
   MOBILE MENU BUTTON
======================================== */

.menu-button {
    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 30px;

    cursor: pointer;
}


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

section {
    max-width: 1100px;

    margin: auto;

    padding: 100px 20px;
}

section h2 {
    font-size: 32px;

    margin-bottom: 20px;
}


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

.hero {
    min-height: 100vh;

    display: flex;

    flex-direction: row;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}

.hero-content {
    flex: 1;
}

.small-title {
    color: #00d9ff;

    font-weight: bold;

    letter-spacing: 3px;
}

.hero h1 {
    font-size: 80px;

    margin: 10px 0;
}

.hero h2 {
    font-size: 30px;

    color: #aaa;
}

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

    font-size: 18px;

    color: #aaa;

    margin: 15px 0;
}


/* ========================================
   PROFILE
======================================== */

.profile-circle {
    width: 280px;

    height: 280px;

    border-radius: 50%;

    overflow: hidden;

    border: 2px solid #00d9ff;

    box-shadow:
        0 0 30px rgba(0, 217, 255, 0.25);

    flex-shrink: 0;
}

.profile-circle img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


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

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 20px;
}

.hero-buttons a {
    text-decoration: none;

    color: white;

    padding: 12px 22px;

    border: 1px solid #00d9ff;

    border-radius: 8px;
}

.hero-buttons a:hover {
    background: #00d9ff;

    color: black;
}


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

.skills-container {
    display: grid;

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

    gap: 15px;
}

.skill {
    padding: 25px;

    background: #121827;

    border: 1px solid #222;

    border-radius: 12px;

    text-align: center;

    transition: 0.3s;
}

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

    border-color: #00d9ff;
}

.skill h3 {
    margin-bottom: 8px;
}

.skill p {
    color: #888;
}


/* ========================================
   PROJECTS
======================================== */

.section-description {
    color: #888;

    max-width: 650px;

    margin-bottom: 35px;
}

.projects-container {
    display: grid;

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

    gap: 20px;
}

.project {
    position: relative;

    padding: 30px;

    background: #121827;

    border: 1px solid #222;

    border-radius: 15px;

    transition: 0.3s;
}

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

    border-color: #00d9ff;

    box-shadow:
        0 10px 30px rgba(0, 217, 255, 0.08);
}

.project-number {
    color: #00d9ff;

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 20px;
}

.project h3 {
    font-size: 22px;

    margin-bottom: 12px;
}

.project p {
    color: #999;

    margin-bottom: 20px;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}

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

    background: #0b0f19;

    border: 1px solid #292f3d;

    border-radius: 20px;

    font-size: 12px;

    color: #aaa;
}

.project-link {
    color: #00d9ff;

    text-decoration: none;

    font-weight: bold;
}

.project-link:hover {
    text-decoration: underline;
}


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

.contact-description {
    max-width: 600px;

    color: #999;

    margin-bottom: 35px;

    font-size: 18px;
}

.contact-container {
    display: grid;

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

    gap: 20px;
}

.contact-card {
    padding: 25px;

    background: #121827;

    border: 1px solid #222;

    border-radius: 12px;

    transition: 0.3s;
}

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

    border-color: #00d9ff;
}

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

.contact-card p {
    color: #888;

    margin-bottom: 15px;
}

.contact-card a {
    color: #00d9ff;

    text-decoration: none;

    word-break: break-word;
}

.contact-card a:hover {
    text-decoration: underline;
}


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

footer {
    text-align: center;

    padding: 30px;

    border-top: 1px solid #222;

    color: #777;
}


/* ========================================
   MOBILE RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {

    /* NAVIGATION */

    nav {
        position: relative;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        flex-direction: column;

        gap: 0;

        background: #0b0f19;

        border-top: 1px solid #222;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;

        padding: 15px 20px;

        border-bottom: 1px solid #222;
    }


    /* HERO */

    .hero {
        flex-direction: column;

        justify-content: center;

        text-align: center;
    }

    .hero-content {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

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

    .hero h2 {
        font-size: 22px;
    }

    .profile-circle {
        width: 200px;

        height: 200px;
    }


    /* SKILLS */

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


    /* PROJECTS */

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


    /* CONTACT */

    .contact-container {
        grid-template-columns: 1fr;
    }

}