/* Kunst Child Theme — Overrides */

:root {
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-light: #f5f3ff;
    --accent-subtle: #faf8ff;
}

/* === Gallery Showcase Section === */
.gallery-showcase {
    padding: 80px 0;
    background: var(--surface);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gallery-filter:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.gallery-filter.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.gallery-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 3/4;
    cursor: pointer;
    background: var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-showcase-item:hover img {
    transform: scale(1.05);
}

.gallery-showcase-item .artwork-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-showcase-item:hover .artwork-info {
    opacity: 1;
}

.artwork-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.artwork-artist {
    font-size: 0.8125rem;
    opacity: 0.85;
}

.artwork-price {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 4px;
}

.artwork-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.artwork-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.artwork-buy {
    font-size: 0.75rem;
    padding: 4px 14px;
    margin-left: auto;
}

.gallery-showcase-item[data-hidden="true"] {
    display: none;
}

/* === Exhibition Section === */
.exhibition-section {
    padding: 80px 0;
}

.exhibition-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exhibition-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.2s ease;
    position: relative;
}

.exhibition-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.exhibition-card.current {
    border-left: 4px solid var(--accent);
}

.exhibition-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.exhibition-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
}

.exhibition-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.exhibition-badge.vernissage {
    background: var(--accent);
    color: #fff;
}

.exhibition-badge.current-badge {
    background: var(--accent-light);
    color: var(--accent);
}

.exhibition-artist {
    font-size: 0.9375rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
}

.exhibition-dates {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.exhibition-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 768px) {
    .gallery-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-filters {
        gap: 6px;
    }

    .gallery-filter {
        padding: 6px 14px;
        font-size: 0.8125rem;
    }

    .exhibition-header {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gallery-showcase-grid {
        grid-template-columns: 1fr;
    }
}
