/* Von Bachen — page-specific styles on top of the shared Huashu design (../index.css) */

/* Logo seal in the intro section */
.logo-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto 5rem auto;
  padding: 0 2rem;
  text-align: center;
}

.logo-seal img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.logo-seal-rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 320px;
}

.logo-seal-rule::before,
.logo-seal-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.logo-seal-rule span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.logo-seal p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Filter tabs — reuse .nav-item look, but centered as a standalone row */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.filter-tabs button.nav-item {
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  background: var(--cell-bg);
}

/* Portfolio grid reuses .feat-grid / .feat-cell from index.css */
.wood-cell {
  cursor: pointer;
}

.wood-cell .cell-image-top {
  cursor: zoom-in;
}

/* Contact CTA */
.contact-cta {
  max-width: 560px;
  margin: 2rem auto 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.contact-cta-box {
  background: var(--cell-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3rem 2.5rem;
}

.contact-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(96% 0.006 75);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.1rem;
  margin: 0 auto 1.25rem auto;
}

.contact-cta-box h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.contact-cta-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(99% 0.003 75);
  background: var(--accent);
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* Section heading above the portfolio grid */
.section-heading {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: oklch(15% 0.01 75 / 92%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: oklch(90% 0.01 75);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-modal img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.25rem;
}

.lightbox-modal p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: oklch(94% 0.006 75);
}

@media (max-width: 600px) {
  .logo-seal {
    margin-bottom: 3rem;
  }
}
