/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111;
    background-color: #fff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
}

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

/* Header */
.site-header {
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
}

/* Hero */
.hero {
    padding: 4rem 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.25rem;
    color: #555;
}

/* Projects */
.projects {
    padding: 4rem 0;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.project-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    display: block;
}

.project-card h3 {
    font-size: 1.25rem;
    margin: 1rem;
}

.project-card p {
    margin: 0 1rem 1rem;
    color: #555;
}

.btn {
    display: inline-block;
    margin: 0 1rem 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #000;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #000;
    color: #fff;
}

/* About & Contact */
.about,
.contact {
    padding: 4rem 0;
    text-align: center;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eaeaea;
    font-size: 0.875rem;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .site-nav {
        display: none;
    }
    .site-nav.open {
        display: block;
        position: absolute;
        top: 60px;
        right: 10px;
        background: #fff;
        border: 1px solid #eaeaea;
        border-radius: 4px;
    }
    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .site-nav li {
        margin: 0.5rem 0;
        padding: 0 1rem;
    }
}