/* ============================================
   Global Styles & Reset
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 120px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 18px;
    color: #666;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 100px 0;
    background: #fff;
}

.about h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
}

.about-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: #1a1a1a;
}

.skills-list {
    list-style: disc;
    padding-left: 20px;
    color: #666;
}

.skills-list li {
    margin-bottom: 12px;
    font-size: 15px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.avatar-placeholder svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   Work Section
   ============================================ */

.work {
    padding: 100px 0;
    background: #f9f9f9;
}

.work h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.work-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.work-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
}

.work-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 24px 12px;
    color: #1a1a1a;
}

.work-card p {
    font-size: 14px;
    color: #666;
    margin: 0 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 100px 0;
    background: #fff;
}

.contact h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: center;
}

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

.contact-content > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 48px;
    line-height: 1.8;
}

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

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: #f9f9f9;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
}

.contact-link .icon {
    font-weight: 700;
    font-size: 16px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: #1a1a1a;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .subtitle {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .about h2,
    .work h2,
    .contact h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-links {
        gap: 24px;
    }

    .hero {
        padding: 80px 0;
        min-height: 500px;
    }

    .about {
        padding: 60px 0;
    }

    .work {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .avatar-placeholder {
        width: 180px;
        height: 180px;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 14px;
    }

    .about h2,
    .work h2,
    .contact h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 16px;
        font-size: 12px;
    }

    .logo {
        font-size: 16px;
    }

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

    .work-tags {
        margin: 16px;
        padding-top: 16px;
    }

    .contact-link {
        flex-direction: column;
        font-size: 12px;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.work-card {
    animation: fadeInUp 0.6s ease backwards;
}

.work-card:nth-child(2) {
    animation-delay: 0.1s;
}

.work-card:nth-child(3) {
    animation-delay: 0.2s;
}
