/* 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 below fixed header */
}

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

/* Hero Section */
.page-about__hero-section {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.9), rgba(255, 215, 0, 0.9)); /* Red and Gold gradient for hero background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

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

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

.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #CC0000; /* Red text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

/* Section Titles */
.page-about__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Main red color */
  text-align: center;
  margin-bottom: 60px;
  margin-top: 80px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

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

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

.page-about__mission-content {
  flex: 1;
}

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

.page-about__learn-more-button {
  display: inline-block;
  background-color: #CC0000; /* Red button */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-about__learn-more-button:hover {
  background-color: #a30000;
}

.page-about__mission-image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

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

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

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

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #CC0000;
  margin-bottom: 15px;
}

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

.page-about__responsible-gaming-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__responsible-gaming-text {
  flex: 1;
}

.page-about__responsible-gaming-link {
  display: inline-block;
  color: #CC0000;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.page-about__responsible-gaming-link:hover {
  color: #a30000;
  text-decoration: underline;
}

.page-about__responsible-gaming-image-wrapper {
  flex: 1;
  text-align: center;
}

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

/* Call to Action Section */
.page-about__cta-section {
  background-color: #CC0000; /* Red background */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-about__cta-content {
  max-width: 900px;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-about__final-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #CC0000; /* Red text */
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

  .page-about__mission-grid, .page-about__responsible-gaming-content {
    flex-direction: column;
  }

  .page-about__mission-image-wrapper, .page-about__responsible-gaming-image-wrapper {
    margin-top: 40px;
  }
}

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

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

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

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
    margin-top: 60px;
  }

  .page-about__values-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-about__final-cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Mobile content overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about {
    overflow-x: hidden;
  }
}

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

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

  .page-about__hero-section, .page-about__mission-section, .page-about__values-section, .page-about__responsible-gaming-section, .page-about__cta-section {
    padding: 40px 15px;
  }

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

/* Ensure content area images meet minimum size requirements and original colors */
.page-about__mission-image, .page-about__value-icon, .page-about__responsible-gaming-image {
  filter: none; /* No CSS filter to change image color */
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
  width: auto; /* Allow natural scaling */
  height: auto; /* Allow natural scaling */
  display: block; /* Ensure it takes up space */
  margin: 0 auto; /* Center if smaller than container */
}

.page-about__value-icon {
  width: 200px; /* Specific width for icons to meet minimum, can be adjusted for visual */
  height: 200px;
  object-fit: cover;
}