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

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

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
    line-height: 1.6;
}

a {
    text-decoration: none;
}


/* ================= HEADER ================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #111827;
}

nav {
    max-width: 1100px;
    margin: auto;
    padding: 18px 20px;

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

nav h2 {
    color: #38bdf8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul a {
    color: white;
    font-weight: bold;
}

nav ul a:hover {
    color: #38bdf8;
}


/* Menu Button */

#menuBtn {
    display: none;

    background: none;
    border: none;

    color: white;
    font-size: 25px;

    cursor: pointer;
}


/* ================= HOME ================= */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.welcome {
    color: #38bdf8;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: 55px;

    margin-bottom: 15px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero h2 {
    color: #cbd5e1;

    margin-bottom: 20px;
}

.hero p {
    color: #cbd5e1;
}


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

.buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;

    padding: 12px 25px;

    margin: 5px;

    border-radius: 25px;

    background: #38bdf8;

    color: #0f172a;

    font-weight: bold;

    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;

    border: 2px solid #38bdf8;

    color: #38bdf8;
}


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

section {
    max-width: 1100px;

    margin: auto;

    padding: 80px 20px;
}

.section-title {
    text-align: center;

    font-size: 35px;

    color: #38bdf8;

    margin-bottom: 40px;
}


/* ================= ABOUT ================= */

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

    margin: auto;

    padding: 35px;

    text-align: center;

    background: #1e293b;

    border-radius: 15px;
}

.about-icon {
    font-size: 45px;

    color: #38bdf8;

    margin-bottom: 15px;
}

.about-box h3 {
    font-size: 25px;

    margin-bottom: 15px;
}

.about-box p {
    color: #cbd5e1;

    margin-bottom: 15px;
}


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

.skills-container {
    display: grid;

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

    gap: 20px;
}

.skill-card {
    background: #1e293b;

    padding: 30px 20px;

    text-align: center;

    border-radius: 15px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);
}

.skill-icon {
    font-size: 50px;

    color: #38bdf8;

    margin-bottom: 15px;
}

.skill-card h3 {
    color: #38bdf8;

    margin-bottom: 10px;
}

.skill-card p {
    color: #cbd5e1;
}


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

.projects-container {
    display: grid;

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

    gap: 25px;
}

.project-card {
    background: #1e293b;

    padding: 35px;

    border-radius: 15px;

    transition: 0.3s;
}

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

.project-icon {
    font-size: 45px;

    color: #38bdf8;

    margin-bottom: 15px;
}

.project-card h3 {
    color: #38bdf8;

    font-size: 25px;

    margin-bottom: 15px;
}

.project-card p {
    color: #cbd5e1;

    margin-bottom: 20px;
}

.project-card span {
    display: inline-block;

    background: #38bdf8;

    color: #0f172a;

    padding: 5px 12px;

    border-radius: 15px;

    margin-right: 5px;

    font-size: 13px;
}


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

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

    margin: auto;

    padding: 35px;

    background: #1e293b;

    border-radius: 15px;

    text-align: center;
}

.contact-box p {
    color: #cbd5e1;

    margin: 15px;
}

.contact-box p a {
    color: #38bdf8;
}

.contact-icon {
    color: #38bdf8;

    margin-right: 8px;
}

.social-title {
    margin-top: 25px;

    margin-bottom: 15px;
}


/* ================= SOCIAL LINKS ================= */

.social-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}

.social-links a {
    padding: 10px 16px;

    border: 1px solid #38bdf8;

    border-radius: 25px;

    color: white;

    transition: 0.3s;
}

.social-links a i {
    margin-right: 7px;

    font-size: 18px;
}

.social-links a:hover {
    background: #38bdf8;

    color: #0f172a;

    transform: translateY(-3px);
}


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

footer {
    background: #111827;

    text-align: center;

    padding: 25px;

    color: #94a3b8;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    #menuBtn {
        display: block;
    }

    nav ul {
        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        background: #111827;

        flex-direction: column;

        text-align: center;

        padding: 20px;
    }

    nav ul.show {
        display: flex;
    }

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

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

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


/* ================= SMALL PHONE ================= */

@media (max-width: 500px) {

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

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

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

    .section-title {
        font-size: 30px;
    }

}