/* Museum Page Specific Styles */

/* Museum-themed hero */
.museum-hero {
    background: linear-gradient(135deg, #2c1810 0%, #5d3a1a 100%);
}

/* Override nav styling for museum page */
.museum-page .nav-link:hover,
.museum-page .nav-link.active {
    background: #5d3a1a;
    color: #fff;
}

/* Museum content layout */
.museum-content {
    max-width: 900px;
    margin: 0 auto;
}

.museum-content h3 {
    color: #001D4B;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.museum-content h4 {
    color: #E98226;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.museum-subsection {
    margin-top: 3rem;
}

/* Museum image showcases */
.museum-image-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.museum-image-showcase img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.museum-image-showcase img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Museum story section with background */
.museum-story {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

/* Visiting information cards */
.visiting-info {
    text-align: center;
}

.visiting-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.visiting-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visiting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.visiting-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.visiting-card-header i {
    font-size: 2rem;
    color: #E98226;
    flex-shrink: 0;
}

.visiting-card-header h3 {
    color: #001D4B;
    margin: 0;
    font-size: 1.5rem;
}

.visiting-card ul {
    list-style: none;
    padding: 0;
}

.visiting-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.visiting-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E98226;
    font-weight: bold;
}

.visiting-cta {
    margin-top: 3rem;
}

.visiting-cta p {
    margin: 1rem 0;
}

/* Enhanced photo gallery for museum page */
.museum-page .photo-item {
    cursor: pointer;
}

.museum-page .photo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: lightboxZoom 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #E98226;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .museum-image-showcase {
        grid-template-columns: 1fr;
    }
    
    .visiting-details {
        grid-template-columns: 1fr;
    }
    
    .museum-content h3 {
        font-size: 1.5rem;
    }
    
    .museum-content h4 {
        font-size: 1.25rem;
    }
    
    .museum-story {
        padding: 1.5rem;
    }
    
    .visiting-card {
        padding: 1.5rem;
    }
}

/* Print styles for museum page */
@media print {
    .museum-hero {
        background: #fff;
        color: #000;
    }
    
    .hero-buttons {
        display: none;
    }
}
