/* style/about.css */

/* Base styles for the About page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: var(--text-secondary);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, var(--deep-green) 0%, var(--background) 100%);
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 40px;
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2em, 4.5vw, 3.5em); /* Using clamp for responsive H1 */
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-about__description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  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-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-about__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
  margin-left: 15px;
}

.page-about__btn-secondary:hover {
  background-color: var(--border);
  color: #ffffff;
}

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

/* Content Grid */
.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

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

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

.page-about__image-block--contact {
  flex: 0.8;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* FAQ Section */
.page-about__section--faq {
  background-color: var(--card-bg);
  padding: 80px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: var(--background);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  font-size: 1.15em;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  color: var(--gold);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 1em;
}

/* Contact Section */
.page-about__section--contact {
  padding-bottom: 80px;
}

.page-about__contact-info {
  flex: 1;
  padding-right: 40px;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-secondary);
}

.page-about__contact-list a {
  color: var(--gold);
  text-decoration: none;
}

.page-about__contact-list a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.2em;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }

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

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

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

  .page-about__text-block, .page-about__image-block {
    flex: none;
    width: 100%;
  }

  .page-about__image-block--contact {
    flex: none;
    width: 100%;
    margin-top: 40px;
  }

  .page-about__contact-info {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

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

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  /* Buttons */
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    padding: 12px 20px;
  }

  .page-about__hero-content .page-about__btn-primary,
  .page-about__hero-content .page-about__btn-secondary {
    margin-bottom: 15px;
  }

  .page-about__hero-content a {
    display: block;
  }

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

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

  /* Images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-section,
  .page-about__section,
  .page-about__container,
  .page-about__content-grid,
  .page-about__text-block,
  .page-about__image-block,
  .page-about__faq-list,
  .page-about__contact-info,
  .page-about__image-block--contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-about__hero-image {
    margin-bottom: 30px;
  }

  .page-about__section--faq {
    padding: 60px 0;
  }
}

/* Custom Colors (from prompt) */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Color Contrast Adjustments (based on dark background) */
.page-about h1, .page-about h2, .page-about h3, .page-about h4, .page-about h5, .page-about h6 {
  color: var(--text-main);
}

.page-about p, .page-about li {
  color: var(--text-secondary);
}

.page-about a {
  color: var(--gold);
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}

.page-about__btn-secondary:hover {
  background-color: var(--border);
  color: #ffffff;
}

.page-about__section--faq {
  background-color: var(--card-bg);
}

.page-about__faq-item {
  background-color: var(--background);
  border-color: var(--border);
}

.page-about__faq-question {
  color: var(--text-main);
}

.page-about__faq-toggle {
  color: var(--gold);
}

.page-about__faq-answer {
  color: var(--text-secondary);
}