:root {
    --bg-color: #0d0d0f;
    --card-bg: #16161a;
    --accent-color: #d4af37; /* Metallic Gold */
    --accent-hover: #f1c40f;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a5;
    --border-color: rgba(212, 175, 55, 0.2);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Hero */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a2e 0%, var(--bg-color) 70%);
}

h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #fff 0%, #a0a0a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.header-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 2rem auto;
    border-radius: 2px;
}

/* Gallery Grid */
.gallery-container {
    padding-bottom: 8rem;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.item-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.item-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #000;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.9);
}

.item-card:hover .image-wrapper img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.item-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color);
    color: #000;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 2;
}

.multi-indicator {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-content {
    padding: 1.5rem;
}

.item-content h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.artist {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dimensions {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: inline-block;
    padding: 0.3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 900px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.lightbox-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.lightbox-gallery::-webkit-scrollbar {
    height: 6px;
}

.lightbox-gallery::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.lightbox-gallery img {
    height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    scroll-snap-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-info {
    text-align: center;
}

.lightbox-info h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.item-card {
    animation: fadeInUp 0.8s ease backwards;
}

/* Staggered animation */
.item-card:nth-child(n) { animation-delay: calc(n * 0.05s); }

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .hero {
        padding: 4rem 0 2rem;
    }
}
