/* style/about.css */

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

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--k9club-text-main); /* Default text color for dark background */
  background-color: var(--k9club-background);
}

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

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

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

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

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--k9club-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.1em;
  color: var(--k9club-text-secondary);
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background: var(--k9club-button-gradient);
  color: var(--k9club-text-main);
  border: none;
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-about__btn-secondary:hover {
  background-color: var(--k9club-primary);
  color: var(--k9club-text-main);
  transform: translateY(-2px);
}

/* General Section Styles */
.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--k9club-divider);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--k9club-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

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

.page-about__text-block {
  flex: 1;
  font-size: 1.05em;
  color: var(--k9club-text-secondary);
}

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

.page-about__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-about__image--center {
  max-width: 800px;
  margin: 30px auto;
  width: 100%; /* Ensure it takes full width within its max-width */
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-about__list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--k9club-text-main);
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--k9club-card-bg);
  padding: 80px 0;
  border-top: 1px solid var(--k9club-border);
}

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

.page-about__faq-item {
  background-color: var(--k9club-background);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--k9club-border);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--k9club-text-main);
  font-size: 1.15em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

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

.page-about__faq-question:hover {
  background-color: var(--k9club-deep-green);
}

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

.page-about__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: var(--k9club-primary);
}

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

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

/* CTA Bottom Section */
.page-about__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: var(--k9club-background);
}

.page-about__cta-bottom .page-about__section-title {
  margin-bottom: 20px;
}

.page-about__cta-bottom .page-about__text-block {
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__content-wrapper {
    flex-direction: column;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__image {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .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: 12px 20px;
    font-size: 1em;
  }

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

  .page-about__text-block {
    font-size: 0.95em;
  }

  .page-about__image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons,
  .page-about__faq-list {
    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;
    padding-bottom: 40px;
  }

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

  .page-about__faq-answer {
    padding: 0 20px 15px;
  }
  
  /* Ensure content area images are at least 200px */
  .page-about__content-area img,
  .page-about__text-block img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__hero-image {
    margin-bottom: 20px;
  }
}

/* Ensure all content area images meet minimum size requirements */
.page-about__content-area img,
.page-about__text-block img,
.page-about__image {
  min-width: 200px;
  min-height: 200px;
}