/* style/fishing-games.css */

/* Base Styles for the Fishing Games Page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared.css, dark background */
}

/* General container for content */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Link styles */
.page-fishing-games a {
  color: #FFFF00; /* Yellow for links */
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__hero-section.page-fishing-games__dark-bg {
  background-color: #017439; /* Primary brand color for hero background */
  color: #ffffff;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

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

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login font yellow */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font yellow */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(195, 8, 8, 0.2);
  color: #FFFF00;
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Introduction Section */
.page-fishing-games__introduction-section.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-fishing-games__introduction-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__introduction-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title {
  color: #ffffff;
}

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

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

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

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 1.5em;
  color: #FFFF00; /* Yellow for card titles */
  margin-bottom: 15px;
}

.page-fishing-games__feature-card p {
  color: #f0f0f0;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-fishing-games__games-showcase .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__games-showcase .page-fishing-games__text-block {
  color: #333333;
}

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

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.3em;
  color: #017439;
  margin: 15px 0;
  padding: 0 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card p {
  color: #555555;
  padding: 0 15px 20px;
}

/* Guide Section */
.page-fishing-games__guide-section.page-fishing-games__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0;
}

.page-fishing-games__guide-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__guide-section .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-top: 30px;
  color: #f0f0f0;
}

.page-fishing-games__guide-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-fishing-games__guide-list li strong {
  color: #FFFF00;
}

/* Promotions Section */
.page-fishing-games__promotions-section.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__promotions-section .page-fishing-games__text-block {
  color: #f0f0f0;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.5em;
  color: #FFFF00; /* Yellow for card titles */
  margin-bottom: 15px;
}

.page-fishing-games__promo-card p {
  color: #f0f0f0;
}

/* Mobile App Section */
.page-fishing-games__mobile-app-section.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-fishing-games__mobile-app-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__mobile-app-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__app-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-fishing-games__faq-section.page-fishing-games__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-title {
  margin: 0;
  color: #f0f0f0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #FFFF00;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
  color: #cccccc;
}

/* Call to Action Section */
.page-fishing-games__cta-section.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  max-width: 800px;
  margin: 20px auto 40px;
  color: #333333;
}

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

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

  .page-fishing-games__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-fishing-games__text-block {
    font-size: 1em;
  }

  .page-fishing-games__container {
    padding: 15px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__app-content {
    flex-direction: column;
  }

  .page-fishing-games__app-image {
    margin-top: 30px;
  }

  /* Force images to be responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-app-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing for fixed header */
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__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;
    flex-direction: column; 
  }

  .page-fishing-games__cta-button, .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary, .page-fishing-games a[class*="button"], .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

/* Color Contrast Fixes for specific elements on light background */
.page-fishing-games__light-bg .page-fishing-games__card-title a {
  color: #017439;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__faq-question {
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__faq-title {
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__faq-answer p {
  color: #555555;
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background-color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__faq-question:hover {
  background-color: #e0e0e0;
}

/* Ensure strong contrast for all text on the dark body background */
.page-fishing-games p, .page-fishing-games li, .page-fishing-games h1, .page-fishing-games h2, .page-fishing-games h3, .page-fishing-games h4, .page-fishing-games h5, .page-fishing-games h6 {
  color: #f0f0f0; /* Default light color for text on dark body */
}

/* Override for light background sections */
.page-fishing-games__light-bg p, .page-fishing-games__light-bg li, .page-fishing-games__light-bg h1, .page-fishing-games__light-bg h2, .page-fishing-games__light-bg h3, .page-fishing-games__light-bg h4, .page-fishing-games__light-bg h5, .page-fishing-games__light-bg h6 {
  color: #333333; /* Dark color for text on light backgrounds */
}

.page-fishing-games__light-bg a {
  color: #017439;
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
  color: #C30808;
  border-color: #C30808;
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary:hover {
  background-color: rgba(195, 8, 8, 0.1);
}