/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.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%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #017439; /* Use brand color for hero section background */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
  color: #ffffff; /* Ensure text is white on green background */
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFFF00; /* Register and Login font color for main title */
  margin-bottom: 15px;
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

.page-fishing-games__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Red for primary CTA */
  color: #FFFF00; /* Yellow text for primary CTA */
  border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
  background-color: #017439; /* Green for secondary CTA */
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #005a2b;
  border-color: #005a2b;
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Dark background for sections */
  color: #ffffff; /* Light text for dark sections */
}

.page-fishing-games__light-bg {
  background-color: #f8f8f8; /* Light background for sections */
  color: #333333; /* Dark text for light sections */
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section background */
}

.page-fishing-games p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__list-item {
  margin-bottom: 25px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background for list items in dark sections */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__light-bg .page-fishing-games__list-item {
  background-color: #ffffff; /* White background for list items in light sections */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__list-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFF00; /* Yellow for list titles */
}

.page-fishing-games__light-bg .page-fishing-games__list-title {
  color: #017439; /* Green for list titles in light sections */
}

.page-fishing-games__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  border-color: #e0e0e0;
  background-color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #017439; /* Brand color for FAQ question background */
  border-bottom: 1px solid transparent; /* No border initially */
  list-style: none; /* Remove default marker for details/summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom-color: rgba(255, 255, 255, 0.2); /* Border when open */
}

.page-fishing-games__light-bg .page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom-color: #005a2b; /* Darker border when open in light sections */
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Rotate + to form X or similar */
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #ffffff;
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 1em;
}

.page-fishing-games__faq-link {
  color: #FFFF00; /* Yellow for links in FAQ */
  text-decoration: underline;
}

.page-fishing-games__faq-link:hover {
  color: #017439;
}

/* Conclusion Section */
.page-fishing-games__conclusion p {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-fishing-games__text-link {
  color: #FFFF00; /* Yellow for text links */
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__text-link:hover {
  color: #017439;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 15px 40px 15px; /* Adjust padding for mobile */
  }

  .page-fishing-games__hero-image-wrapper {
    padding: 0 15px;
  }

  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em); /* Smaller H1 for mobile */
  }

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

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

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

  .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;
    overflow: hidden !important;
  }

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

  .page-fishing-games p,
  .page-fishing-games li {
    font-size: 1em;
  }

  .page-fishing-games__list-title {
    font-size: 1.4em;
  }

  .page-fishing-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

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

/* Ensure all content area images are at least 200px */
.page-fishing-games img:not(.page-fishing-games__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Custom styles for details/summary marker */
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-fishing-games__faq-item summary::marker {
  display: none;
}