/* style/about.css */

/* General styles for the about page content */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is #000 from shared.css */
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFCC00; /* Accent color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px; /* Internal padding, assuming body padding-top from shared.css */
  background: linear-gradient(135deg, #003366, #001a33); /* Brand colors */
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFCC00;
  margin-bottom: 25px;
  line-height: 1.1;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-about__btn-primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-about__btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-about__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.page-about__btn-tertiary {
  background-color: #003366;
  color: #ffffff;
  border: 2px solid #003366;
}

.page-about__btn-tertiary:hover {
  background-color: #001a33;
  border-color: #001a33;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background */
  display: block;
}

/* Section common styles */
.page-about__mission-vision-section,
.page-about__values-section,
.page-about__why-choose-us-section,
.page-about__video-section,
.page-about__responsible-gambling-section,
.page-about__faq-section,
.page-about__cta-section {
  padding: 80px 0;
}

.page-about__mission-vision-section, .page-about__why-choose-us-section, .page-about__responsible-gambling-section {
  background-color: #003366; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-about__values-section, .page-about__video-section, .page-about__faq-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-about__cta-section {
  background: linear-gradient(135deg, #003366, #001a33);
}

/* Content Grid */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__content-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);
}

.page-about__block-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__content-block p {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  background-color: #001a33; /* Darker brand color */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-about__card-title {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__value-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
}

/* Why Choose Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__feature-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-about__why-choose-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 50px auto 0 auto;
  display: block;
}

/* Video Section */
.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 40px;
}

.page-about__video-wrapper .page-about__video,
.page-about__video-wrapper .page-about__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-about__video-link {
  text-decoration: none;
}

.page-about__video {
  border-radius: 10px;
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Responsible Gambling Section */
.page-about__responsible-gambling-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 50px auto 0 auto;
  display: block;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-about__faq-item {
  background-color: #001a33;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #003366;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #004488;
}

.page-about__faq-title {
  font-size: 1.2em;
  color: #FFCC00;
  margin: 0;
  line-height: 1.4;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  color: #FFCC00;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

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

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

.page-about__faq-answer p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
}

/* Call to Action Section */
.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__content-grid,
  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__hero-content {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-about__content-block,
  .page-about__value-card,
  .page-about__feature-item,
  .page-about__faq-item {
    padding: 20px;
  }
  .page-about__block-title,
  .page-about__card-title,
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__video-section,
  .page-about__responsible-gambling-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Image responsive rules for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive rules for mobile */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    font-size: 0.95em;
  }
}