/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #017439;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-accent-red: #C30808;
  --page-fishing-games-accent-yellow: #FFFF00;
  --page-fishing-games-text-dark: #333333;
  --page-fishing-games-text-light: #ffffff;
  --page-fishing-games-bg-dark: #0a0a0a; /* Inherited from shared.css body background */
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-light); /* Default text color for dark body background */
  background-color: var(--page-fishing-games-bg-dark);
  padding-top: 0; /* Handled by shared.css for body, or hero section if not */
}

.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  min-height: 600px;
  overflow: hidden;
  color: var(--page-fishing-games-text-light);
  background-color: var(--page-fishing-games-primary-color); /* Fallback, image will cover */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Dim image to ensure text contrast */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--page-fishing-games-text-light);
}

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

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__section-description,
.page-fishing-games__paragraph {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--page-fishing-games-text-light);
}

/* Image Styles */
.page-fishing-games__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Feature Grid */
.page-fishing-games__features .page-fishing-games__container {
  background-color: rgba(1, 116, 57, 0.1); /* Slightly transparent primary color */
  padding: 40px;
  border-radius: 12px;
}

.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 {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: left;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-accent-yellow);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-fishing-games__feature-card .page-fishing-games__card-description {
  font-size: 1em;
  color: var(--page-fishing-games-text-light);
  margin-bottom: 0;
}

.page-fishing-games__feature-card .page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 6px;
}

/* Guide Section */
.page-fishing-games__introduction,
.page-fishing-games__guide {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__introduction .page-fishing-games__section-title,
.page-fishing-games__guide .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-accent-yellow);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-fishing-games__step-card .page-fishing-games__card-description {
  font-size: 0.95em;
  color: var(--page-fishing-games-text-light);
}

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

/* Strategies Section */
.page-fishing-games__strategies {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__strategies .page-fishing-games__section-title {
  color: var(--page-fishing-games-secondary-color);
}

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__strategy-item .page-fishing-games__item-title {
  color: var(--page-fishing-games-accent-yellow);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-item .page-fishing-games__item-description {
  font-size: 0.95em;
  color: var(--page-fishing-games-text-light);
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
  text-align: center;
}

.page-fishing-games__video-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color);
}

.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: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

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

.page-fishing-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Ensure link is clickable over video */
}

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

/* FAQ Section */
.page-fishing-games__faq {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__faq .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.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;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-accent-yellow);
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.2); /* Lighter primary for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: var(--page-fishing-games-text-light);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Conclusion Section */
.page-fishing-games__conclusion {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
  padding: 80px 0;
}

.page-fishing-games__conclusion .page-fishing-games__section-title {
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__conclusion .page-fishing-games__section-description {
  color: var(--page-fishing-games-text-light);
  margin-bottom: 40px;
}

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

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-accent-red); /* Custom color for register/login */
  color: var(--page-fishing-games-accent-yellow); /* Custom font color */
  border: 2px solid var(--page-fishing-games-accent-red);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--page-fishing-games-accent-red), 10%);
  border-color: darken(var(--page-fishing-games-accent-red), 10%);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--page-fishing-games-accent-yellow);
  border: 2px solid var(--page-fishing-games-accent-yellow);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-accent-yellow);
  color: var(--page-fishing-games-primary-color);
}

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

/* Dark Backgrounds for contrast */
.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .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 {
    padding: 60px 0;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-description,
  .page-fishing-games__paragraph {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__guide-cta-buttons,
  .page-fishing-games__video-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-content,
  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__feature-grid,
  .page-fishing-games__step-by-step,
  .page-fishing-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__step-card,
  .page-fishing-games__strategy-item {
    padding: 20px;
  }
  .page-fishing-games__feature-card .page-fishing-games__card-title,
  .page-fishing-games__step-card .page-fishing-games__card-title,
  .page-fishing-games__strategy-item .page-fishing-games__item-title {
    font-size: 1.2em;
  }
  .page-fishing-games__video-wrapper {
    margin: 20px auto;
  }
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !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 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
  .page-fishing-games__conclusion {
    padding: 60px 0;
  }
  .page-fishing-games__btn-large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}

/* Ensure contrast on dark background for text */
.page-fishing-games p,
.page-fishing-games li,
.page-fishing-games__section-description,
.page-fishing-games__paragraph,
.page-fishing-games__feature-card .page-fishing-games__card-description,
.page-fishing-games__step-card .page-fishing-games__card-description,
.page-fishing-games__strategy-item .page-fishing-games__item-description,
.page-fishing-games__faq-answer p {
  color: var(--page-fishing-games-text-light); /* Enforce light text on dark body background */
}

.page-fishing-games__introduction .page-fishing-games__section-title,
.page-fishing-games__guide .page-fishing-games__section-title,
.page-fishing-games__video-section .page-fishing-games__section-title,
.page-fishing-games__faq .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color); /* Primary color for titles on dark background */
}

.page-fishing-games__features .page-fishing-games__section-title,
.page-fishing-games__strategies .page-fishing-games__section-title,
.page-fishing-games__conclusion .page-fishing-games__section-title {
  color: var(--page-fishing-games-secondary-color); /* White color for titles on primary color background */
}