/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Fixed header spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but text is below image */
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #2A1212 0%, #140C0C 100%); /* Card BG to Background */
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  border: 2px solid #6A1E1E; /* Border */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-about__tagline {
  font-size: 1.1em;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D;
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background: #F3C54D;
  color: #2A1212;
  transform: translateY(-2px);
}

.page-about__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main */
  text-align: justify;
}

.page-about__paragraph strong {
  color: #F3C54D;
}

.page-about__dark-section {
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-about__card-bg-section {
  background-color: #140C0C; /* Background */
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
}

.page-about__value-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

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

.page-about__value-icon {
  width: 250px;
  height: 350px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-about__value-title {
  font-size: 1.4em;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__value-description {
  font-size: 0.95em;
  color: #FFF1E8; /* Text Main */
  flex-grow: 1;
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-about__commitment-item {
  background-color: #140C0C; /* Background */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__commitment-title {
  font-size: 1.5em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__commitment-description {
  font-size: 1em;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__link-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #E53030; /* Auxiliary Color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-about__link-button:hover {
  background-color: #C61F1F; /* Main Color */
}

.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.page-about__product-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__product-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__product-title {
  font-size: 1.3em;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__product-description {
  font-size: 0.9em;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* General image responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button responsiveness */
.page-about__cta-button,
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__link-button,
.page-about a[class*="button"],
.page-about a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-buttons,
.page-about__button-group,
.page-about__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding-top: 10px !important;
  }

  .page-about__hero-content {
    margin-top: -50px;
    padding: 20px 15px;
  }

  .page-about__main-title {
    font-size: 2em;
  }

  .page-about__tagline {
    font-size: 1em;
  }

  .page-about__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-grid--reverse {
    flex-direction: column;
  }

  /* Five team vertical cards (values grid) */
  .page-about__values-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
  }

  .page-about__value-card {
    padding: 15px;
    padding-top: 0 !important; /* Reset padding-top */
  }

  .page-about__value-card--pos-1, .page-about__value-card--pos-2 {
    grid-column: span 3;
  }

  .page-about__value-card--pos-3, .page-about__value-card--pos-4, .page-about__value-card--pos-5 {
    grid-column: span 2;
  }

  .page-about__value-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 250/350;
    margin-bottom: 10px;
  }

  .page-about__value-title {
    font-size: 1.2em;
  }

  .page-about__value-description {
    font-size: 0.9em;
  }

  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__commitment-item {
    padding: 20px;
  }

  .page-about__commitment-title {
    font-size: 1.3em;
  }

  .page-about__products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__product-card {
    padding: 15px;
  }

  .page-about__product-title {
    font-size: 1.2em;
  }

  .page-about__product-description {
    font-size: 0.85em;
  }

  /* General image responsiveness for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__history-section,
  .page-about__values-section,
  .page-about__team-tech-section,
  .page-about__commitment-section,
  .page-about__products-section,
  .page-about__future-vision-section,
  .page-about__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness for mobile */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__link-button,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
}