/* style/about.css */

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-about__section-intro {
  font-size: 1.2em;
  text-align: center;
  color: #f0f0f0;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(255, 215, 0, 0.3)); /* Blend of colors */
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

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

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #000000;
  border-color: #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
  transform: translateY(-3px);
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-about__dark-bg-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-about__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  text-align: center;
}

.page-about__card-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: justify;
}

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

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.page-about__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__text-block {
  flex: 1;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 25px;
  margin-bottom: 15px;
}

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

.page-about__image-right {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

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

.page-about__innovation-item {
  background-color: rgba(139, 0, 0, 0.3); /* Dark red translucent */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-about__innovation-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__innovation-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
}

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

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

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

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

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

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

.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 25px;
  color: #f0f0f0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.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 {
  margin: 0;
  color: #f0f0f0;
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__grid,
  .page-about__features-grid,
  .page-about__innovation-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__image-right {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__section-intro {
    font-size: 1em;
  }
  .page-about__hero-section {
    min-height: 500px;
    padding: 20px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-content {
    padding: 30px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__grid,
  .page-about__features-grid,
  .page-about__innovation-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-image {
    height: 180px;
  }
  .page-about__card,
  .page-about__feature-item,
  .page-about__innovation-item {
    padding: 20px;
  }
  .page-about__faq-question,
  .page-about__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__faq-title {
    font-size: 1em;
  }
  /* Mobile content image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__responsible-gaming-section,
  .page-about__innovation-section,
  .page-about__cta-section,
  .page-about__faq-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__responsible-gaming-section .page-about__container,
  .page-about__innovation-section .page-about__container,
  .page-about__cta-section .page-about__container,
  .page-about__faq-section .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__image-right {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__feature-title {
    font-size: 1.4em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
}