/* =============================================
   DRIIVO – Our Story Page Styles
   Add these to the bottom of main.css
============================================= */

/* ─── STORY HERO ─────────────────────────── */
.story-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.story-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(1);
  /* was 0.55 — lower = darker */
  transform: scale(1.02);
  transition: transform 8s ease;
}

.story-hero:hover .story-hero-bg {
  transform: scale(1.0);
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 10, 10, 0.90) 0%,
      rgba(10, 10, 10, 0.40) 60%,
      rgba(10, 10, 10, 0.10) 100%);
}

.story-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  padding-top: 100px;
  max-width: 620px;
}

.story-hero-title {
  font-family: var(--font-title-major);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.story-hero-title .accent {
  color: var(--gold);
}

.story-hero-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}

.story-hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 360px;
}

/* ─── JOURNEY TIMELINE ───────────────────── */
.story-journey {
  background: var(--black);
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.journey-heading {
  font-family: var(--font-title-major);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
}

.journey-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-top: 16px;
}

.journey-timeline {
  position: relative;
  display: flex;
  gap: 0;
  padding-top: 20px;
}

.timeline-line {
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--border));
  z-index: 0;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.timeline-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--grey);
  margin-bottom: 16px;
  transition: border-color 0.3s, color 0.3s;
}

.timeline-icon svg {
  width: 20px;
  height: 20px;
}

.timeline-step.is-active .timeline-icon {
  border-color: var(--gold);
  color: var(--gold);
}

.timeline-year {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 4px;
}

.timeline-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-label.accent {
  color: var(--gold);
}

.timeline-desc {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.5;
}

/* ─── PHILOSOPHY ─────────────────────────── */
.story-philosophy {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 60%;
  filter: brightness(0.25);
}

.philosophy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
}

.philosophy-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  padding: 80px 60px;
}

.philosophy-title {
  font-family: var(--font-title-major);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1;
  margin-top: 12px;
}

.philosophy-quote-mark {
  font-family: var(--font-title-major);
  font-size: 120px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 16px;
}

.philosophy-quote {
  font-family: var(--font-title-major);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0;
}

/* ─── VALUES ─────────────────────────────── */
.story-values {
  background: var(--dark);
  padding: 100px 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.value-item:hover {
  border-color: var(--gold);
}

.value-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: var(--white);
}

.value-desc {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.5;
}

/* ─── BEHIND EVERY SCENT ─────────────────── */
.story-behind {
  background: var(--black);
  padding: 100px 60px;
}

.behind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.behind-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.behind-card:hover {
  border-color: var(--gold);
}

.behind-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  transition: transform 0.5s ease;
}

.behind-card:hover .behind-img {
  transform: scale(1.04);
}

.behind-body {
  padding: 20px;
}

.behind-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.5;
  font-family: var(--font-title-major);
  line-height: 1;
  margin-bottom: 8px;
}

.behind-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 6px;
}

.behind-desc {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.5;
}

/* ─── STATS BAR ──────────────────────────── */
.story-stats {
  background: #0c0c0c;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 30px;
  border-right: 1px solid var(--border);
  gap: 8px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-num {
  font-family: var(--font-title-major);
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.5;
}

/* ─── CTA BANNER ─────────────────────────── */
.story-cta {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.story-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  filter: brightness(0.3);
}

.story-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
}

.story-cta-content {
  position: relative;
  z-index: 2;
  padding: 80px 40px;
}

.story-cta-title {
  font-family: var(--font-title-major);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.story-cta-title .accent {
  color: var(--gold);
}

.story-cta-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .story-journey {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 70px 30px;
  }

  .timeline-line {
    display: none;
  }

  .journey-timeline {
    flex-wrap: wrap;
    gap: 30px;
  }

  .timeline-step {
    flex: 1 1 40%;
  }

  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 30px;
  }

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

  .behind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .story-hero-content {
    padding: 0 24px;
    padding-top: 100px;
  }

  .story-journey {
    padding: 60px 24px;
  }

  .story-values {
    padding: 60px 24px;
  }

  .story-behind {
    padding: 60px 24px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .behind-grid {
    grid-template-columns: 1fr;
  }

  .story-stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .story-hero-content { padding: 112px 20px 40px; min-width: 0; }
  .story-hero-title { font-size: clamp(34px, 9vw, 60px); overflow-wrap: anywhere; }
  .story-cta-content { padding: 50px 20px; min-width: 0; }
  .story-cta-title { font-size: clamp(28px, 8vw, 44px); overflow-wrap: anywhere; }
  .stat-item { padding: 30px 16px; min-width: 0; }
  .stat-num { font-size: clamp(28px, 8vw, 42px); }
}
@media (max-width: 400px) {
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline-step { flex-basis: 100%; }
}
