/* style/about.css */

/* Body background is from shared.css, assuming it's dark based on #0D0E12 */
.page-about {
  color: #FFF3E6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0D0E12;
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-about__light-bg {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

.page-about__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FF8C1A;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFA53A;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, relying on body for header offset */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
  z-index: 1;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FF8C1A;
  margin-bottom: 20px;
  /* clamp for responsive H1, avoids fixed large font-size */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 2px solid #A84F0C;
}

.page-about__btn-secondary:hover {
  transform: translateY(-2px);
  background: #0D0E12;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

/* Grid Layouts */
.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

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

.page-about__feature-item {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF3E6;
  border: 1px solid #A84F0C;
}

.page-about__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-about__feature-text {
  font-size: 1em;
  color: #FFF3E6;
}

.page-about__card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF3E6;
  border: 1px solid #A84F0C;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-title {
  font-size: 1.6em;
  color: #FF8C1A;
  margin-bottom: 15px;
}

.page-about__text-block {
  font-size: 1em;
  color: #FFF3E6;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FF8C1A;
  background-color: #17191F;
  position: relative;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-question::marker {
  display: none;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFA53A;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF3E6;
}

.page-about__faq-answer p {
  margin-bottom: 0;
  color: #FFF3E6;
}

.page-about__faq-answer a {
  color: #FFA53A;
  text-decoration: underline;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
}

.page-about__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__cta-content .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-content .page-about__description {
  color: #ffffff;
  margin-bottom: 40px;
}

.page-about__cta-button {
  background: #17191F;
  color: #FF8C1A;
  border: 2px solid #A84F0C;
}

.page-about__cta-button:hover {
  background: #0D0E12;
  color: #FFA53A;
  border-color: #FFA53A;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
  }

  .page-about__hero-image-wrapper {
    max-height: 50vh;
  }

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

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-about__reverse-on-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}

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

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

  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image Responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  /* Image Containers Responsive */
  .page-about__hero-section,
  .page-about__section,
  .page-about__card,
  .page-about__feature-item,
  .page-about__image-block,
  .page-about__content-block,
  .page-about__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button Responsive */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .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;
    margin: 10px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-content .page-about__btn-primary {
    margin-top: 20px;
  }

  .page-about__cta-section .page-about__cta-button {
    margin-top: 20px;
  }

  .page-about__grid-two-columns {
    gap: 20px;
  }

  .page-about__features-grid {
    gap: 20px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-about__hero-image-wrapper {
    max-height: 40vh;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

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