/* 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(--bg-color);
}

.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__dark-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-about__light-bg {
  background-color: #0A4B2C; /* Deep Green for contrast on light sections */
  color: var(--text-main);
}

.page-about__section-title {
  font-size: clamp(2em, 2.5vw, 3em);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-about__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-about__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

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

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

.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-color);
}

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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
}

.page-about__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about__hero-content {
  padding: 60px 20px;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 0.9) 100%);
  margin-top: -120px; /* Overlap image slightly */
  position: relative;
  z-index: 1;
}

/* Cards Grid */
.page-about__cards-grid,
.page-about__features-grid,
.page-about__products-grid,
.page-about__commitment-grid,
.page-about__team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__card,
.page-about__feature-item,
.page-about__product-card,
.page-about__commitment-item,
.page-about__team-member-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-about__card:hover,
.page-about__feature-item:hover,
.page-about__product-card:hover,
.page-about__commitment-item:hover,
.page-about__team-member-card:hover {
  transform: translateY(-5px);
}

.page-about__card-title,
.page-about__feature-title,
.page-about__commitment-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-about__card-text,
.page-about__feature-description,
.page-about__commitment-description {
  font-size: 1em;
  color: var(--text-secondary);
  flex-grow: 1;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
  width: 100%;
}

.page-about__list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 25px;
}

.page-about__list li::before {
  content: '✔';
  color: var(--glow);
  position: absolute;
  left: 0;
  top: 0;
}

/* Features Grid specific */
.page-about__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Products Grid specific */
.page-about__product-card {
  text-align: left;
}

.page-about__product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__product-content {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-about__product-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-about__product-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__product-card .page-about__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Team Section */
.page-about__team-member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--gold);
}

.page-about__team-member-name {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 5px;
}

.page-about__team-member-position {
  font-size: 1em;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-about__team-member-bio {
  font-size: 0.9em;
  color: var(--text-secondary);
}

.page-about__team-culture {
  margin-top: 40px;
  font-style: italic;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-about__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid var(--divider);
}

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

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow);
}

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

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

.page-about__faq-answer a {
  color: var(--glow);
  text-decoration: none;
}

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

/* Contact Section */
.page-about__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: var(--text-secondary);
}

.page-about__contact-info p {
  margin-bottom: 10px;
}

.page-about__contact-info strong {
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-image-wrapper {
    height: 500px;
  }
  .page-about__hero-content {
    margin-top: -100px;
  }
}

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

  .page-about__container {
    padding: 0 15px;
  }

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

  .page-about__hero-image-wrapper {
    height: 350px;
  }
  .page-about__hero-content {
    margin-top: -80px;
    padding: 40px 15px;
  }

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

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

  .page-about__cards-grid,
  .page-about__features-grid,
  .page-about__products-grid,
  .page-about__commitment-grid,
  .page-about__team-members-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__feature-item,
  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__team-member-card {
    padding: 20px;
  }

  .page-about__product-image {
    height: 200px;
  }

  .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;
  }

  /* Image responsive enforcement */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Video responsive enforcement (if any) */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}