/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1.25rem;
    color: #888;
    font-weight: 400;
    margin-bottom: 48px;
}

.featured-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.featured-link {
    padding: 12px 24px;
    border: 1px solid #333;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.featured-link:hover {
    background: #fff;
    color: #0a0a0a;
    opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-link {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-link:hover {
    color: #fff;
    opacity: 1;
}

/* Work Section */
.work {
    padding: 80px 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #0f0f0f;
    border-top: 1px solid #1a1a1a;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-header .bio {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #aaa;
    line-height: 1.8;
}

.resume-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.resume-section h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #00b4d8;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
}

.job {
    margin-bottom: 40px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.job-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.date {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

.job-item {
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid #222;
}

.job-item h5 {
    font-size: 1rem;
    font-weight: 500;
    color: #ddd;
    margin-bottom: 6px;
}

.job-item p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

.education-item {
    margin-bottom: 28px;
}

.education-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.education-item .degree {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 4px;
}

.education-item .major {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 4px;
}

.education-item .location {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 4px;
}

.contact-info {
    margin-top: 16px;
}

.contact-info p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 8px;
}

.contact-info a {
    color: #00b4d8;
}

.contact-info a:hover {
    opacity: 0.8;
}

.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
}

.project:last-child {
    border-bottom: none;
}

.project:nth-child(even) {
    direction: rtl;
}

.project:nth-child(even) > * {
    direction: ltr;
}

.project-media {
    position: relative;
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
}

.project-media iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.project-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.project-type {
    font-size: 0.875rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.project-tools {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 16px;
}

.project-description {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid #1a1a1a;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: #666;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #666;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: #fff;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        gap: 16px;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project:nth-child(even) {
        direction: ltr;
    }

    .featured-projects {
        flex-direction: column;
        align-items: center;
    }

    .featured-link {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .footer .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-header h2 {
        font-size: 2rem;
    }

    .job-header {
        flex-direction: column;
        gap: 4px;
    }
}
