/* Base */
:root {
    --bg: #ffffff;
    --text: #111111;
    --text-light: #666666;
    --border: #eaeaea;
    --primary: #2563eb;
    --radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.hero-role {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-bio {
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary, .btn-outline {
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Projects */
.projects {
    padding: 60px 0;
    background: #fafafa;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.card-header i {
    font-size: 20px;
    color: var(--primary);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.project-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-tech span {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-light);
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Contact */
.contact {
    padding: 60px 0;
}

.contact-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f5f5f5;
    border-radius: 30px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.contact-item:hover {
    background: var(--primary);
    color: white;
}

.contact-item i {
    font-size: 16px;
}

.contact-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-bio {
        margin: 0 auto 32px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        margin: 0 auto;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 200px;
        justify-content: center;
    }
}
