/* === Museum General Page Settings === */
.museum-page {
  background: #0c0c0d;
  color: #f4ead6;
  font-family: "Playfair Display", serif;
}

/* === Museum Header Styling === */
.museum-header {
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(255, 215, 130, 0.15);
}

.gold-btn {
  background: #bfa76f !important;
  color: #000 !important;
  border-radius: 8px;
}

/* === Active Menu Item === */
.active-museum {
  color: #bfa76f !important;
  font-weight: 700 !important;
}

/* === Museum Introduction === */
.museum-intro {
  max-width: 850px;
  margin: 80px auto;
  padding: 20px;
  color: #f4ead6;
  text-align: center;
  animation: fadeIn 1.3s ease both;
}

.museum-intro h2 {
  font-size: 36px;
  color: #e6c56a;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(255, 210, 130, 0.25);
  line-height: 1.3;
}

.museum-intro p {
  font-size: 20px;
  line-height: 1.8;
  margin-top: 10px;
  color: #f4ead6;
}

/* === Gold Shimmer Animation for Intro Title === */
@keyframes goldShimmer {
  0% {
    color: #bfa76f;
    text-shadow: 0 0 10px rgba(255, 215, 130, 0.2);
  }
  50% {
    color: #e6c56a;
    text-shadow: 0 0 25px rgba(255, 230, 150, 0.4);
  }
  100% {
    color: #bfa76f;
    text-shadow: 0 0 10px rgba(255, 215, 130, 0.2);
  }
}

.museum-intro h2 {
  animation: goldShimmer 5s ease-in-out infinite;
}

/* === Fade + Slide Up on Scroll === */
.museum-intro {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.3s ease, transform 1.3s ease;
}

.museum-intro.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Hero Section === */
.museum-hero {
  background: url("museum-images/header-bg.jpg") center/cover no-repeat;
  text-align: center;
  padding: 140px 20px 120px;
  color: #f4ead6;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.9);
}

.museum-hero h1 {
  font-size: 52px;
  color: #e6c56a;
  text-shadow: 0 0 20px rgba(255, 210, 130, 0.4);
}

.museum-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 20px auto 0;
}

/* === Museum Section === */
.museum-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 20px;
  line-height: 1.7;
  animation: fadeIn 1.2s ease both;
}

.museum-section h2 {
  color: #e6c56a !important;
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 600;
}

.museum-section p {
  color: #fff6e6;
  font-size: 18px;
  line-height: 1.8;
}

/* Global room fade-in animation */
.museum-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.museum-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Images === */
.museum-section img {
  width: 100%;
  max-width: 700px;
  border-radius: 8px;
  display: block;
  margin: 30px auto;
  box-shadow: 0 0 40px rgba(255, 210, 130, 0.08);
}

/* === Divider === */
.museum-divider {
  width: 70%;
  height: 1px;
  margin: 70px auto;
  background: linear-gradient(to right, transparent, #e6c56a, transparent);
  opacity: 0.4;
}

/* === Sticky Navigation (Desktop) === */
.museum-side-nav {
  position: fixed;
  top: 150px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  padding: 14px 18px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(255, 215, 130, 0.25);
}

.museum-side-nav a {
  color: #e6c56a;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.museum-side-nav a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* === Mobile Navigation === */
@media (max-width: 768px) {
  .museum-side-nav {
    display: none;
  }

  .museum-mobile-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: sticky;
    top: 0;
    background: #000;
    padding: 10px;
    z-index: 9999;
  }

  .museum-mobile-nav span {
    color: #e6c56a;
    font-weight: 600;
    font-size: 18px;
  }
}

/* === Footer === */
.museum-footer {
  text-align: center;
  padding: 40px 20px;
  background: #000;
  color: #e6c56a;
  font-style: italic;
  border-top: 1px solid rgba(255, 215, 130, 0.15);
}

/* === Fade In Animation === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
