/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import custom fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.8;
    color: #222;
    background-color: #fafafa;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

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

/* Header and navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

/* Main sections */
main {
    margin-top: 80px;
}

section {
    padding: 5rem 0;
    border-bottom: 1px solid #eee;
}

/* About section */
#about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

#about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

#about h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    line-height: 1.2;
}

#about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #333;
}

#about p:first-of-type {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bio {
    max-width: 700px;
}

.bio p {
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Work section */
#work {
    padding: 4rem 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #eee;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #999;
    border: 1px dashed #ccc;
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Exhibitions and Publications sections */
#exhibitions, #publications {
    padding: 4rem 0;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    position: relative;
    padding-bottom: 1rem;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #333;
}

.exhibition-list, .publication-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.exhibition-item, .publication-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.exhibition-item:hover, .publication-item:hover {
    padding-left: 1rem;
}

.exhibition-item span:first-child, .publication-item span:first-child {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    min-width: 100px;
    color: #333;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.exhibition-item span:last-child, .publication-item span:last-child {
    flex: 1;
    margin-left: 3rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Contact section */
#contact {
    padding: 6rem 0;
    text-align: center;
    background-color: #f5f5f5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: #f9f9f9;
}

footer p {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    #about h1 {
        font-size: 2rem;
    }

    #about h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .exhibition-item, .publication-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .exhibition-item span:last-child, .publication-item span:last-child {
        margin-left: 0;
    }
}

/* Mouse cursor effect */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid #666;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.3;
    transform: translate(-50%, -50%);
}

/* Page load animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Mobile navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links a {
        padding: 0.5rem 2rem;
        width: 100%;
        text-align: left;
    }

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

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    #about {
        text-align: center;
    }

    .bio {
        margin: 0 auto;
    }

    #about h1 {
        font-size: 1.8rem;
    }

    #about h2 {
        font-size: 1.5rem;
    }
}