/* ============================================================
   IMAGE-SECTIONS.CSS — Shared image placement components
   A: Cinematic Break · B: Scroll Strip · C: Photo + Quote
   ============================================================ */

/* ── CONCEPT A: Cinematic Break ─────────────────────────────── */

.img-break {
  position: relative;
  height: clamp(320px, 55vh, 600px);
  overflow: hidden;
}

.img-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.img-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,47,48,0.72) 0%, rgba(44,47,48,0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-10) var(--space-12);
}

.img-break__caption {
  color: white;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  max-width: 480px;
  line-height: var(--leading-snug);
}

.img-break__caption em {
  color: var(--color-accent);
  font-style: normal;
}

@media (max-width: 640px) {
  .img-break__overlay { padding: var(--space-6); }
  .img-break__caption { font-size: var(--text-xl); }
}


/* ── CONCEPT B: Horizontal Scroll Strip ─────────────────────── */

.photo-strip-section { overflow: hidden; }

.photo-strip-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.photo-strip {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: 0 max(var(--space-6), calc((100vw - 1200px) / 2));
  padding-bottom: var(--space-4);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.photo-strip::-webkit-scrollbar { display: none; }

.photo-strip__item {
  flex-shrink: 0;
  width: clamp(240px, 30vw, 360px);
  scroll-snap-align: start;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
}

.photo-strip__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-spring);
}

.photo-strip__item:hover img { transform: scale(1.04); }

.photo-strip__label {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(44,47,48,0.72);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.photo-strip__fade {
  position: relative;
}

.photo-strip__fade::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: var(--space-4);
  width: 80px;
  background: linear-gradient(to right, transparent, var(--color-surface));
  pointer-events: none;
  z-index: 1;
}

.photo-strip-section--low .photo-strip__fade::after {
  background: linear-gradient(to right, transparent, var(--color-surface-low));
}


/* ── CONCEPT C: Photo + Testimonial Split ────────────────────── */

.photo-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 440px;
}

.photo-quote__img {
  position: relative;
  overflow: hidden;
}

.photo-quote__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-quote__content {
  background: var(--color-ink);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6);
}

.photo-quote__stars {
  color: var(--color-accent);
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
}

.photo-quote__text {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: white;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.photo-quote__text::before { content: '\201C'; }
.photo-quote__text::after  { content: '\201D'; }

.photo-quote__author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.photo-quote__name {
  font-weight: var(--weight-semibold);
  color: white;
  font-size: var(--text-sm);
}

.photo-quote__role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

@media (max-width: 768px) {
  .photo-quote { grid-template-columns: 1fr; }
  .photo-quote__img { aspect-ratio: 16/9; height: auto; }
  .photo-quote__img img { position: static; height: 100%; }
  .photo-quote__content { padding: var(--space-8); }
  .photo-quote__text { font-size: var(--text-lg); }
}
