/* style/fishing-games.css */
/* Body background is #1a1a2e (dark), so text should be light */

.page-fishing-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Main content background should be transparent to show body background */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 80px; /* Small top padding, larger bottom for content */
  min-height: 600px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay on hero image */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place behind content */
}

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

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

.page-fishing-games__hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.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;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  text-align: center;
  min-width: 180px;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* General Content Sections */
.page-fishing-games__section {
  padding: 60px 20px;
  margin-bottom: 30px;
  text-align: center;
}

.page-fishing-games__section--dark {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker background for contrast */
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__section-subtitle {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.page-fishing-games__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-fishing-games__text-block p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff; /* Light text */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card-icon {
  width: 80px; /* This is for conceptual icons, if real images, they need to be larger. */
  height: 80px;
  margin-bottom: 20px;
}

.page-fishing-games__feature-card h3,
.page-fishing-games__game-card h3 {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__feature-card p,
.page-fishing-games__game-card p {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, object-fit will cover */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__guide-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #f0f0f0;
}

.page-fishing-games__guide-list li strong {
  color: #26A9E0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.page-fishing-games__guide-list li p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-card h3 {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__promo-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  padding: 10px 20px;
  font-size: 1rem;
  min-width: unset;
}

.page-fishing-games__faq-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto 30px;
  text-align: center;
}

.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;
  color: #ffffff;
}

.page-fishing-games__faq-item summary {
  display: block; /* For details tag */
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  position: relative;
  color: #FFFFFF;
  text-align: left;
  list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Question text in brand color */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #FFFFFF;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: left;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 500px; /* Sufficient height for most answers */
  padding-top: 10px;
}
.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* For details tag */
    padding-top: 10px;
}

/* Images */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto; /* Center images */
}

/* Footer CTA */
.page-fishing-games__conclusion-cta {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 30px auto 60px;
  max-width: 1200px;
}

.page-fishing-games__conclusion-cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__conclusion-cta p {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-fishing-games__hero-content p {
    font-size: 1.1rem;
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
  .page-fishing-games__section-subtitle {
    font-size: 1.5rem;
  }
  .page-fishing-games__conclusion-cta h2 {
    font-size: 2.2rem;
  }
  .page-fishing-games__conclusion-cta p {
    font-size: 1.1rem;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 450px;
    padding-bottom: 60px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-fishing-games__hero-content p {
    font-size: 1rem;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Limit button group width */
    margin: 0 auto;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: unset;
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-subtitle {
    font-size: 1.3rem;
  }
  .page-fishing-games__content-wrapper {
    padding: 0 15px;
  }
  .page-fishing-games__feature-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__faq-section {
    padding: 40px 15px;
  }
  .page-fishing-games__faq-item summary {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 18px;
  }
  .page-fishing-games__conclusion-cta {
    padding: 50px 15px;
  }
  .page-fishing-games__conclusion-cta h2 {
    font-size: 1.8rem;
  }
  .page-fishing-games__conclusion-cta p {
    font-size: 1rem;
  }

  /* Mobile image, video, and container adaptations */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__content-wrapper img {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already set for these containers if needed */
  }
  .page-fishing-games__guide-list li {
    padding: 15px;
  }
  .page-fishing-games__guide-list li strong {
    font-size: 1.2rem;
  }
  .page-fishing-games__guide-list li p {
    font-size: 1rem;
  }
}