/* style/about.css */

/* General Page Styles */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css var(--bg-dark) */
}

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

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

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

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

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

.page-about__card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-about__card-text {
  font-size: 1em;
  color: #cccccc;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #8B0000; /* Dark red text on gold button for contrast */
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 80vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop and mobile header offset */
  box-sizing: border-box;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

.page-about__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-about__hero-cta-button {
  font-size: 1.2em;
  padding: 15px 35px;
  border-radius: 50px;
  background-color: #FFD700;
  color: #8B0000;
  border: none;
}

.page-about__hero-cta-button:hover {
  background-color: #e6c200;
  color: #6a0000;
}

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

/* Mission Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-about__two-column-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-about__column {
  flex: 1;
}

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

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

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

.page-about__value-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border-top: 5px solid #FFD700;
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
}

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

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__list-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-about__list-item::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Products Section */
.page-about__products-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: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-about__product-card:hover {
  transform: translateY(-10px);
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-about__product-card .page-about__card-title, .page-about__product-card .page-about__card-text {
  padding: 0 20px;
}

.page-about__product-card .page-about__card-text {
  flex-grow: 1;
  padding-bottom: 20px;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-about__feature-item {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border-left: 5px solid #8B0000;
}

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

.page-about__feature-description {
  color: #cccccc;
}

/* Responsible Gambling Section */
.page-about__responsible-gambling-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-about__responsible-gambling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__rg-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 5px solid #8B0000;
}

/* Future Section */
.page-about__future-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #2a2a2a;
  border-bottom: 1px solid #333;
}

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

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

.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: #cccccc;
}

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

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

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 80px 0;
  background-color: #8B0000; /* Dark red background for strong CTA */
  text-align: center;
}

.page-about__contact-cta-section .page-about__section-title {
  color: #FFD700;
}

.page-about__contact-cta-section .page-about__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }

  .page-about__hero-description {
    font-size: 1.3em;
  }

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

  .page-about__two-column-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__reverse-on-mobile {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

  .page-about__hero-cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }

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

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

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

  .page-about__value-card, .page-about__feature-item, .page-about__rg-card {
    padding: 25px;
  }

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

  .page-about__product-card {
    text-align: left;
  }

  .page-about__product-card .page-about__card-title, .page-about__product-card .page-about__card-text {
    padding: 0 15px;
  }

  .page-about__product-card .page-about__card-text {
    padding-bottom: 15px;
  }

  .page-about__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__cta-button, .page-about__hero-cta-button, .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__container, .page-about__two-column-layout, .page-about__values-grid, .page-about__product-grid, .page-about__security-features, .page-about__responsible-gambling-grid, .page-about__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-about img {
    max-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__video-section, .page-about__video-container, .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}