/* Showcase DETAIL page hero — /showcase/{project}/index.html
   ------------------------------------------------------------------
   Layout lives here rather than inline so all 193 detail pages stay
   consistent and this can be edited in one place.

   IMPORTANT: the site header injected by navigation.js is
   position:fixed, top:0 and 80px tall (.top-bar .container). The
   hero's top padding has to clear it — the old inline
   "padding: 60px 0" was smaller than the header, so the logo was
   partly hidden underneath it and looked jammed to the top. */

.showcase-detail-hero {
  padding: 120px 0 80px;
  text-align: center;
}

/* Centred stack: logo above the copy, not a left/right row. */
.showcase-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.showcase-logo {
  width: 200px;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--color-dark-gray);
  border-radius: 8px;
}

.showcase-logo img {
  max-width: 100%;
  height: auto;
}

/* Keeps long project names and descriptions on a comfortable
   measure instead of stretching the full 1200px container. */
.showcase-intro {
  max-width: 720px;
}

.showcase-intro h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
}

.showcase-intro p {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Solid white CTA. This deliberately overrides the outlined
   .btn-primary treatment — showcase pages have always used the solid
   button, and .btn-primary's 2px white border is invisible on a white
   background, so it is left in place. */
.showcase-cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-white);
  color: #111;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.showcase-cta:hover {
  opacity: 0.85;
  color: #111;
}

.showcase-preview {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
}

.showcase-disclaimer {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-gray);
  font-size: 0.78rem;
  line-height: 1.7;
  text-align: center;
}

/* The site grid sets "main { pointer-events: none }" so the
   background grid stays interactive — the hero CTA needs it back. */
.showcase-detail-hero,
.showcase-detail-hero a {
  pointer-events: auto;
}

@media (max-width: 768px) {
  .showcase-detail-hero {
    padding: 100px 0 56px;
  }

  .showcase-header {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .showcase-logo {
    width: 160px;
    padding: 20px;
  }
}

/* Showcase disclosure — shown once, directly below the screenshot, so the
   relationship between Havenoro and the featured website is explicit. */
.showcase-disclosure-section {
  padding: 8px 0 24px;
}

.showcase-disclosure {
  max-width: 800px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--color-white);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-gray);
  font-size: 0.88rem;
  line-height: 1.7;
  text-align: left;
}
