/* ============================================
   ARCHIVE PAGE STYLES
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding-top: 120px;
}

/* ========================================
   EXHIBITIONS SECTION
   ======================================== */

.exhibitions-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
}

.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ========================================
   EXHIBITION CARD
   ======================================== */

.exhibition-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 100%);
    border: 2px solid rgba(93, 138, 168, 0.25);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.exhibition-card:hover {
    transform: translateY(-8px);
    border-color: var(--military-blue);
    box-shadow: 0 20px 40px rgba(93, 138, 168, 0.2);
}

.exhibition-card.current {
    border-color: var(--military-orange);
    box-shadow: 0 0 30px rgba(230, 126, 34, 0.2);
}

.exhibition-card.current:hover {
    border-color: var(--military-orange);
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.3);
}

/* Poster */
.exhibition-poster {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #2c3e50;
}

.exhibition-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.exhibition-card:hover .exhibition-poster img {
    transform: scale(1.05);
}

.exhibition-poster .no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.exhibition-poster .no-poster span {
    font-size: 4rem;
    font-weight: 800;
    color: var(--military-orange);
    opacity: 0.5;
}

/* Current badge */
.current-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--military-orange), #f39c12);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

/* Info */
.exhibition-info {
    padding: 1.5rem;
    flex: 1;
}

.exhibition-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.exhibition-date {
    color: var(--military-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.exhibition-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Action */
.exhibition-action {
    padding: 0 1.5rem 1.5rem;
}

.exhibition-action .btn {
    width: 100%;
    text-align: center;
}

/* ========================================
   STATES
   ======================================== */

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #0f0f1a;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(93, 138, 168, 0.1);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .exhibitions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exhibition-poster {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .exhibition-poster {
        height: 200px;
    }
}