body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}


header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
}

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

nav a {
    text-decoration: none;
    color: #555;
}

nav a.active {
    font-weight: bold;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 90%;
    margin: 2rem auto;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}

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

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background: #333;
    color: #fff;
}

.resume {
    width: 90%;
    margin: 2rem auto;
    text-align: center;
}

.resume img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    line-height: 1.6;
}

.about h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.project-page {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    text-align: center;
}

.project-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.project-gallery img,
.project-gallery .figma-embed {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.figma-embed {
    display: flex;
    justify-content: center;
    align-items: center;
}
