/* style/about.css */

.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about__hero-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
}

.page-about__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-about__hero-content {
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.2em;
  color: #8B0000; /* Auxiliary Dark Red */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #555555;
  margin-bottom: 30px;
}

.page-about__hero-button,
.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary Gold */
  color: #8B0000; /* Dark Red text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-about__hero-button:hover,
.page-about__cta-button:hover {
  background-color: #8B0000; /* Auxiliary Dark Red on hover */
  color: #FFD700; /* Gold text on hover */
  border-color: #8B0000;
}

.page-about__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-about__story-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-about__story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-about__story-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__story-content {
  max-width: 800px;
  text-align: center;
}

.page-about__story-title {
  font-size: 2.5em;
  color: #8B0000;
  margin-bottom: 20px;
}

.page-about__story-text {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 15px;
}

.page-about__mission-vision-section {
  background-color: #f0f0f0;
  padding: 80px 20px;
}

.page-about__mission-vision-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.page-about__mission-card,
.page-about__vision-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  flex: 1 1 calc(50% - 40px);
  min-width: 300px;
  text-align: center;
}

.page-about__card-title {
  font-size: 2em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1.1em;
  color: #555555;
}

.page-about__choose-us-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-about__choose-us-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-about__choose-us-title {
  font-size: 2.5em;
  color: #8B0000;
  margin-bottom: 20px;
}

.page-about__choose-us-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 50px;
}

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

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

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

.page-about__feature-card img {
  max-width: 100%; /* Ensure images are responsive within their cards */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-title {
  font-size: 1.8em;
  color: #FFD700; /* Primary Gold */
  margin-bottom: 10px;
}

.page-about__feature-text {
  font-size: 1em;
  color: #666666;
}

.page-about__responsible-gaming-section {
  background-color: #8B0000; /* Auxiliary Dark Red */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-about__responsible-gaming-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__responsible-gaming-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary Gold */
  margin-bottom: 20px;
}

.page-about__responsible-gaming-text {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-about__responsible-gaming-button {
  display: inline-block;
  background-color: #FFD700; /* Primary Gold */
  color: #8B0000; /* Dark Red text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-about__responsible-gaming-button:hover {
  background-color: #ffffff;
  color: #8B0000;
  border-color: #ffffff;
}

.page-about__cta-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__cta-title {
  font-size: 2.5em;
  color: #8B0000;
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__hero-container {
    flex-direction: row;
    text-align: left;
  }

  .page-about__hero-image {
    flex: 1;
    order: 2;
  }

  .page-about__hero-content {
    flex: 1;
    order: 1;
    padding-right: 40px;
    text-align: left;
  }
  
  .page-about__story-container {
    flex-direction: row;
    text-align: left;
  }

  .page-about__story-image {
    flex: 1;
  }

  .page-about__story-content {
    flex: 1;
    padding-left: 40px;
    text-align: left;
  }

  .page-about__mission-card,
  .page-about__vision-card {
    flex: 1 1 calc(50% - 20px);
  }
}

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

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

  .page-about__story-title,
  .page-about__mission-vision-container h2,
  .page-about__choose-us-title,
  .page-about__responsible-gaming-title,
  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__mission-card,
  .page-about__vision-card {
    flex: 1 1 100%;
  }

  .page-about__feature-card img,
  .page-about__hero-image img,
  .page-about__story-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  .page-about__hero-button,
  .page-about__responsible-gaming-button,
  .page-about__cta-button {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }
  
  .page-about__hero-container,
  .page-about__story-container {
    flex-direction: column;
    text-align: center;
  }
  
  .page-about__hero-content,
  .page-about__story-content {
    padding: 0;
  }
  
  /* Prevent horizontal scroll on mobile */
  .page-about {
    overflow-x: hidden;
  }
  .page-about * {
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}