:root {
  --primary-pink: #ff1493;
  --dark-bg: #111111;
  --light-bg: #fdfbf7;
  --text-color: #222222;
  --border-color: #e2dcd0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.wall {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
body.wall::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/images/museum-wall.jpg") no-repeat center center / cover;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}
h1, h2, h3, h4, .didot-font {
  font-family: Didot, "Playfair Display", "Bodoni Moda", "Times New Roman", serif;
  letter-spacing: -0.5px;
}
.hero-museum {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("/images/museum-wall.jpg") no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 4vw;
  box-shadow: inset 0 -100px 100px -50px rgba(0,0,0,0.6);
}
.hero-museum::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 150px;
  background: linear-gradient(to top, var(--light-bg), transparent);
  pointer-events: none;
}
header.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand-logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.nav-links { display: flex; gap: 1.6rem; list-style: none; flex-wrap: wrap; }
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--primary-pink); }
.scroll-down-hint {
  text-align: center;
  color: #fff;
  z-index: 10;
  padding-bottom: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
.container { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }
.section-title { text-align: center; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.6rem; }
.section-subtitle { text-align: center; font-size: 1.05rem; color: #666; margin-bottom: 2.4rem; font-style: italic; }
.filter-tabs { display: flex; justify-content: center; gap: 0.8rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.filter-btn {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.3rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
}
.museum-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.art-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.art-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.12); }
.art-frame { padding: 1rem 1rem 0; background: #f9f6ef; }
.art-img-container { width: 100%; height: 260px; overflow: hidden; position: relative; background: #eee; }
.art-img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.art-card:hover .art-img-container img { transform: scale(1.05); }
.art-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}
.art-content { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; flex-grow: 1; }
.art-title { font-size: 1.55rem; color: #111; }
.art-excerpt { color: #555; font-size: 0.95rem; }
.art-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border-color); padding-top: 1rem;
  font-size: 0.85rem; color: #888; margin-top: auto;
}
.art-footer strong { color: var(--primary-pink); font-weight: 700; }
footer.wall-foot { background: #111; color: #ccc; padding: 4rem 2rem 2rem; margin-top: 4rem; }
.footer-content {
  max-width: 1200px; margin: 0 auto 2.4rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem;
}
footer.wall-foot h4 { color: #fff; margin-bottom: 0.8rem; }
footer.wall-foot ul { list-style: none; }
footer.wall-foot a { color: #aaa; text-decoration: none; }
footer.wall-foot a:hover { color: var(--primary-pink); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; border-top: 1px solid #333;
  padding-top: 1.6rem; text-align: center; font-size: 0.85rem; color: #777;
}
.admin-trigger {
  position: fixed; bottom: 2rem; right: 2rem;
  background: #111; color: #fff; text-decoration: none;
  padding: 0.9rem 1.4rem; border-radius: 50px;
  font-weight: 700; box-shadow: 0 10px 25px rgba(0,0,0,0.3); z-index: 40;
}
.admin-trigger:hover { background: var(--primary-pink); }
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: none; justify-content: center; align-items: center; z-index: 80; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; width: 100%; max-width: 720px; max-height: 85vh;
  overflow: auto; border-radius: 12px; padding: 2.4rem; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  font-size: 1.8rem; cursor: pointer;
}
@media (max-width: 700px) {
  .hero-museum { padding: 1.2rem; }
  header.nav-bar { border-radius: 18px; padding: 0.9rem 1rem; }
}
