/* Modern Minimalistic Variables */
:root {
    --bg-color: #f8f9fa;
    --text-color: #333333;
    --accent-color: #2d3436;
    --link-color: #0984e3;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --spacing-unit: 1rem;
    --container-width: 900px;
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--link-color);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--accent-color);
}

/* Main Content */
main {
    flex: 1;
    padding: 4rem 0;
}

/* Profile Section */
.profile {
    margin-bottom: 6rem;
    text-align: left;
}

.profile h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    color: var(--accent-color);
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.bio {
    max-width: 600px;
    margin-bottom: 2rem;
    color: #555;
}

.contact-link {
    display: inline-block;
    font-weight: 500;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 2px;
}

.contact-link:hover {
    border-bottom-color: var(--link-color);
}

/* Projects Section */
.projects h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.project-info p {
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .profile h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}