/* style/about.css */

.page-about {
  /* Ensure content starts below the fixed header */
  padding-top: var(--header-offset, 120px);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Explicitly set page background to white */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
}

.page-about__hero-container {
  position: relative;
  z-index: 2; /* Ensure text is above image if needed */
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45; /* Gold accent for title */
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  cursor: pointer;
}

.page-about__button--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Black text for register button */
  border: 2px solid #FCBC45;
}

.page-about__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-about__button--login {
  background-color: #000000;
  color: #FCBC45; /* Gold text for login button */
  border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
  min-width: 200px; /* Enforce minimum display size */
  min-height: 200px;
}

.page-about__story-section,
.page-about__values-section,
.page-about__team-section,
.page-about__cta-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__story-section {
  padding-bottom: 80px;
}

.page-about__content-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-about__story-title,
.page-about__values-title,
.page-about__team-title,
.page-about__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
}

.page-about__story-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__story-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum display size */
  min-height: 200px;
}

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

.page-about__value-card {
  background-color: #F8F8F8;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-about__value-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

.page-about__cta-section {
  text-align: center;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-about__cta-title {
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__button--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--join:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-about__button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .page-about__story-title,
  .page-about__values-title,
  .page-about__team-title,
  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__story-text {
    font-size: 0.95em;
  }

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

  /* Crucial for mobile images to prevent overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}