 /* ==============================================
   INSPIRATION GALLERY — editorial style 2026
   ============================================== */

/* BREADCRUMB */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0.75rem 3rem;
  font-family: var(--sans, sans-serif);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
}

.breadcrumb a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: #1a1a1a; }
.breadcrumb span { margin: 0 0.4rem; }

@media (max-width: 768px) {
  .breadcrumb { padding: 0.75rem 1.5rem; }
}

/* PAGE HEADER */
.page-header {
  background: #f7f5f2;
  text-align: center;
  padding: 6rem 2rem 5rem;
  border-bottom: 1px solid #eee;
}

.page-tag {
  font-family: var(--sans, sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: #000;
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.page-header h1 em {
  font-style: italic;
  color: #888;
}

.page-header p {
  font-family: var(--sans, sans-serif);
  font-size: 0.95rem;
  font-weight: 300;
  color: #666;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

/* MASONRY GALLERY */
.inspo-gallery.masonry {
  column-count: 3;
  column-gap: 1rem;
  padding: 3rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
}

.media {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #f7f5f2;
  /* staggered fade-in */
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

/* Subtle hover border like product cards */
.media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
  pointer-events: none;
}

.media:hover::after {
  border-color: #1a1a1a;
}

.media img,
.media video {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(8%);
}

.media:hover img,
.media:hover video {
  transform: scale(1.03);
  filter: grayscale(0%);
}

/* Animation delays */
.media:nth-child(1)  { animation-delay: 0.04s; }
.media:nth-child(2)  { animation-delay: 0.08s; }
.media:nth-child(3)  { animation-delay: 0.12s; }
.media:nth-child(4)  { animation-delay: 0.16s; }
.media:nth-child(5)  { animation-delay: 0.20s; }
.media:nth-child(6)  { animation-delay: 0.24s; }
.media:nth-child(7)  { animation-delay: 0.28s; }
.media:nth-child(8)  { animation-delay: 0.32s; }
.media:nth-child(9)  { animation-delay: 0.36s; }
.media:nth-child(n+10) { animation-delay: 0.40s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .media { animation: none; opacity: 1; }
}

/* LIGHTBOX */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

#lightbox.active {
  display: flex;
}

#lightbox img,
#lightbox video {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

#lightbox::after {
  content: '✕';
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--sans, sans-serif);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s;
}

#lightbox:hover::after {
  color: #fff;
}

/* FAQ STRIP */
.faq {
  background: #f7f5f2;
  text-align: center;
  padding: 5rem 2rem;
}

.faq h3 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: #1a1a1a;
  margin: 0 0 1rem;
}

.faq p {
  font-family: var(--sans, sans-serif);
  font-size: 0.9rem;
  color: #444;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.faq-button {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  font-family: var(--sans, sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-button:hover {
  background: #1a1a1a;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .inspo-gallery.masonry {
    column-count: 2;
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 600px) {
  .page-header {
    padding: 4rem 1.5rem 3rem;
  }

  .inspo-gallery.masonry {
    column-count: 1;
    padding: 1.5rem;
  }

  #lightbox {
    padding: 1rem;
  }

  #lightbox img,
  #lightbox video {
    max-width: 95%;
    max-height: 85vh;
  }
}