/* style/about.css */

/* Base styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css or global */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Light text for descriptions */
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
}

.page-about__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Main brand color */
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.2), rgba(0, 0, 0, 0.8)); /* Subtle gradient with brand color */
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-about__hero-content {
  z-index: 1;
  max-width: 900px;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-about__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.1; /* Make image very subtle */
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Make image grayscale to blend with background */
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle light background for cards on dark body */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff; /* Light text for card content */
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__feature-icon {
  width: 150px; /* Increased size for icons */
  height: 100px; /* Increased size for icons */
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.5); /* Make icons brighter on dark background */
}

.page-about__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Products Overview Section */
.page-about__products-overview-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-about__product-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about__product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__card-link:hover {
  text-decoration: underline;
}

.page-about__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-about__content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-about__text-block {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__sub-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__text-content {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1); /* Subtle brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-about__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em;
}

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

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change to 'x' or rotate for '−' */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

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

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-about__cta-content {
  background-color: #26A9E0; /* Main brand color for CTA background */
  padding: 60px 40px;
  border-radius: 15px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-about__cta-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__cta-description {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General card styles (for page-about__dark-bg and page-about__light-bg) */
.page-about__card {
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__dark-bg {
  background-color: rgba(38, 169, 224, 0.1); /* Subtle brand color tint */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle white tint */
  color: #ffffff;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-about__mission-vision-grid,
  .page-about__content-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__products-overview-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

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

  .page-about__feature-card,
  .page-about__product-card,
  .page-about__text-block,
  .page-about__faq-item {
    padding: 20px;
  }

  .page-about__feature-icon {
    width: 100px;
    height: 80px;
  }

  .page-about__feature-title {
    font-size: 1.5em;
  }

  .page-about__card-title {
    font-size: 1.3em;
  }

  .page-about__sub-title {
    font-size: 1.8em;
  }

  .page-about__cta-content {
    padding: 40px 20px;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Responsive image rules */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__mission-vision-grid,
  .page-about__features-grid,
  .page-about__product-grid,
  .page-about__content-wrapper,
  .page-about__faq-list,
  .page-about__cta-content,
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Specific padding for sections if needed, or rely on .page-about__container */
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__products-overview-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}