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

body {
    font-family: 'Crimson Text', serif;
    background: #fafaf8;
    color: #2a2a28;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid #e0e0dc;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #2a2a28;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.hero {
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    color: #6a6a68;
}

section {
    margin: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.portfolio {
    margin: 6rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.card-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #d4c4b0 0%, #e8d8c8 100%);
    margin-bottom: 1rem;
    border-radius: 4px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.project-card p {
    color: #8a7a6e;
    font-size: 0.95rem;
}

.about {
    max-width: 700px;
    margin: 6rem auto;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #3a3a38;
    line-height: 1.8;
}

.contact {
    text-align: center;
    margin: 6rem 0;
    padding: 3rem;
    background: #f5f5f2;
    border-radius: 4px;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #6a6a68;
}

.cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: #2a2a28;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
    letter-spacing: 0.05em;
}

.cta:hover {
    background: #3a3a38;
}

footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #e0e0dc;
    color: #8a7a6e;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    section h2 {
        font-size: 1.8rem;
    }

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