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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #fff5f7;
}


header {
    width: 100%;
    background: #fb6853;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    min-height: 100px;

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

    padding: 20px 30px;
}

.logo {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;

    transition: 0.2s;
}

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

.menu-button {
    display: none;

    background: #eebbd0;
    color: #fb6853;

    border: 2px solid white;

    padding: 10px 14px;

    border-radius: 10px;

    cursor: pointer;
}


.hero {
    width: 100%;
    max-width: none;

    min-height: 470px;

    padding: 70px;

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

    background:
        radial-gradient(
            circle at top,
            #ffd9df,
            #fff5f7 60%
        );
}

.hero-text {
    width: 45%;
}

.hero-text h1 {
    font-size: 55px;
    color: #fb6853;

    margin-bottom: 20px;
}

.hero-text p {
    color: #fb6853;

    line-height: 1.6;

    margin-bottom: 30px;
}



.pixel-button {
    display: inline-block;

    background: #fb6853;

    color: white;

    border: 3px solid white;

    padding: 12px 25px;

    border-radius: 5px;

    font-weight: bold;

    text-decoration: none;

    cursor: pointer;

    box-shadow: 3px 3px 0 #eaa7bd;

    transition: 0.2s;
}

.pixel-button:hover {
    transform: translateY(-3px);

    box-shadow: 5px 5px 0 #d58ca9;
}


.hero-image {
    width: 45%;

    display: flex;

    justify-content: center;

    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;

    height: auto;

    display: block;

    cursor: pointer;

    transition: transform 0.2s;
}

#catImage:active {
    transform: scale(0.95);
}


.cards {
    width: 100%;
    max-width: 1100px;

    margin: 50px auto;

    display: grid;

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

    gap: 25px;

    padding: 0 20px;
}

.card {
    text-decoration: none;
    color: inherit;

    display: block;

    min-height: 300px;

    background: #ffd9df;

    border-radius: 18px;

    padding: 25px 20px;

    text-align: center;

    box-shadow: 8px 10px 0 #c94d3e;

    transition: 0.2s;
}

.card:hover {
    transform: translate(-3px, -5px);

    box-shadow: 12px 15px 0 #fb6853;

    cursor: pointer;
}

.card h2 {
    font-size: 18px;

    margin: 20px 0;

    color: #fb6853;
}

.card img {
    width: 100%;

    max-width: 180px;

    height: 150px;

    object-fit: contain;

    display: block;

    margin: 20px auto;
}

.card p {
    font-size: 14px;

    line-height: 1.5;

    color: #fb6853;
}

footer {
    margin-top: 50px;

    padding: 25px;

    text-align: center;

    background: #fb6853;

    color: white;

    font-weight: bold;
}



@media (max-width: 850px) {

    /* NAVIGATION */

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: flex;

        gap: 15px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .menu-button {
        display: block;
    }



    .hero {
        width: 100%;

        margin: 0;

        padding: 40px 25px;

        flex-direction: column;

        text-align: center;
    }

    .hero-text {
        width: 100%;
    }

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



    .hero-image {
        width: 100%;

        margin-top: 30px;
    }

    .hero-image img {
        width: 80%;

        max-width: 400px;
    }


    .cards {
        grid-template-columns: 1fr 1fr;

        gap: 15px;

        padding: 0 15px;
    }

    .card {
        min-height: 280px;
    }
}


@media (max-width: 550px) {

    /* NAVIGATION */

    .navbar {
        padding: 15px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-links {
        display: flex;

        gap: 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .menu-button {
        padding: 8px 11px;
    }


    .hero {
        width: 100%;

        min-height: auto;

        padding: 35px 20px;
    }

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

    .hero-text p {
        font-size: 14px;
    }


    .hero-image {
        width: 100%;

        margin-top: 25px;
    }

    .hero-image img {
        width: 90%;

        max-width: 350px;
    }

    .cards {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 0 20px;
    }

    .card {
        min-height: 280px;
    }
}

/* =========================
   LARGE SCREENS / MAC
========================= */

@media (min-width: 1400px) {

    .navbar {
        max-width: 1300px;
        padding: 25px 40px;
    }

    .hero {
        min-height: 600px;

        padding: 90px 10%;

        gap: 60px;
    }

    .hero-text {
        width: 45%;
    }

    .hero-text h1 {
        font-size: 70px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-image {
        width: 50%;
    }

    .hero-image img {
        max-width: 600px;
    }

    .projects-section {
        max-width: 1300px;
    }

    .cards {
        gap: 35px;
    }

    .card {
        min-height: 350px;

        padding: 30px 25px;
    }

    .card img {
        max-width: 250px;
        height: 190px;
    }

    .example-images {
        padding: 70px 30px;
    }

    .image-gallery {
        max-width: 1100px;
        gap: 50px;
    }

    .image-gallery img {
        max-width: 260px;
        height: 190px;
    }

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