/* Our Story Page Styles */

.page-hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.page-hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--deep-gold);
}

.page-hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.story-content h2 {
  font-size: 32px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.story-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--deep-gold);
}

.story-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.story-images {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story-img-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-img-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-img-card:hover img {
  transform: scale(1.1);
}

.story-img-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(27, 48, 34, 0.8));
  color: var(--deep-gold);
  padding: 20px;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--deep-gold);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 50%;
  padding: 0 40px;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--forest-green);
  border: 3px solid var(--deep-gold);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-date {
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-gold);
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.timeline-content {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) {
    margin-left: 0;
  }

  .timeline-item::after {
    left: 20px !important;
  }
}
