/* Gallery Pages Styles */

.gallery-hero {
    min-height: 35vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.08), rgba(76, 175, 80, 0.08));
    padding: 4rem 2rem;
}

.gallery-hero h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--emerald), var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.gallery-hero p {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.8;
    max-width: 600px;
}

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

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--navy), var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--cyan));
    margin: 1rem auto 0;
}

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

.gallery-item {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(0, 188, 212, 0.08));
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--emerald);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(0, 188, 212, 0.12));
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.2), rgba(123, 44, 191, 0.15), rgba(0, 188, 212, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.gallery-item h3 {
    font-size: 1.3rem;
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text);
}

.gallery-item p {
    padding: 0 1.5rem 1rem;
    color: var(--text);
    opacity: 0.8;
    flex-grow: 1;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(123, 44, 191, 0.15));
    color: var(--cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 1.5rem 1.5rem;
    border: 1px solid var(--cyan);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.art-story {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
}

.art-story p {
    margin: 0 0 1rem;
}
