* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0f19;
    color: white;
    line-height: 1.6;
}


/* ================= NAVBAR ================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0b0f19;
    border-bottom: 1px solid #252b3a;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 18px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
}

.logo span,
footer span {
    color: #00d9ff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover {
    color: #00d9ff;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
}


/* ================= HERO ================= */

.hero {
    min-height: 90vh;
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.welcome {
    color: #00d9ff;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 55px;
    line-height: 1.1;
    margin: 15px 0;
}

.hero h2 span {
    color: #00d9ff;
}

.hero-text {
    color: #aeb5c5;
    font-size: 18px;
    max-width: 550px;
}

.hero-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background: #00d9ff;
    color: #061018;
    text-decoration: none;
    padding: 13px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.outline {
    background: transparent;
    border: 1px solid #00d9ff;
    color: #00d9ff;
}


/* CODE WINDOW */

.hero-card {
    display: flex;
    justify-content: center;
}

.code-window {
    background: #151b29;
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.dots {
    color: #00d9ff;
    margin-bottom: 20px;
}

.code-window pre {
    color: #aeb5c5;
    overflow-x: auto;
}


/* ================= SECTION ================= */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 90px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title p {
    color: #00d9ff;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 38px;
    margin-top: 8px;
}


/* ================= ABOUT ================= */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: #151b29;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 100px;

    border: 3px solid #00d9ff;
}

.about-text h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.about-text p {
    color: #aeb5c5;
    margin-bottom: 15px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skills span {
    background: #151b29;
    padding: 8px 14px;
    border-radius: 20px;
    color: #00d9ff;
}


/* ================= SERVICES ================= */

.services-section {
    background: #101522;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #151b29;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #aeb5c5;
}


/* ================= PROJECTS ================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #151b29;
    border-radius: 12px;
    overflow: hidden;
}

.project-image {
    height: 190px;

    background: #20283a;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 70px;
}

.project-content {
    padding: 22px;
}

.project-content p {
    color: #aeb5c5;
    margin: 10px 0;
}

.project-links a {
    color: #00d9ff;
    text-decoration: none;
    font-weight: bold;
}


/* ================= CONTACT ================= */

.contact-section {
    background: #101522;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.contact-info > p {
    color: #aeb5c5;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.contact-item p {
    color: #aeb5c5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;

    background: #151b29;
    border: 1px solid #30394d;

    color: white;
    border-radius: 8px;

    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00d9ff;
}


/* ================= FOOTER ================= */

footer {
    text-align: center;
    padding: 50px 20px;
    background: #070a11;
}

footer p {
    color: #aeb5c5;
}

.socials {
    margin: 20px 0;
}

.socials a {
    color: #00d9ff;
    text-decoration: none;
    margin: 0 8px;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;

        background: #151b29;

        flex-direction: column;
        padding: 20px;

        border-radius: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: auto;
    }

    .hero h2 {
        font-size: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .skills {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 35px;
    }

    .profile-placeholder {
        width: 220px;
        height: 220px;
    }

}