/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #d97706;
    --name-color: #3a78fe;
    --text-color: #2d2d2d;
    --text-light: #6b6b6b;
    --bg-color: #ffffff;
    --section-bg: #fafafa;
    --border-color: #e5e5e5;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.header-photo {
    flex-shrink: 0;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--name-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.title {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: -8px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Contact Links
   ============================================ */
.contact-links {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.2s ease;
    padding: 4px 0;
}

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

.contact-link svg {
    flex-shrink: 0;
}

/* ============================================
   Main Content
   ============================================ */
.main {
    padding: 32px 0;
    min-height: calc(100vh - 200px);
}

.section {
    margin-bottom: 40px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   Entry Cards (Work Experience & Education)
   ============================================ */
.entry {
    padding: 16px;
    background-color: var(--section-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.entry:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.1);
}

.entry-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.entry-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.entry-company {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.entry-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-left: auto;
    font-weight: 400;
}

.entry-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
}

.entry-bullets li {
    font-size: 0.9375rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.entry-bullets li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============================================
   Project Cards
   ============================================ */
.project-card {
    padding: 16px;
    background-color: var(--section-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.project-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.1);
}

.project-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.project-type {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.project-bullets li {
    font-size: 0.9375rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.project-bullets li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.8125rem;
    padding: 4px 12px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-light);
    font-weight: 400;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .header-text {
        align-items: center;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 12px;
    }

    .main {
        padding: 24px 0;
    }

    .section {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .entry,
    .project-card {
        padding: 14px;
    }

    .entry-header {
        flex-direction: column;
        gap: 8px;
    }

    .entry-date {
        margin-left: 0;
    }

    .container {
        padding: 0 20px;
    }
}

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

    .header {
        padding: 12px 0;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    .main {
        padding: 20px 0;
    }

    .container {
        padding: 0 16px;
    }
}
