/* style/about.css */

/* General Styles */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color */
  background-color: #08160F; /* Background color */
}

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

.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-about__section:last-of-type {
  border-bottom: none;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Main text color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #A7D9B8; /* Secondary text color */
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 2em;
}

.page-about__list-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 10px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
}

.page-about__list-item strong {
  color: #57E38D; /* Glow color */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body已承担 --header-offset */
  background-color: #08160F;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: 3.5em;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__lead-text {
  font-size: 1.3em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-about__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-about__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Core Values Section */
.page-about__core-values {
  background-color: #08160F;
}

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

.page-about__value-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E;
}

.page-about__value-title {
  font-size: 1.8em;
  color: #57E38D; /* Glow color */
  margin-bottom: 15px;
}

/* Products and Services Section */
.page-about__products-services {
  background-color: #08160F;
}

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

.page-about__product-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about__product-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

.page-about__product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E;
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #22C768; /* Auxiliary color */
  color: #08160F;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push button to bottom */
  transition: background-color 0.3s ease;
}

.page-about__btn-secondary:hover {
  background-color: #13994A;
}

/* Responsible Gambling / Future Sections */
.page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
}

/* Why Choose Section */
.page-about__why-choose {
  background-color: #08160F;
}

/* Contact Section */
.page-about__contact {
  background-color: #08160F;
  text-align: center;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.page-about__contact-item {
  font-size: 1.1em;
  color: #A7D9B8;
}

.page-about__contact-item strong {
  color: #F2FFF6;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #08160F;
}

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

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  user-select: none;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: #A7D9B8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__paragraph {
    font-size: 1em;
  }
  .page-about__values-grid,
  .page-about__products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: 2.5em;
  }
  .page-about__lead-text {
    font-size: 1.1em;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__content-flex {
    flex-direction: column;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__image-wrapper {
    margin-top: 30px;
  }
  .page-about__values-grid,
  .page-about__products-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card,
  .page-about__product-card {
    padding: 20px;
  }
  .page-about__cta-button,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .page-about__cta-button--large {
    padding: 15px 25px !important;
    font-size: 1.1em !important;
  }
  .page-about__hero-content .page-about__cta-button {
    margin-left: auto;
    margin-right: auto;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__container,
  .page-about__value-card,
  .page-about__product-card,
  .page-about__image-wrapper,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__hero-image-wrapper {
    max-height: 300px;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-about__contact-list {
    align-items: flex-start;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__lead-text {
    font-size: 1em;
  }
  .page-about__hero-image-wrapper {
    max-height: 250px;
  }
}