/* style/about.css */

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

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

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

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height of image wrapper */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px; /* Ensure the image doesn't stretch beyond its intended max width */
  margin: 0 auto;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background: rgba(17, 17, 17, 0.85); /* Card BG color with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-about__description {
  font-size: 1.1em;
  color: #FFF6D6;
  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;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid #FFD36B;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-about__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

.page-about__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

/* Section Titles and Intro Text */
.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #F2C14E; /* Main color for section titles */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-about__intro-text {
  font-size: 1.05em;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Our Story Section */
.page-about__our-story-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__text-block p {
  margin-bottom: 20px;
  color: #FFF6D6;
  font-size: 1.05em;
}

.page-about__image-block {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
  display: block;
  margin: 0 auto;
}

/* What We Offer Section */
.page-about__what-we-offer-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG for this section */
}

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

.page-about__feature-card {
  background: #0A0A0A; /* Background color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-about__feature-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color for feature titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-description {
  color: #FFF6D6;
  font-size: 1em;
  margin-bottom: 20px;
}

.page-about__feature-link {
  color: #F2C14E; /* Main color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__feature-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

/* Our Values Section */
.page-about__our-values-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.page-about__value-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-about__value-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color for value titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-item p {
  color: #FFF6D6;
  font-size: 1em;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-about__advantage-item {
  background: #0A0A0A;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
}

.page-about__advantage-title {
  font-size: 1.3em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__advantage-item p {
  color: #FFF6D6;
  font-size: 0.95em;
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-about__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #111111;
  color: #F2C14E; /* Main color for questions */
  font-size: 1.15em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1a1a1a;
}

.page-about__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow color for toggle */
}

.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, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1em;
}

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

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 2fr 1fr; /* Text on left, image on right for story */
  }
  .page-about__image-block {
    order: 2; /* Image on right */
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    margin-top: -50px; /* Less overlap on mobile */
    padding: 25px 15px;
  }

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

  .page-about__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-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }

  .page-about__intro-text {
    margin-bottom: 30px;
  }

  .page-about__our-story-section,
  .page-about__what-we-offer-section,
  .page-about__our-values-section,
  .page-about__why-choose-us-section,
  .page-about__faq-section {
    padding: 50px 0;
  }

  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-about__features-grid,
  .page-about__values-list,
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__faq-question,
  .page-about__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-about__hero-content {
    padding: 20px 10px;
  }
}