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

:root {
    --bg: #ffffff;
    --bg-alt: #f8f8f8;
    --text: #1a1a1a;
    --text-light: #666;
    --accent: #0066ff;
    --border: #e5e5e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

header nav {
    display: flex;
    gap: 30px;
}

header a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

header a:hover {
    color: var(--accent);
}

main {
    min-height: 100vh;
}

section {
    padding: 60px 0;
}

#hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
}

#hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}

#about {
    background-color: var(--bg-alt);
}

#about h3,
#projects h3,
#contact h3 {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
}

#about img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
}

#about p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

#projects {
    background-color: var(--bg);
}

.project-card {
    background-color: var(--bg-alt);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.project-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: transform 0.2s, color 0.2s;
    display: inline-block;
}

.project-card a:hover {
    transform: translateX(4px);
    color: #0052cc;
}

#contact {
    background-color: var(--bg-alt);
    text-align: center;
}

#contact p {
    font-size: 16px;
    color: var(--text-light);
}

#contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

#contact a:hover {
    color: #0052cc;
    text-decoration: underline;
}

footer {
    background-color: var(--bg);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    font-size: 14px;
}

@media (max-width: 600px) {
    header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    header nav {
        gap: 20px;
    }

    #hero h2 {
        font-size: 36px;
    }

    #hero p {
        font-size: 18px;
    }

    section {
        padding: 40px 0;
    }
}
