/* ============================================================
 * Dürüm & Dreams — extra section styles
 * Story, Gallery, Press, FAQ, Lightbox.
 * Uses the same CSS variables as styles.css.
 * ============================================================ */

/* ---------- STORY ---------- */
.story {
  padding: clamp(64px, 9vw, 140px) clamp(24px, 5vw, 80px);
  background: var(--ink, #1A1410);
  color: var(--cream, #F5EFE3);
}
.story__grid {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  max-width: 1100px;
  margin: clamp(40px, 6vw, 80px) auto 0;
}
.story__paper p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  margin: 0 0 1.4em;
  color: var(--cream, #F5EFE3);
  opacity: 0.9;
}
.story__paper p:first-child::first-letter {
  font-size: 3.4em;
  float: left;
  line-height: 0.9;
  margin: 0.05em 0.08em 0 -0.05em;
  font-weight: 600;
  color: var(--saffron, #E8A14C);
  font-family: 'Fraunces', Georgia, serif;
}
.story__portrait {
  margin: 0;
  position: sticky;
  top: 100px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.story__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story__pillars {
  list-style: none;
  margin: clamp(48px, 6vw, 96px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
}
.story__pillars li {
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.story__pillars li:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(232, 161, 76, 0.4);
}
.story__pillars h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--saffron, #E8A14C);
  letter-spacing: 0.01em;
}
.story__pillars p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: rgba(245, 239, 227, 0.7);
}

@media (max-width: 800px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__portrait { position: static; aspect-ratio: 16/10; max-height: 400px; }
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: clamp(64px, 9vw, 140px) clamp(24px, 5vw, 80px);
  background: var(--ink, #1A1410);
  color: var(--cream, #F5EFE3);
}
.gallery__grid {
  margin: clamp(40px, 6vw, 80px) auto 0;
  max-width: 1200px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.gallery__grid > template { display: none !important; }
.gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  background: #2a201a;
}
.gallery__item:nth-child(3n+1) { aspect-ratio: 3/4; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 12px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PRESS STRIP ---------- */
.press {
  padding: clamp(48px, 7vw, 100px) clamp(24px, 5vw, 80px);
  background: var(--cream, #F5EFE3);
  color: var(--ink, #1A1410);
}
.press__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 64px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.press__logos > template { display: none !important; }
.press__logo {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.01em;
  color: var(--ink, #1A1410);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}
.press__logo:hover {
  opacity: 1;
}

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(64px, 9vw, 140px) clamp(24px, 5vw, 80px);
  background: var(--cream, #F5EFE3);
  color: var(--ink, #1A1410);
}
.faq__list {
  max-width: 720px;
  margin: clamp(32px, 4vw, 64px) auto 0;
}
.faq__list > template { display: none !important; }
.faq__item {
  border-bottom: 1px solid rgba(26, 20, 16, 0.12);
  padding: 18px 4px;
  transition: border-color 0.25s ease;
}
.faq__item:hover {
  border-color: rgba(204, 0, 204, 0.4);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink, #1A1410);
  position: relative;
  padding-right: 30px;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  color: var(--spice, #CC00CC);
  transition: transform 0.25s ease;
  font-family: 'Manrope', sans-serif;
  line-height: 1;
}
.faq__item[open] summary::after {
  content: "−";
  transform: translateY(-50%);
}
.faq__item p {
  margin: 12px 0 0;
  padding-right: 30px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(26, 20, 16, 0.7);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 5vw;
  animation: lb-fade 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  margin: 0;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- HERO TITLE EM PRESERVATION ---------- */
.hero__title em {
  font-style: italic;
  color: var(--saffron, #E8A14C);
}

/* ---------- REVEAL ANIMATION (used by JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
