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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f6f3;
    color: #222;
    line-height: 1.6;
}

/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

.logo span {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #777;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}

nav a:hover {
    color: #8b5e3c;
}

/* HERO */

.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('https://wallpapercave.com/wp/wp11520720.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    margin-top: 10px;
}

/* BUTTON STYLE (used everywhere) */

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #8b5e3c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.25s ease;
}

.btn:hover {
    background: #6e472c;
}

/* PORTFOLIO */

.portfolio {
    padding: 60px 8%;
    background: #f5f3ef;
}

.portfolio h2 {
    margin-bottom: 30px;
}

.category-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ABOUT + CONTACT */

.about,
.contact {
    padding: 60px 8%;
    background: white;
}

.contact-info {
    margin-top: 20px;
}

.contact-info a {
    color: #8b5e3c;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
    font-size: 0.9rem;
}

/* MOBILE OPTIMIZATION */

@media (min-width: 768px) {

    .hero h1 {
        font-size: 3rem;
    }

    .category-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .category-buttons .btn {
        flex: 1 1 45%;
    }
}
