/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Matching shared body background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 700px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(1, 116, 57, 0.6)); /* Dark overlay with brand color */
  z-index: -1;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styling */
.page-fishing-games__section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: #0d0d0d; /* Slightly different dark background for contrast */
}

.page-fishing-games__heading {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for headings */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-fishing-games__sub-heading {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__paragraph a {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: none;
}

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

/* 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-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Register/Login color */
}

.page-fishing-games__center-buttons {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 20px;
}

/* Lists */
.page-fishing-games__step-list,
.page-fishing-games__strategy-list,
.page-fishing-games__reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__list-item {
  background-color: rgba(1, 116, 57, 0.1);
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
}

.page-fishing-games__list-item strong {
  color: #FFFF00;
}

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

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

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

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

/* Mobile Experience Section */
.page-fishing-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
}

.page-fishing-games__mobile-text .page-fishing-games__btn-primary {
  margin-top: 20px;
  width: auto;
}

/* Video Section */
.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block; /* Ensure video takes full space */
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

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

.page-fishing-games__faq-question:hover {
  background-color: #02944d;
}

.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-question {
  background-color: #02944d;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.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: 0;
  padding-bottom: 10px;
}

.page-fishing-games__faq-answer a {
  color: #FFFF00;
  text-decoration: none;
}

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

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

  .page-fishing-games__heading {
    font-size: 2em;
  }

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

  .page-fishing-games__mobile-image,
  .page-fishing-games__mobile-text {
    max-width: 100%;
  }
}

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

  .page-fishing-games__hero-section {
    height: 550px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1.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;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

  .page-fishing-games__center-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__card-image,
  .page-fishing-games__mobile-image,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__mobile-content,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-fishing-games__video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }

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

  .page-fishing-games__heading {
    font-size: 1.5em;
  }
}

/* Ensure content area images are not too small */
.page-fishing-games img {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filter on images */
.page-fishing-games img {
  filter: none; /* Explicitly ensure no filter */
}