/* style/about.css */

/* Custom Colors */
:root {
  --zbet-primary: #11A84E;
  --zbet-secondary: #22C768;
  --zbet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --zbet-card-bg: #11271B;
  --zbet-background: #08160F;
  --zbet-text-main: #F2FFF6;
  --zbet-text-secondary: #A7D9B8;
  --zbet-border: #2E7A4E;
  --zbet-glow: #57E38D;
  --zbet-gold: #F2C14E;
  --zbet-divider: #1E3A2A;
  --zbet-deep-green: #0A4B2C;
}

/* Base Styles for page-about, assuming a dark body background from shared.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--zbet-text-main); /* Light text for dark background */
  background-color: var(--zbet-background); /* Ensure consistent background */
  line-height: 1.6;
}

.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 */
  text-align: center;
  background-color: var(--zbet-deep-green);
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--zbet-text-main);
  margin-bottom: 20px;
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--zbet-text-secondary);
}

.page-about__intro-text a {
  color: var(--zbet-secondary);
  text-decoration: underline;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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: var(--zbet-button-gradient);
  color: var(--zbet-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--zbet-secondary);
  border: 2px solid var(--zbet-secondary);
}

.page-about__btn-secondary:hover {
  background: var(--zbet-secondary);
  color: var(--zbet-background);
  transform: translateY(-2px);
}

.page-about__btn-tertiary {
  background: var(--zbet-deep-green);
  color: var(--zbet-text-main);
  border: 1px solid var(--zbet-border);
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-about__btn-tertiary:hover {
  background-color: var(--zbet-secondary);
  color: var(--zbet-background);
}

.page-about__section {
  padding: 80px 20px;
  text-align: center;
}

.page-about__section.page-about__dark-bg {
  background-color: var(--zbet-deep-green);
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--zbet-text-main);
  margin-bottom: 40px;
  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: var(--zbet-secondary);
  border-radius: 2px;
}

.page-about__paragraph {
  font-size: 1.05em;
  color: var(--zbet-text-secondary);
  margin-bottom: 25px;
  line-height: 1.7;
  text-align: justify;
}

.page-about__paragraph a {
  color: var(--zbet-secondary);
  text-decoration: underline;
}

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

.page-about__grid-image {
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-about__card {
  background-color: var(--zbet-card-bg);
  border: 1px solid var(--zbet-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--zbet-text-main);
}

.page-about__card-icon {
  width: 100px; /* Min size 200x200px for actual images, these are illustrative icons */
  height: 100px; /* Min size 200x200px for actual images */
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  filter: none; /* Ensure no CSS filter */
}

.page-about__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--zbet-text-main);
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 0.95em;
  color: var(--zbet-text-secondary);
  line-height: 1.6;
  text-align: justify;
}

.page-about__card-text a {
  color: var(--zbet-secondary);
  text-decoration: underline;
}

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

.page-about__product-card {
  background-color: var(--zbet-card-bg);
  border: 1px solid var(--zbet-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--zbet-text-main);
}

.page-about__product-image {
  width: 600px; /* Display width */
  height: 400px; /* Display height */
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

.page-about__product-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--zbet-text-main);
  margin-bottom: 10px;
}

.page-about__product-title a {
  color: var(--zbet-text-main);
  text-decoration: none;
}

.page-about__product-title a:hover {
  color: var(--zbet-secondary);
}

.page-about__product-description {
  font-size: 0.9em;
  color: var(--zbet-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-about__feature-item {
  background-color: var(--zbet-card-bg);
  border: 1px solid var(--zbet-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--zbet-text-main);
}

.page-about__feature-icon {
  width: 120px; /* Min size 200x200px for actual images, these are illustrative icons */
  height: 120px; /* Min size 200x200px for actual images */
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  filter: none; /* Ensure no CSS filter */
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--zbet-text-main);
  margin-bottom: 10px;
}

.page-about__feature-text {
  font-size: 0.95em;
  color: var(--zbet-text-secondary);
  line-height: 1.6;
  text-align: justify;
}

.page-about__feature-text a {
  color: var(--zbet-secondary);
  text-decoration: underline;
}

.page-about__full-width-image {
  width: 1000px; /* Display width */
  height: 750px; /* Display height */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

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

.page-about__reason-item {
  background-color: var(--zbet-card-bg);
  border: 1px solid var(--zbet-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--zbet-text-main);
}

.page-about__reason-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--zbet-text-main);
  margin-bottom: 10px;
}

.page-about__reason-text {
  font-size: 0.95em;
  color: var(--zbet-text-secondary);
  line-height: 1.6;
}

.page-about__reason-text a {
  color: var(--zbet-secondary);
  text-decoration: underline;
}

.page-about__cta-buttons--bottom {
  margin-top: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

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

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-about__main-title {
    font-size: 2.2em;
    letter-spacing: normal;
  }

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 50px 15px;
  }

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-about img,
  .page-about__card-icon,
  .page-about__product-image,
  .page-about__feature-icon,
  .page-about__grid-image,
  .page-about__full-width-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no CSS filter */
  }

  .page-about__card,
  .page-about__product-card,
  .page-about__feature-item,
  .page-about__reason-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__image-grid,
  .page-about__value-cards,
  .page-about__product-grid,
  .page-about__features-grid,
  .page-about__reason-list {
    gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-about__container {
    padding-left: 10px;
    padding-right: 10px;
  }
}