:root {
    --bg-color: #FAF9F5;
    --text-primary: #111111;
    --text-secondary: #666666;
    --text-tertiary: #000000;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --max-width: 800px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Roboto Slab', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-sm);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0;
    line-height: 1.5;
}

.hero b {
    color: var(--text-primary);
    font-weight: 500;
}

/* Typography */
h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.086);
    padding-bottom: var(--spacing-xs);
}

h3 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Projects Section */
.projects {
    margin-bottom: var(--spacing-xl);
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    transition: transform 0.3s ease;
}

.project-item img {
    height: 48px;
    max-width: 140px;
    object-fit: contain;
    align-self: flex-start;
}

.project-item p {
    margin: 0;
    margin-top: -15px;
    color: #666666;
    font-size: 1.05rem;
    line-height: 1.4;
    max-width: 700px;
}

/* Other Section */
.other {
    margin-bottom: var(--spacing-xl);
}

.other-category {
    margin-bottom: 2.5rem;
}

.other ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.other li {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.4;
    max-width: 700px;
}

.other a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.other a:hover {
    opacity: 0.7;
}

.other p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.4;
    max-width: 700px;
}

/* Awards Section */
.awards {
    margin-bottom: var(--spacing-xl);
}

.awards > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.05rem;
    line-height: 1.4;
    max-width: 700px;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    margin-top: -30px;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 4px;
}

.slider {
    display: flex;
    gap: 10px;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slider img {
    width: calc((100% - 40px) / 2); /* 3 items desktop, 2 gaps of 20px */
    flex-shrink: 0;
    box-sizing: border-box;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 4/3;
    padding: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,0,0,0.05);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 2;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.slider-btn:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
    left: -13px;
}

.slider-btn.next {
    right: -13px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #cccccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #555555;
}

/* Footer Section */
footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-links a {
    color: #000000;
    opacity: 1;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.social-links svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero p, .project-item p, .other li, .other p, .awards > p {
        max-width: 100%;
    }

    .profile-pic {
        width: 230px;
        height: 230px;
    }

    .slider {
        gap: 0;
    }

    .slider img {
        width: 100%; /* 1 item mobile */
        border-radius: 8px;
    }
    
    .slider-btn.prev { left: 5px; }
    .slider-btn.next { right: 5px; }
    
    .hero p {
        font-size: 1.1rem;
    }
}