/* ═══════════════════════════════════════
   WORK.CSS — Out Shine Web Design
   Shared styles for individual project / case-study pages
═══════════════════════════════════════ */

/* ── WORK HERO ── */
.work-hero {
  padding: calc(var(--nav-height) + 4rem) 5rem 2rem;
  background: var(--cream);
  text-align: center;
}
.work-hero .eyebrow { margin-bottom: 1.25rem; }
.work-hero h1 { margin-bottom: 1rem; }
.work-hero .lead { max-width: 640px; margin: 0 auto; }

/* ── WORK PREVIEW (browser mockup) ── */
.work-preview-section {
  padding: 2rem 5rem 6rem;
  background: var(--cream);
}
.work-preview {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(17,45,82,0.14);
  border: 1px solid rgba(17,45,82,0.1);
  background: #f5f5f5;
}
.work-browser-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 1rem;
}
.work-browser-bar .browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(17,45,82,0.18);
}
.work-browser-bar .browser-url {
  margin-left: 0.75rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  font-family: var(--font-sans);
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.work-preview img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 36px;
}

/* ── WORK DETAILS ── */
.work-details {
  padding: var(--section-pad);
  background: var(--teal-light);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.work-details-main h2 { margin-bottom: 1.25rem; }
.work-details-main p { margin-bottom: 1.5rem; color: var(--ink); line-height: 1.8; }
.work-details-main p:last-child { margin-bottom: 0; }

.work-sidebar {
  background: var(--cream);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(17,45,82,0.1);
}
.work-sidebar h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.work-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.work-details-list li {
  font-size: 0.85rem;
  color: var(--ink);
  display: flex;
  gap: 0.75rem;
}
.work-details-list li span {
  font-weight: 500;
  color: var(--teal);
  width: 60px;
  flex-shrink: 0;
}
.work-sidebar .btn-primary { width: 100%; text-align: center; display: block; }

/* ── WORK CTA ── */
.work-cta {
  padding: var(--section-pad);
  background: var(--teal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.work-cta::before {
  content: '';
  position: absolute;
  left: -80px; bottom: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.work-cta .eyebrow { color: rgba(255,255,255,0.6); position: relative; z-index: 2; }
.work-cta h2 { color: var(--cream); position: relative; z-index: 2; margin-bottom: 1rem; }
.work-cta .lead {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}
.work-cta .btn-primary { position: relative; z-index: 2; }

/* ── COMING SOON PAGE ── */
.work-empty {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 5rem 4rem;
  gap: 1.5rem;
}
.work-empty .eyebrow { margin-bottom: 0.5rem; }
.work-empty h1 { margin-bottom: 0.5rem; }
.work-empty .lead { max-width: 520px; }
.work-empty-icon { width: 90px; height: 90px; opacity: 0.85; margin-bottom: 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .work-hero { padding: calc(var(--nav-height) + 3rem) 3rem 2rem; }
  .work-preview-section { padding: 2rem 3rem 5rem; }
  .work-details { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .work-hero { padding: calc(var(--nav-height) + 1.5rem) 1.5rem 1.5rem; }
  .work-preview-section { padding: 1.5rem 1.5rem 4rem; }
  .work-empty { padding: calc(var(--nav-height) + 2rem) 1.5rem 3rem; }

  /* Readability bump */
  .work-details-main p { font-size: 1.22rem; }
  .work-sidebar h3 { font-size: 1.4rem; }
  .work-details-list li { font-size: 1.12rem; }
  .work-details-list li span { width: 90px; }
  .work-sidebar { padding: 1.5rem; }
}

@media (max-width: 400px) {
  .work-hero { padding: calc(var(--nav-height) + 1.25rem) 1.25rem 1.25rem; }
  .work-preview-section { padding: 1.25rem 1.25rem 3rem; }
  .work-details-list li span { width: 80px; }
}
