/* style/about.css */

/* Base styles for page-about */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: #F3C54D; /* Gold */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF1E8;
  text-align: left;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up slightly over the bottom of the hero image */
  background: rgba(42, 18, 18, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-about__main-title {
  font-size: 3em;
  font-weight: 900;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.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: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8;
  border: none;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-about__btn-secondary {
  background: #C61F1F; /* Main Color */
  color: #FFF1E8;
  border: 2px solid #F3C54D; /* Gold border */
}

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  background: #E53030; /* Accent Color */
}

.page-about__overview-section,
.page-about__mission-section,
.page-about__security-section,
.page-about__team-section,
.page-about__cta-bottom-section {
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

.page-about__history-section,
.page-about__values-section,
.page-about__products-section,
.page-about__promotions-section,
.page-about__responsibility-section,
.page-about__faq-section {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

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

.page-about__value-list,
.page-about__product-list,
.page-about__promo-list,
.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-about__value-item,
.page-about__product-item,
.page-about__promo-item,
.page-about__responsibility-item {
  background: rgba(0, 0, 0, 0.2); /* Slightly transparent for depth */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover,
.page-about__product-item:hover,
.page-about__promo-item:hover,
.page-about__responsibility-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__value-title,
.page-about__product-title,
.page-about__promo-title,
.page-about__responsibility-title {
  font-size: 1.5em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description,
.page-about__product-description,
.page-about__promo-description,
.page-about__responsibility-description {
  font-size: 1em;
  color: #FFF1E8;
}

.page-about__faq-list {
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
  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: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid #6A1E1E;
  transition: background 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-about__faq-question:hover {
  background: rgba(0, 0, 0, 0.4);
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFF1E8;
}

.page-about__faq-answer {
  padding: 15px 25px 25px 25px;
  font-size: 1em;
  color: #FFF1E8;
  text-align: left;
}

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

.page-about__faq-answer .page-about__btn-primary {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Ensure contrast for specific sections */
.page-about__overview-section .page-about__container,
.page-about__mission-section .page-about__container,
.page-about__security-section .page-about__container,
.page-about__team-section .page-about__container,
.page-about__cta-bottom-section .page-about__container {
  background-color: transparent; /* Text is on body background */
  color: #FFF1E8;
}

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

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

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

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

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

  .page-about__hero-content {
    margin-top: -80px;
    padding: 20px 15px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__value-list,
  .page-about__product-list,
  .page-about__promo-list,
  .page-about__responsibility-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

  /* Responsive containers for images/content */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__overview-section,
  .page-about__history-section,
  .page-about__mission-section,
  .page-about__values-section,
  .page-about__security-section,
  .page-about__products-section,
  .page-about__promotions-section,
  .page-about__responsibility-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section,
  .page-about__value-item,
  .page-about__product-item,
  .page-about__promo-item,
  .page-about__responsibility-item,
  .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;
  }

  /* Specific adjustments for hero section padding */
  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

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

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

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

  .page-about__faq-answer .page-about__btn-primary {
    width: auto !important;
    max-width: 100% !important;
  }
}