/* About Page Styles */
.about-page {
  width: 100%;
  color: var(--secondary-color);
  padding-bottom: 4rem;
}

/* Hero Section */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 8rem 0 6rem;
  min-height: calc(100vh - 120px);
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-hero__headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-hero__headline span {
  color: var(--primary-color);
}

.about-hero__subheadline {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 500px;
}

.about-hero__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(17, 19, 23, 0.5);
}

.about-hero__image-wrapper::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  pointer-events: none;
}

.about-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-hero__image:hover {
  transform: scale(1.03);
}

/* Story Sections (Zigzag Layout) */
.about-story {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 4rem 0;
}

.story-section {
  display: grid;
  align-items: center;
  gap: 4rem;
}

/* Story section layouts based on direction */
.story-section--left {
  grid-template-columns: 1fr 1fr;
}

.story-section--right {
  grid-template-columns: 1fr 1fr;
}

.story-section__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-section__headline {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.story-section__text {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.85;
}

.story-section__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(17, 19, 23, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-section__image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 172, 132, 0.15);
}

.story-section__image-wrapper::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  pointer-events: none;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}


/* Full-width text-only story sections (no image) */
.story-section--full {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

/* CTA Section */
.about-cta {
  text-align: center;
  padding: 4rem 0;
}

.about-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.about-cta__headline {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
}

.about-cta__headline span {
  color: var(--primary-color);
}

.about-cta__text {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.85;
}

.about-cta .learn-more {
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 6rem;
  }
  
  .about-hero__subheadline {
    margin: 0 auto;
  }
  
  .about-hero__image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .story-section {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .about-page {
    padding-bottom: 2rem;
  }
  
  .about-hero__headline {
    font-size: 2.75rem;
  }
  
  .about-story {
    gap: 5rem;
  }
  
  .story-section--left,
  .story-section--right {
    grid-template-columns: 1fr;
  }
  
  /* On mobile, images should always appear above text, regardless of zigzag */
  .story-section--right .story-section__image-wrapper {
    grid-row: 1;
  }
  
  .story-section--right .story-section__content {
    grid-row: 2;
  }
  
  .story-section__headline {
    font-size: 2rem;
  }
  
  .story-section__content {
    text-align: center;
  }
  
  .about-cta {
    padding: 3rem 1.5rem;
  }
  
  .about-cta__headline {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .about-hero__headline {
    font-size: 2.25rem;
  }
  
  .about-cta__headline {
    font-size: 1.75rem;
  }
}
