/* style/about.css */

/* Base Styles */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f9fa;
}

.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: #003366;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-about__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Dark Background Sections */
.page-about__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__section-subtitle {
  color: #FFD700;
}

.page-about__dark-bg .page-about__paragraph {
  color: #e0e0e0;
}

/* Hero Section */
.page-about__hero-section {
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-image: url('[GALLERY:hero:1920x1080:ku_casino,about_us,brand_overview,online_gambling,vietnam]');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-about__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 51, 102, 0.7); /* Dark overlay */
  z-index: 0;
}

.page-about__hero-section .page-about__container {
  position: relative;
  z-index: 1;
}

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

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

/* Intro Section */
.page-about__intro-section {
  padding: 60px 0;
}

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

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Values Section */
.page-about__values-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

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

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

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

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 60px 0;
  text-align: center;
}

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

.page-about__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 200px; /* Limit height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-about__mv-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-about__mv-block {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-about__block-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #004488; /* Slightly lighter dark blue for question */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  margin: 0;
  flex-grow: 1;
  text-align: left;
  color: #ffffff;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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;
  text-align: left;
}

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

.page-about__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
}

/* CTA Section (Bottom) */
.page-about__cta-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-about__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: 2em;
  }

  .page-about__mv-grid,
  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid--reverse {
    flex-direction: column-reverse;
  }
}

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

  .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: 1.1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__section-subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-about__paragraph {
    font-size: 1em;
  }

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

  .page-about__image,
  .page-about__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__image-wrapper,
  .page-about__feature-card,
  .page-about__value-card,
  .page-about__mv-block,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-about__faq-answer {
    padding: 15px !important;
  }

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

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

  .page-about__content-grid,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__mv-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

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

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

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