/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color); /* Inherit from shared, assumed dark */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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__section-title {
  font-size: clamp(2em, 5vw, 3em);
  color: #F4D34D; /* Gold */
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  color: #F4D34D; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* 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;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  color: #FFF5E1;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border Gold */
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFD86A; /* Gold */
  border: 2px solid #F2B544; /* Border Gold */
}

.page-about__btn-secondary:hover {
  background-color: rgba(255, 216, 106, 0.1);
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

/* Content Images */
.page-about__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__feature-card {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #7A0E0E; /* Deep Red border */
}

.page-about__feature-title {
  font-size: 1.8em;
  color: #FFD86A; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-description {
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
  text-align: center;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #7A0E0E; /* Deep Red border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF5E1; /* Text Main */
}

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #C91F17; /* Main color */
  color: #FFD86A; /* Gold */
  border-bottom: 1px solid #7A0E0E;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 20px;
  font-size: 1.1em;
  text-align: left;
  background-color: #D32F2F; /* Card BG */
  border-top: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
  }

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

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

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

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__image-content,
  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__features-grid,
  .page-about__faq-list,
  .page-about__cta-buttons,
  .page-about__section,
  .page-about__feature-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

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

/* Ensure no image filters are applied */
.page-about img {
  filter: none;
}