:root {
    --color-bg: #fafaf9;
    --color-text: #292524;
    --color-text-light: #57534e;
    --color-accent: #0f766e;
    --color-accent-light: #14b8a6;
    --color-border: #e7e5e4;
    --color-card: #ffffff;
    --color-nav-bg: rgba(250, 250, 249, 0.95);
    
    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.hero-intro:last-child {
    margin-bottom: 0;
}

.hero-social {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-social .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-card);
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.hero-social .social-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-social .social-link svg {
    width: 20px;
    height: 20px;
}

.text-link {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent-light);
    transition: var(--transition-smooth);
}

.text-link:hover {
    color: var(--color-accent-light);
    border-bottom-color: var(--color-accent);
}

.hero-image {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.image-wrapper {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Styling */
section {
    padding: 5rem 2rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 3rem;
    text-align: center;
}

/* Education Section */
.education {
    background-color: var(--color-card);
}

.education-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.education-content p:last-child {
    margin-bottom: 0;
}

/* Experience Section */
.experience-list {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    margin-bottom: 2rem;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-header {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.experience-description {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    padding-left: 1.5rem;
}

.experience-note {
    max-width: 900px;
    margin: 3rem auto 0;
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background-color: var(--color-text);
    color: var(--color-bg);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-bg);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent-light);
}

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

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

@media (max-width: 640px) {
    .hero {
        padding: 4rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-intro {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
