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

:root {
    --bg-color: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --text-color: #e8e8e8;
    --text-light: #b8b8b8;
    --cyan: #00d9ff;
    --orange: #ff6b35;
    --accent-color: #00d9ff;
    --light-gray: #2a2a2a;
    --border-color: #333333;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Custom Cursor */
.cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    z-index: 10000;
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.cursor.cursor-zoom {
    width: 60px;
    height: 60px;
    border-color: var(--orange);
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--cyan) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-meta {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-meta p {
    font-size: 18px;
    letter-spacing: 0.03em;
}

.hero-meta .label {
    color: var(--orange);
    font-weight: 500;
    margin-right: 8px;
}

/* Statement Section */
.statement-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.statement-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 60px 0;
}

@media (max-width: 768px) {
    .statement-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cn-statement {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 40px;
    }

    .en-statement {
        padding-left: 0;
    }
}

.statement-column h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.statement-column p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.cn-statement {
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.en-statement {
    padding-left: 40px;
}

/* Gallery Sections */
.main-gallery,
.materials-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.05em;
    color: var(--text-color);
    text-transform: uppercase;
}

/* Artwork Groups */
.artwork-group {
    margin-bottom: 80px;
}

.artwork-group.side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.artwork-group.side-by-side .artwork-card {
    display: flex;
    flex-direction: column;
}

.artwork-group.side-by-side .artwork-card > img {
    width: 100%;
    object-fit: contain;
    min-height: 400px;
    max-height: 600px;
    height: auto;
}

@media (max-width: 768px) {
    .artwork-group.side-by-side {
        grid-template-columns: 1fr;
    }
    
    .artwork-group.side-by-side .artwork-card > img {
        min-height: 300px;
        max-height: 500px;
    }
}

.group-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--orange);
    letter-spacing: 0.05em;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.artwork-card {
    position: relative;
    overflow: visible;
    cursor: pointer;
}

.artwork-card img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
                linear-gradient(135deg, var(--cyan), var(--orange)) border-box;
    transition: transform 0.5s ease, filter 0.3s ease, box-shadow 0.3s ease;
}


.artwork-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2), 0 10px 30px rgba(255, 107, 53, 0.2);
}

.artwork-title {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
    letter-spacing: 0.05em;
    transition: margin-top 0.3s ease;
}

.en-title {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.artwork-card:hover .artwork-title {
    margin-top: 25px;
}

/* Thumbnail Gallery - Film Strip Style */
.materials-section {
    background-color: var(--bg-secondary);
    padding: 80px 0;
    border-top: 2px solid var(--border-color);
    border-image: linear-gradient(90deg, transparent, var(--cyan), var(--orange), transparent) 1;
    overflow: hidden;
}

.film-strip-container {
    display: flex;
    overflow-x: auto;
    gap: 2px; /* Film strip look */
    padding: 40px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.film-strip-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.film-strip-item {
    flex: 0 0 auto;
    height: 150px; /* Film strip height */
    width: auto;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #000;
    padding: 10px 5px; /* Film sprocket holes spacing simulation */
    border-top: 4px dashed #333;
    border-bottom: 4px dashed #333;
}

.film-strip-item img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.film-strip-item:hover img {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

/* Remove old thumbnail gallery styles if needed or override */
.thumbnail-gallery {
    display: none; /* Hide old container */
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.3);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 50px;
    color: var(--cyan);
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.lightbox-close:hover {
    color: var(--orange);
    transform: rotate(90deg);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 20px;
    }
    
    .statement-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .cn-statement {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 40px;
    }
    
    .en-statement {
        padding-left: 0;
    }
    
    .artwork-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-gallery {
        height: 50vh;
    }
    
    .main-gallery,
    .materials-section {
        padding: 60px 20px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-meta p {
        font-size: 16px;
    }
    
    .statement-section {
        padding: 60px 20px;
    }
    
    .main-gallery,
    .materials-section {
        padding: 40px 10px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading state */
body {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Footer */
.site-footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    color: var(--text-light);
    font-size: 14px;
}

.site-footer p {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--orange);
}

