* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*
html {
    scroll-behavior: smooth;
}*/
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f7f7f7;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

.site-header {
    background: #111;
    color: #fff;
    padding: 1rem 2rem;
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #fff;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    background: #333;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: #e9eef5;
}

.hero-text {
    max-width: 700px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background: #111;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
}

.btn:hover {
    background: #333;
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.site-footer {
    text-align: center;
    padding: 1.5rem;
    background: #111;
    color: white;
    margin-top: 2rem;
}

/* Hero profile image */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
/* .profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} */

/* Media Queries instead of the one above*/
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
}

/* Portfolio */
.section-intro {
    margin-bottom: 2rem;
    color: #555;
}

.card h3 {
    margin-bottom: 0.8rem;
}

.card p {
    margin-bottom: 1.2rem;
    color: #444;
}

.card-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.small-btn {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #111;
    color: #111;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
}

.btn-outline:hover {
    background: #111;
    color: #fff;
}
/* index featured projects */
.section-intro {
    margin-bottom: 2rem;
    color: #555;
}

.card-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.small-btn {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #111;
    color: #111;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
}

.btn-outline:hover {
    background: #111;
    color: #fff;
}

/*Project filtering*/
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 2rem;
}

.filter-btn {
    padding: 0.7rem 1rem;
    border: 2px solid #111;
    background: white;
    color: #111;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #111;
    color: white;
}

.project-card.hidden {
    display: none;
}