/* style/about.css */

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

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--sh88-text-main); /* Text Main for general content */
  background-color: var(--sh88-background); /* Background color */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: var(--sh88-background);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

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

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--sh88-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.1em;
  color: var(--sh88-text-secondary);
  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: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background: var(--sh88-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--sh88-glow) inset;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--sh88-glow) inset;
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--sh88-gold);
  border: 2px solid var(--sh88-gold);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-about__btn-secondary:hover {
  background: var(--sh88-gold);
  color: var(--sh88-background);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.8);
}

.page-about__section {
  padding: 80px 20px;
  background-color: var(--sh88-background);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--sh88-primary-color);
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--sh88-gold);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-about__card {
  background-color: var(--sh88-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--sh88-border);
  text-align: center;
  color: var(--sh88-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__card-title {
  font-size: 1.8em;
  color: var(--sh88-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 1em;
  color: var(--sh88-text-secondary);
  line-height: 1.7;
  text-align: left;
}

.page-about__text-block {
  margin-bottom: 40px;
}

.page-about__sub-title {
  font-size: 2em;
  color: var(--sh88-gold);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about p {
  margin-bottom: 1em;
  color: var(--sh88-text-secondary);
}

.page-about a {
  color: var(--sh88-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: var(--sh88-gold);
  text-decoration: underline;
}

.page-about__faq-section {
  background-color: var(--sh88-background);
}

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

.page-about__faq-item {
  background-color: var(--sh88-card-bg);
  border: 1px solid var(--sh88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--sh88-text-main);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--sh88-primary-color);
  cursor: pointer;
  background-color: rgba(17, 168, 78, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: rgba(17, 168, 78, 0.25);
}

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

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

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--sh88-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--sh88-divider);
}

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

.page-about__faq-link {
  color: var(--sh88-gold) !important;
  text-decoration: underline !important;
}

.page-about__contact-list,
.page-about__social-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-about__contact-list li,
.page-about__social-list li {
  margin-bottom: 10px;
  color: var(--sh88-text-secondary);
}

.page-about__contact-list li strong {
  color: var(--sh88-primary-color);
}

.page-about__social-link {
  display: inline-block;
  background-color: var(--sh88-primary-color);
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-about__social-link:hover {
  background-color: var(--sh88-gold);
  color: var(--sh88-background);
  text-decoration: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.8em;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 10px 15px 40px;
  }
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__section {
    padding: 50px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 1.4em;
  }
  .page-about__card-text {
    font-size: 0.95em;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-about__faq-answer {
    font-size: 0.95em;
    padding: 12px 20px 15px;
  }

  /* Mobile image responsiveness */
  .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,
  .page-about__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  /* Mobile button responsiveness */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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;
  }
  
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }
  
  .page-about__cta-buttons {
    flex-direction: column;
  }
}