/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Inherits from body, but good to explicitly state */
  line-height: 1.6;
  padding-bottom: 60px; /* Space above footer */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
  overflow: hidden;
}

.page-fishing-games__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
  filter: none !important; /* Ensure no filter on images */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Special color for H1 as per custom color rule */
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* General content sections */
.page-fishing-games__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-fishing-games__text-block p a {
  color: #017439;
  text-decoration: underline;
}

.page-fishing-games__text-block p a:hover {
  color: #005f2d;
}

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

.page-fishing-games__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-image {
  width: 100%; /* Ensure max-width: 100% on mobile */
  height: 200px; /* Minimum 200px requirement */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  filter: none !important; /* Ensure no filter on images */
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

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

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

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: none !important; /* Ensure no filter on images */
}

.page-fishing-games__game-content {
  padding: 25px;
}

.page-fishing-games__game-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-fishing-games__game-play-button {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-fishing-games__game-play-button:hover {
  background-color: #e02020;
}

/* How to Play section */
.page-fishing-games__steps-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  font-size: 2em;
  font-weight: bold;
  color: #017439;
  margin-right: 20px;
  flex-shrink: 0;
  background-color: #e6f7ed;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #017439;
}

.page-fishing-games__step-content h3 {
  font-size: 1.5em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__step-content p {
  color: #555555;
}

/* Promotions section */
.page-fishing-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: none !important; /* Ensure no filter on images */
}

.page-fishing-games__promo-content {
  padding: 25px;
  flex-grow: 1;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-fishing-games__promo-button {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
  box-sizing: border-box;
}

.page-fishing-games__promo-button:hover {
  background-color: #e02020;
}

/* Download App section */
.page-fishing-games__download-section {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  margin: 60px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-fishing-games__download-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-fishing-games__download-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.page-fishing-games__download-image {
  width: 100%;
  max-width: 600px; /* Adjust as needed */
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  filter: none !important; /* Ensure no filter on images */
}

/* FAQ Section */
.page-fishing-games__faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.page-fishing-games__faq-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.page-fishing-games__faq-item:last-child {
  border-bottom: none;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  color: #005f2d;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1em;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important;
  padding: 15px;
}

/* Video Section */
.page-fishing-games__video-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 8px;
  margin-top: 30px;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Call to Action Section */
.page-fishing-games__call-to-action {
  background-color: #f0f8ff; /* Light background for CTA */
  border: 1px solid #e0e0e0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__section,
  .page-fishing-games__download-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__video-section {
    margin: 40px 15px;
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__step-item {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__step-item::before {
    margin: 0 auto 15px auto;
  }
  .page-fishing-games__download-title {
    font-size: 2em;
  }
  .page-fishing-games__download-description {
    font-size: 1em;
  }
  .page-fishing-games__download-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  /* Images and Videos responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    filter: none !important; /* Ensure no filter on images */
  }

  .page-fishing-games__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  /* All containers with images/videos */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container,
  .page-fishing-games__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    min-width: unset;
    padding: 12px 20px;
  }
}

/* Ensure no filter on images */
.page-fishing-games img {
  filter: none !important;
}