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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: white;

    /* Full-screen background */
    background-image: url("images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    background-color: #111;
}


/* Dark overlay over the background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}


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

header {
    width: 100%;
    padding: 25px 7%;
    position: relative;
    z-index: 10;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 4px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover {
    color: #bdbdbd;
}


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

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 10%;
}

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

.subtitle {
    font-size: 13px;
    letter-spacing: 4px;
    color: #cccccc;
    margin-bottom: 20px;
}

h1 {
    font-size: 64px;
    line-height: 1.05;
    margin: 0 0 25px 0;
    font-weight: 600;
}

.hero-content p:not(.subtitle) {
    max-width: 550px;
    font-size: 18px;
    line-height: 1.7;
    color: #dddddd;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.button:hover {
    background: white;
    color: black;
}


/* =========================
   INNER PAGES
   ========================= */

.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
}

.about-section,
.portfolio-section {
    background: rgba(0, 0, 0, 0.55);
    padding: 50px;
}

.page-content h1 {
    font-size: 52px;
}

.page-content h2 {
    margin-top: 50px;
    font-size: 30px;
}

.page-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #dddddd;
    max-width: 800px;
}


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

.skills {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.skills div {
    flex: 1;
    border-top: 1px solid #777;
    padding-top: 20px;
}

.skills h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.skills p {
    font-size: 15px;
}


/* =========================
   PORTFOLIO
   ========================= */

.projects {
    margin-top: 40px;
}

.project {
    display: flex;
    gap: 35px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #555;
}

.project-image {
    width: 45%;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-info {
    flex: 1;
}

.project-info h2 {
    margin-top: 0;
    font-size: 28px;
}


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

footer {
    text-align: center;
    padding: 30px;
    color: #aaaaaa;
    font-size: 13px;
}


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

@media (max-width: 700px) {

    header {
        padding: 20px;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 15px;
    }

    .hero {
        padding: 50px 25px;
    }

    h1 {
        font-size: 44px;
    }

    .page-content {
        padding: 40px 20px;
    }

    .about-section,
    .portfolio-section {
        padding: 30px;
    }

    .page-content h1 {
        font-size: 40px;
    }

    .skills {
        flex-direction: column;
    }

    .project {
        flex-direction: column;
    }

    .project-image {
        width: 100%;
    }

    .project-image img {
        height: 200px;
    }
}@charset "UTF-8";
/* CSS Document */

