/* Modern Designer Portfolio */

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

:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --text-light: #666666;
    --accent: #1a1a1a;
    --border: #e5e7eb;
    --hover: #f3f4f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    padding: 0.875rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--hover);
    border-color: var(--text-light);
}

.profile-image {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    display: block;
}

.profile-photo {
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 16px;
    display: block;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Work Section */
.work {
    padding: 6rem 2rem;
    background: var(--hover);
}

.section-header {
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.projects {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-reverse {
    direction: rtl;
}

.project-reverse > * {
    direction: ltr;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.project:hover .project-image img {
    transform: scale(1.05);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.coming-soon-badge {
    padding: 0.375rem 0.875rem;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
    white-space: nowrap;
}

.project-title-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

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

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    padding: 0.375rem 0.875rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.link:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

/* Talks Section */
.talks {
    padding: 6rem 2rem;
    background: var(--bg);
}

.talks-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.talk-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.talk-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.talk-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 1.5rem 0.75rem;
    letter-spacing: -0.01em;
}

.talk-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 1.5rem 1.5rem;
}

/* About Section */
.about {
    padding: 6rem 2rem;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-content {
    margin-bottom: 3rem;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.skill-category h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--hover);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-container > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .profile-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-reverse {
        direction: ltr;
    }

    .project-image {
        height: 300px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .talks-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .work, .about, .contact, .talks {
        padding: 4rem 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
