* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1f1f1f;
    color: #f2f2f2;
    line-height: 1.6;
}

/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 50px;

    background-color: #111;
    border-bottom: 1px solid #333;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d8a35d;
}

nav a {
    color: #eee;
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
}

nav a:hover {
    color: #d8a35d;
}

/* HERO */

.hero {
    height: 90vh;

    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    background-color: rgba(0,0,0,0.55);

    padding: 50px;
    text-align: center;
    border-radius: 10px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.button {
    display: inline-block;

    background-color: #d8a35d;
    color: #111;

    padding: 14px 28px;
    text-decoration: none;
    font-weight: bold;

    border-radius: 5px;

    transition: 0.3s;
}

.button:hover {
    background-color: #f0bb73;
}

/* PROJECTS */

.projects {
    padding: 80px 50px;
}

.projects h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
}

.project-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

.card {
    background-color: #2c2c2c;

    border-radius: 10px;
    overflow: hidden;

    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card h3 {
    padding: 20px 20px 10px;
    color: #d8a35d;
}

.card p {
    padding: 0 20px 20px;
}

/* ABOUT */

.about {
    padding: 80px 50px;
    background-color: #181818;
}

.about h2 {
    margin-bottom: 20px;
    font-size: 40px;
}

.about-text {
    max-width: 800px;
    margin: auto;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 30px;
    background-color: #111;
    border-top: 1px solid #333;
}

/* MOBILE */

@media (max-width: 768px) {

    header {
        flex-direction: column;
    }

    nav {
        margin-top: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

}