/* style/about.css */

/* Base Styles & Typography */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-about__container--flex {
  display: flex;
  gap: 30px;
}

.page-about__container--center {
  text-align: center;
}

.page-about__section-padding {
  padding: 80px 0;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.page-about__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-about__hero-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Story Section */
.page-about__story-section {
  background-color: #0d0d0d;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  background-color: #8B0000; /* Auxiliary color for a dark section */
}

.page-about__vision-content,
.page-about__mission-content {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

/* Advantages Section */
.page-about__advantages-section {
  background-color: #000000;
}

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

.page-about__advantage-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-about__advantage-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-about__card-description {
  color: #e0e0e0;
  font-size: 1em;
}

/* Responsible Gambling Section */
.page-about__responsible-gambling-section {
  background-color: #1a1a1a;
}

.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__list-item {
  background-color: rgba(255, 215, 0, 0.1);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 4px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-about__list-item strong {
  color: #FFD700;
}

/* Customer Support Section */
.page-about__customer-support-section {
  background-color: #000000;
}

.page-about__support-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__feature-item {
  background-color: rgba(139, 0, 0, 0.2);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #8B0000;
}

.page-about__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__feature-description {
  color: #e0e0e0;
  font-size: 1em;
}

.page-about__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(255, 215, 0, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about__cta-text {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-about__cta-button--secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 12px 25px;
  border: 2px solid #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #1a1a1a;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 215, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.page-about__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
  font-weight: bold;
}

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

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

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

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

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

/* Join Us Section */
.page-about__join-us-section {
  background-color: #8B0000;
}

.page-about__join-us-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 18px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
  border: none;
}

.page-about__join-us-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__container--flex {
    flex-direction: column;
  }
  .page-about__vision-content, .page-about__mission-content {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__hero-cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-about__section-padding {
    padding: 50px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__paragraph {
    font-size: 1em;
  }
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-about__advantage-card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__feature-title {
    font-size: 1.2em;
  }
  .page-about__cta-text {
    font-size: 1.1em;
  }
  .page-about__cta-button--secondary {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-title {
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px;
  }
  .page-about__join-us-cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  
  /* Responsive Images & Videos */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about video,
  .page-about__video {
    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-section, .page-about__video-section, .page-about__video-container, .page-about__video-wrapper, .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;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .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;
    margin-bottom: 10px; /* Add spacing for stacked buttons */
  }
  .page-about__cta-buttons, .page-about__button-group, .page-about__btn-container {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px; /* Spacing between stacked buttons */
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    height: 400px;
  }
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__hero-cta-button {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
}