/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.name {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
}

/* Sections */
.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Skills */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill {
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 400;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.skill:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

/* Projects */
.projects {
    display: grid;
    gap: 2rem;
}

.project {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.project:hover {
    border-color: #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.project p {
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.link {
    color: #007bff;
    text-decoration: none;
    font-weight: 400;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.link:hover {
    border-bottom-color: #007bff;
}

/* Contact */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.contact-link {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.footer p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header {
        margin-bottom: 3rem;
    }

    .name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .section {
        margin-bottom: 2.5rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-link {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .project-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.8rem;
    }

    .skills-grid {
        justify-content: center;
    }

    .project {
        padding: 1rem;
    }
}