/* style/about.css */
.page-about {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Matching body background for consistency */
  font-family: 'Arial', sans-serif;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__hero-section {
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #1A1A2E; /* Primary color for hero background */
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 3.5rem;
  color: #FFD700; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.page-about__btn--primary {
  background-color: #FFD700; /* Accent color for primary button */
  color: #1A1A2E;
}

.page-about__btn--primary:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-about__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Accent color for secondary button text */
  border: 2px solid #FFD700;
}

.page-about__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2; /* Subtle background effect */
}

.page-about__section-title {
  font-size: 2.5rem;
  color: #FFD700; /* Accent color for section titles */
  text-align: center;
  margin-bottom: 50px;
  padding-top: 40px;
}

.page-about__story-section {
  padding: 60px 0;
  background-color: #1A1A2E;
}

.page-about__story-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-about__story-image {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure images are responsive */
  height: auto;
}

.page-about__story-text {
  flex: 1 1 50%;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-about__story-text p {
  margin-bottom: 15px;
}

.page-about__mission-values-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-icon {
  width: 100%; /* Ensure icon takes full width of its container */
  height: auto; /* Maintain aspect ratio */
  max-width: 250px; /* Max width for value icons, still > 200px */
  min-width: 200px; /* Ensure minimum size is met */
  min-height: 200px; /* Ensure minimum size is met */
  margin: 0 auto 20px;
  border-radius: 5px;
}

.page-about__value-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #cccccc;
}

.page-about__why-choose-section {
  padding: 60px 0;
  background-color: #1A1A2E;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.07);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__feature-title {
  font-size: 1.6rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-about__cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(45deg, #1A1A2E, #0d0d0d);
}

.page-about__cta-title {
  font-size: 2.8rem;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-about__cta-description {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-about__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Initial state for JS animation */
.page-about--hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state for JS animation */
.page-about--is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3rem;
  }

  .page-about__hero-description {
    font-size: 1.15rem;
  }

  .page-about__section-title {
    font-size: 2.2rem;
  }

  .page-about__story-content {
    flex-direction: column;
    text-align: center;
  }

  .page-about__story-image {
    flex: none;
    max-width: 600px;
  }

  .page-about__story-text {
    flex: none;
    max-width: 800px;
  }

  .page-about__value-icon {
    max-width: 200px; /* Still >= 200px */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5rem;
  }

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-about__section-title {
    font-size: 2rem;
  }

  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__cta-title {
    font-size: 2.2rem;
  }

  .page-about__cta-description {
    font-size: 1.1rem;
  }

  .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile content area image constraint - apply to all images within .page-about */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides to ensure min-size if max-width:100% would make them smaller */
  .page-about__story-image, .page-about__value-icon {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to respect max-width */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2rem;
  }

  .page-about__hero-description {
    font-size: 0.9rem;
  }

  .page-about__section-title {
    font-size: 1.8rem;
  }

  .page-about__cta-title {
    font-size: 1.8rem;
  }
}