.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-white);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.page-header p {
    opacity: 0.9;
    max-width: 36rem;
    margin: 0 auto;
}

.page-header + main {
    margin-top: var(--space-lg);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: var(--space-lg);
}

.gallery-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    cursor: pointer;
}

.gallery-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-card-body {
    padding: var(--space-md);
}

.gallery-card-body h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
}

.gallery-card-body .category {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-empty {
    text-align: center;
    padding: var(--space-3xl) 0;
    color: var(--color-gray-500);
}

/* Detail modal (future use) */
.gallery-detail-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.gallery-detail-overlay.open {
    display: flex;
}

.gallery-detail {
    background: var(--color-white);
    border-radius: var(--border-radius);
    max-width: 48rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-xl);
    position: relative;
}

.gallery-detail-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--color-gray-500);
    cursor: pointer;
    line-height: 1;
}

.gallery-detail-close:hover {
    color: var(--color-gray-900);
}

.gallery-detail img {
    width: 100%;
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-lg);
}

.gallery-detail h2 {
    margin-bottom: var(--space-sm);
}

.gallery-detail .category {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.gallery-detail .description {
    color: var(--color-gray-700);
}
