/* ==========================================================================
   About Us Page Stylesheet - Wanda Wood
   ========================================================================== */

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #c9c2ba;
}

.breadcrumb a {
  color: #a9a8a6;
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--brown);
}

.breadcrumb li:not(:last-child)::after {
  /* content: "/"; */
  margin-left: 8px;
  color: #6d6a66;
}

.breadcrumb .active {
  color: #fff;
}

/* Company Intro & Stats */
.about-intro-section {
  background: var(--paper);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.about-intro__text h2 {
  font-weight: 800;
  margin-bottom: 24px;
}

.about-intro__text p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-stat-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 38px 28px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(83, 61, 39, 0.08);
}

.about-stat-card__number {
  display: block;
  font-size: 46px;
  font-weight: 800;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 10px;
}

.about-stat-card__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-stat-card__desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* Core Values Section */
.about-values-section {
  background: #fbf9f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 30px;
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--brown);
  box-shadow: 0 20px 40px rgba(160, 123, 88, 0.1);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  background: var(--soft);
  color: var(--brown);
  font-size: 26px;
  border-radius: 10px;
  margin-bottom: 24px;
  transition: background 0.35s ease, color 0.35s ease;
}

.value-card:hover .value-card__icon {
  background: var(--brown);
  color: #fff;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.value-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Mission & Vision Background Section */
.about-mission {
  position: relative;
  background: linear-gradient(rgba(11, 13, 14, 0.76), rgba(11, 13, 14, 0.76)),
              url('/themes/wanda_wood/static/images/aboutbg1.png') center/cover no-repeat;
  padding: 120px 0;
  color: #fff;
  text-align: center;
}

.about-mission__content {
  max-width: 800px;
  margin: 0 auto;
}

.about-mission__content h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.about-mission__content p {
  color: #dcd7cf;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

/* Sustainability Image & Text Section */
.about-sustainability-section {
  background: var(--paper);
}

.about-sustainability__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-sustainability__gallery {
  position: relative;
  height: 480px;
}

.about-sustainability__img-primary {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(11, 13, 14, 0.12);
  z-index: 2;
  transition: transform 0.4s ease;
}

.about-sustainability__img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(11, 13, 14, 0.16);
  z-index: 3;
  border: 6px solid var(--paper);
  transition: transform 0.4s ease;
}

.about-sustainability__gallery:hover .about-sustainability__img-primary {
  transform: translate(-10px, -5px) scale(1.02);
}

.about-sustainability__gallery:hover .about-sustainability__img-secondary {
  transform: translate(10px, 5px) scale(1.02);
}

.about-sustainability__content h2 {
  font-weight: 800;
  margin-bottom: 24px;
}

.about-sustainability__content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Horizontal Timeline / Milestones Section */
.about-timeline-section {
  background: #fbf9f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0 120px;
}

.timeline-carousel {
  position: relative;
  padding: 0 58px;
  margin-top: 60px;
}

.timeline-slider {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

/* Horizontal Axis Line */
.timeline-slider::before {
  content: "";
  position: absolute;
  top: 76px; /* Positioned exactly where the timeline node center is */
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--line);
  z-index: 1;
}

.timeline-slide-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.timeline-slide-year {
  font-size: 32px;
  font-weight: 800;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.timeline-node {
  width: 18px;
  height: 18px;
  border: 4px solid var(--paper);
  background-color: var(--brown);
  border-radius: 50%;
  margin: 0 auto 30px;
  box-shadow: 0 0 0 4px rgba(160, 123, 88, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.swiper-slide:hover .timeline-node {
  background-color: var(--brown-dark);
  transform: scale(1.25);
  box-shadow: 0 0 0 6px rgba(160, 123, 88, 0.2);
}

.timeline-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 22px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(83, 61, 39, 0.02);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  text-align: left;
  max-width: 90%;
  margin: 0 auto;
}

.timeline-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.timeline-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.swiper-slide:hover .timeline-card {
  transform: translateY(-5px);
  border-color: var(--brown);
  box-shadow: 0 16px 30px rgba(83, 61, 39, 0.08);
}

/* Timeline Controls */
.timeline-nav {
  position: absolute;
  top: 65px; /* Aligned with the timeline axis */
  z-index: 10;
  width: 38px;
  height: 38px;
  border: 1px solid #cbb9a6;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown);
  display: inline-grid;
  place-items: center;
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease;
}

.timeline-nav:hover {
  background: var(--brown);
  color: #fff;
}

.timeline-nav--prev {
  left: 6px;
}

.timeline-nav--next {
  right: 6px;
}

/* Factory & Production Section */
.about-factory-section {
  background: var(--paper);
}

.about-factory__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.about-factory__image {
  position: relative;
}

.about-factory__image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(16, 13, 10, 0.1);
}

.about-factory__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--brown);
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(160, 123, 88, 0.25);
  text-align: center;
}

.about-factory__badge span {
  display: block;
}

.about-factory__badge .badge-val {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.about-factory__badge .badge-lbl {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-factory__content h2 {
  font-weight: 800;
  margin-bottom: 24px;
}

.about-factory__content p {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Call to Action Subpage Banner */
.about-cta {
  background: linear-gradient(rgba(11, 13, 14, 0.8), rgba(11, 13, 14, 0.8)),
              url('/themes/wanda_wood/static/images/aboutbg2.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.about-cta__content {
  max-width: 750px;
  margin: 0 auto;
}

.about-cta h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
}

.about-cta p {
  color: #c9c2ba;
  font-size: 16px;
  margin-bottom: 30px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  .about-intro__grid,
  .about-sustainability__grid,
  .about-factory__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-intro__text,
  .about-sustainability__content,
  .about-factory__content {
    order: -1;
  }

  .about-sustainability__gallery {
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
  }

  .about-sustainability__img-primary {
    height: 320px;
  }

  .about-sustainability__img-secondary {
    height: 220px;
  }

  .about-factory__badge {
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }

  .about-factory__badge .badge-val {
    font-size: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .about-stats__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-stat-card {
    padding: 28px 20px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .value-card {
    padding: 30px 20px;
  }

  .about-sustainability__gallery {
    height: 320px;
  }

  .about-sustainability__img-primary {
    height: 250px;
  }

  .about-sustainability__img-secondary {
    height: 170px;
    border-width: 4px;
  }

  /* Timeline mobile adjustments */
  .timeline-carousel {
    padding: 0 16px;
  }

  .timeline-nav {
    display: none; /* Hide navigation buttons on mobile, swipe is enough */
  }

  .timeline-slider::before {
    top: 76px;
  }

  .timeline-card {
    max-width: 100%;
  }

  .about-factory__image img {
    height: 320px;
  }

  .about-factory__badge {
    position: static;
    margin-top: 16px;
    box-shadow: none;
    border-radius: 8px;
    padding: 16px;
  }
}
