/* style/about.css */

/* Base styles for the page content, ensuring text visibility on dark background */
.page-about {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__section-title,
.page-about__subsection-title {
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  margin-bottom: 20px;
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 48px);
  text-align: center;
}

.page-about__subsection-title {
  font-size: clamp(22px, 3vw, 36px);
  margin-top: 40px;
}

.page-about__text-block,
.page-about__feature-item {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  font-size: 16px;
}

.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;
  padding-top: 10px; /* Small top spacing as body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Background */
}

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

.page-about__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to slightly overlap the image for visual flow */
  position: relative;
  z-index: 1;
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__hero-title {
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: clamp(32px, 5vw, 56px); /* Using clamp for responsive H1 */
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: normal; /* Allow button text to wrap */
  word-wrap: break-word; /* Allow button text to break words */
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.2);
}

/* General Section Styling */
.page-about__section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-about__introduction-section,
.page-about__responsible-gambling-section,
.page-about__future-section {
  background-color: #11271B; /* Card BG for contrast */
  padding: 80px 0;
}

.page-about__why-choose-us {
  padding: 80px 0;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum image display size */
  min-height: 200px; /* Minimum image display size */
}

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

.page-about__feature-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: bold;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #08160F; /* Background */
  padding: 80px 0;
}

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

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

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter hover */
}

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

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  width: 24px;
  text-align: center;
  color: #57E38D; /* Glow */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

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

.page-about__faq-answer a {
  color: #57E38D; /* Glow for links */
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #F2FFF6;
}

/* Final CTA Section */
.page-about__final-cta-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
  text-align: center;
}

.page-about__final-cta-content {
  max-width: 800px;
}

.page-about__final-cta-title {
  color: #F2FFF6; /* Text Main */
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
}

.page-about__final-cta-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 18px;
  margin-bottom: 40px;
}

.page-about__final-cta-button {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }

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

  .page-about__hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-about__hero-description {
    font-size: 16px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-about__section,
  .page-about__introduction-section,
  .page-about__why-choose-us,
  .page-about__responsible-gambling-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__final-cta-section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-about__subsection-title {
    font-size: clamp(20px, 4vw, 28px);
  }

  .page-about__text-block,
  .page-about__feature-item,
  .page-about__faq-answer p {
    font-size: 15px;
  }

  .page-about__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-about__hero-content {
    margin-top: -40px;
  }

  .page-about__hero-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .page-about__hero-description {
    font-size: 14px;
  }

  .page-about__section-title {
    font-size: clamp(20px, 6vw, 30px);
  }

  .page-about__subsection-title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .page-about__faq-item summary {
    font-size: 14px;
  }
}