:root {
    --bg-color: #EFEBE2;
    --text-color: #333333;
    --font-main: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-color);
    padding: 40px;
}

/* HEADER STYLES */
header {
    margin-bottom: 60px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 300;
    margin-left: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    color: var(--text-color);
    font-size: 1.5rem;
}

.categories {
    margin-top: 20px;
}

.categories a {
    text-decoration: none;
    color: var(--text-color);
    margin-right: 30px;
    font-weight: 300;
    font-size: 1.1rem;
}

/* GRID LAYOUT */
.gallery {
    display: grid;
    /* This creates 2 columns, but auto-adjusts */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    opacity: 0.9;
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
    /* Optional: filter to make it look like a sketch if needed */
    /* filter: grayscale(100%); */
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    body { padding: 20px; }
    .top-nav { flex-direction: column; align-items: flex-start; gap: 20px; }
    .menu { width: 100%; justify-content: space-between; }
    .categories { display: flex; flex-direction: column; gap: 10px; }
    .gallery { grid-template-columns: 1fr; }
}