/* style/about.css */

/* Variables from shared.css will apply to body. */
/* The page-about__hero-section will have a small top padding to avoid double spacing. */

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0D0E12;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  margin-bottom: 30px;
}

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

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-about__section {
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF3E6;
  text-align: justify;
}

.page-about__highlight {
  color: #FFA53A;
  font-weight: bold;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__image--medium {
  max-width: 800px;
}

.page-about__image--large {
  max-width: 1000px;
}

.page-about__dark-section {
  background-color: #17191F; /* Card B G */
  color: #FFF3E6;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent for depth */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
}

.page-about__value-title {
  font-size: 1.8em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FF8C1A;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #FFF3E6;
  font-size: 1.1em;
}

.page-about__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-about__btn--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #17191F; /* Card B G */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFA53A;
  font-weight: bold;
  font-size: 1.2em;
  user-select: none;
  list-style: none; /* For details/summary native marker */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide native marker */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FF8C1A;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

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

.page-about__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-about__faq-answer a {
  color: #FF8C1A;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__hero-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }
  .page-about__hero-image {
    max-height: 300px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__text-block, .page-about__value-description, .page-about__feature-item, .page-about__faq-answer {
    font-size: 0.95em;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card {
    padding: 25px;
  }
  .page-about__value-title {
    font-size: 1.5em;
  }
  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__btn--centered {
    margin-left: 0;
    margin-right: 0;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__container,
  .page-about__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}