/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

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

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

.page-about__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

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

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

.page-about__text-block p {
  margin-bottom: 1em;
}

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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding for visual separation, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0; /* No border-radius for hero image */
}

.page-about__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: #FFF6D6;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-about__btn-secondary {
  background-color: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
}

.page-about__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Dark sections for contrast */
.page-about__dark-section {
  background-color: #111111;
}

/* Content specific styles */
.page-about__text-center {
  text-align: center;
}

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

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

/* FAQ Section */
.page-about__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #FFF6D6;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-about__faq-question h3 {
  margin: 0;
  color: #FFF6D6;
  font-size: 1em; /* Adjust to fit parent font size */
}

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
}

.page-about__faq-answer p {
  margin-top: 0;
  margin-bottom: 1em;
  line-height: 1.7;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__content-flex {
    flex-direction: column;
  }

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

  .page-about__image-block {
    margin-top: 30px;
  }

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

@media (max-width: 768px) {
  .page-about__section-padding {
    padding: 40px 0;
  }

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

  .page-about__section-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 30px;
  }

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

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

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

  .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;
    padding: 12px 20px;
  }

  .page-about__button-group {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-secondary {
    margin-left: 0 !important;
  }

  .page-about__image-responsive {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

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

  .page-about__faq-question h3 {
    font-size: 0.95em;
  }

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-about__section-padding {
    padding: 30px 0;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

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

  .page-about__hero-description,
  .page-about__cta-description {
    font-size: 0.95em;
  }
}