/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  letter-spacing: 1px;
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about p {
  margin-bottom: 1em;
}

.page-about a {
  color: #57E38D; /* Glow for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: #F2C14E; /* Gold on hover */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__hero-content {
  margin-top: 40px;
  max-width: 900px;
  text-align: center;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-about__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 20px #57E38D;
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 25px #F2C14E;
}

.page-about__cta-button--secondary {
  background: none;
  border: 2px solid #2AD16F;
  color: #2AD16F;
  box-shadow: none;
}

.page-about__cta-button--secondary:hover {
  background: #2AD16F;
  color: #08160F;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* Mission and Vision Section */
.page-about__section--mission {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__image-block {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__text-block {
  padding: 20px;
}

/* History Section */
.page-about__section--history {
  background-color: #08160F;
}

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

.page-about__timeline-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__timeline-year {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-about__timeline-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Why Choose Us Section */
.page-about__section--why-choose-us {
  background-color: #0A4B2C;
}

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

.page-about__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-about__feature-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsible Gaming Section */
.page-about__section--responsible-gaming {
  background-color: #08160F;
}

.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-about__responsibility-list li {
  background-color: #11271B;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #1E3A2A; /* Divider */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__list-title {
  font-size: 1.3em;
  color: #F2C14E;
  margin-bottom: 10px;
}

/* Licensing Section */
.page-about__section--licensing {
  background-color: #0A4B2C;
}

/* FAQ Section */
.page-about__section--faq {
  background-color: #08160F;
}

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

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B;
  list-style: none;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-question::marker {
  display: none;
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Contact Section */
.page-about__section--contact {
  background-color: #0A4B2C;
  padding-bottom: 80px;
}

.page-about__container--flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__contact-content {
  flex: 1;
  padding-right: 20px;
}

.page-about__contact-image-wrapper {
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__responsibility-list {
    grid-template-columns: 1fr;
  }

  .page-about__container--flex {
    flex-direction: column;
  }

  .page-about__contact-content {
    padding-right: 0;
    text-align: center;
  }
}

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

  .page-about__intro-text,
  .page-about__description {
    font-size: 1em;
  }

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

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__contact-image-wrapper,
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__timeline-item,
  .page-about__feature-card,
  .page-about__responsibility-list li,
  .page-about__faq-item,
  .page-about__faq-question,
  .page-about__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .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__hero-content .page-about__cta-button {
    margin-left: 0;
    margin-right: 0;
  }

  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-about__hero-section {
    padding-top: 10px !important;
  }
}