/* style/about.css */

/* Custom Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--color-text-main); /* Default text color for dark background */
  background-color: var(--color-background); /* Ensure body background is respected */
}

.page-about__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-about__light-bg {
  background-color: #f5f5f5; /* Using a light background for contrast */
  color: #333333; /* Dark text for light background */
}

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

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, not var(--header-offset) */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not color change */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 50px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gold);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.page-about__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-text-main);
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
}

.page-about__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-gold);
}

.page-about__light-bg .page-about__section-title {
  color: var(--color-primary);
}

.page-about__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.page-about__light-bg .page-about__text-block {
  color: #333333;
}

.page-about__grid-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__grid-layout--reverse {
  flex-direction: row-reverse;
}

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

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-about__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-main);
}

.page-about__light-bg .page-about__card {
  background-color: #ffffff;
  color: #333333;
  border-color: #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 15px;
}

.page-about__light-bg .page-about__card-title {
  color: var(--color-deep-green);
}

.page-about__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.page-about__light-bg .page-about__card-text {
  color: #555555;
}

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

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__product-card .page-about__cta-button {
  margin-top: 20px;
  width: calc(100% - 20px); /* Adjust for padding/border if any */
  margin-left: 0;
}

.page-about__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-about__list-item {
  background-color: var(--color-deep-green);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-main);
  border-left: 5px solid var(--color-primary);
}

.page-about__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light background */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-deep-green);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #e6ffe6; /* Lighter green when open */
  border-bottom: 1px solid var(--color-primary);
}

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--color-primary);
}

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-about__faq-answer .page-about__text-block {
  margin-bottom: 0;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__grid-layout {
    flex-direction: column;
  }
  .page-about__grid-layout--reverse {
    flex-direction: column;
  }
  .page-about__hero-content {
    margin-top: 30px;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }
  .page-about__section-title {
    font-size: 1.8rem;
  }
  .page-about__btn-secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__hero-section {
    padding: 10px 15px 40px; /* Small top padding for mobile */
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-about__hero-description {
    font-size: 1rem;
  }
  .page-about__cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button-group .page-about__cta-button {
    margin-left: 0;
  }
  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Ensure minimum size is still met */
    min-height: 200px; /* Ensure minimum size is still met */
  }
  .page-about__image-block, .page-about__content-block, .page-about__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__product-image {
    height: auto; /* Allow auto height for responsive */
    min-height: 180px; /* Maintain a reasonable minimum */
  }
  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .page-about__list-item {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.2rem, 8vw, 2rem);
  }
  .page-about__section-title {
    font-size: 1.5rem;
  }
  .page-about__card-title {
    font-size: 1.3rem;
  }
}