/* =============================================
   BEST REGARDS CHOCOLATE — Our Story Page Styles
   ============================================= */

/* ---- Page Header ---- */
.page-header {
  background: linear-gradient(150deg, var(--dark) 0%, #3C2415 55%, #2A1A0F 100%);
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.07;
  top: -200px; right: -100px;
}
.page-header .eyebrow { color: var(--primary-light); }
.page-header h1 { color: var(--cream); margin: 14px 0 20px; }
.page-header p {
  color: rgba(243,238,215,0.65);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Story Body ---- */
.story-body { padding: 96px 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 96px;
}
.story-grid.reverse { direction: rtl; }
.story-grid.reverse > * { direction: ltr; }

.story-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-warm), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--primary-light);
  font-style: italic;
  box-shadow: 0 8px 48px var(--shadow-md);
  position: relative;
}
.story-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.story-visual-label {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--dark);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
}

.story-content .eyebrow { margin-bottom: 14px; }
.story-content h2 { margin-bottom: 20px; }
.story-content p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
}
.story-content p:last-of-type { margin-bottom: 0; }

/* ---- Values ---- */
.values-section {
  background: var(--dark);
  padding: 96px 0;
}
.values-header { text-align: center; margin-bottom: 56px; }
.values-header h2 { color: var(--cream); margin-top: 12px; }
.values-header .eyebrow { color: var(--primary-light); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}

.value-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.value-icon-1 { background: rgba(186,144,139,0.15); }
.value-icon-2 { background: rgba(128,130,73,0.15); }
.value-icon-3 { background: rgba(239,220,195,0.1); }

.value-card h4 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-card p {
  color: rgba(243,238,215,0.6);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---- Timeline ---- */
.timeline-section { padding: 96px 0; background: var(--cream); }
.timeline-header { text-align: center; margin-bottom: 56px; }
.timeline-header h2 { margin-top: 12px; }

.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background: rgba(186,144,139,0.25);
}

.timeline-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item.left  { flex-direction: row-reverse; text-align: right; }
.timeline-item.right { flex-direction: row; text-align: left; }

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--primary);
  top: 4px;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content { flex: 1; max-width: 260px; }

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---- CTA ---- */
.story-cta {
  background: var(--accent);
  padding: 72px 24px;
  text-align: center;
}
.story-cta h2 { color: var(--cream); margin: 12px 0 20px; }
.story-cta .eyebrow { color: rgba(243,238,215,0.7); }
.story-cta p { color: rgba(243,238,215,0.75); font-size: 1rem; margin-bottom: 32px; }
.story-cta .btn {
  background: var(--cream);
  color: var(--accent);
  font-weight: 600;
}
.story-cta .btn:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE (Story)
   ============================================= */
@media (max-width: 768px) {
  .story-grid,
  .story-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right { flex-direction: column; text-align: left; padding-left: 50px; }
  .timeline-dot { left: 20px; }
  .timeline-content { max-width: 100%; }
}
