/* style/fishing-games.css */

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

/* General section styling */
.page-fishing-games__section {
  padding: 60px 0;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

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

/* Text colors for different background types */
.page-fishing-games__dark-bg {
  background-color: #0a0a0a; /* Ensure dark sections use dark background */
  color: #ffffff; /* Light text on dark background */
}

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

/* Headings */
.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-title,
.page-fishing-games__list-title,
.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: inherit;
}

/* Paragraphs and text blocks */
.page-fishing-games__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: inherit;
}

.page-fishing-games__text-center {
  text-align: center;
}

.page-fishing-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px; /* Minimum height for hero section */
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

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

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

/* Image styling */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__image-center {
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-image {
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Grid layouts */
.page-fishing-games__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Lists */
.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible background on dark */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: inherit;
}

.page-fishing-games__list-item:last-child {
  margin-bottom: 0;
}

.page-fishing-games__list--icon .page-fishing-games__list-item {
  display: flex;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
}

.page-fishing-games__list-icon {
  font-size: 1.8em;
  color: #26A9E0;
  margin-right: 15px;
  flex-shrink: 0;
  line-height: 1;
}

.page-fishing-games__list--icon .page-fishing-games__list-item p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-fishing-games__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  color: inherit;
}

.page-fishing-games__numbered-list .page-fishing-games__list-item {
  background-color: transparent;
  padding: 0;
  margin-bottom: 25px;
  border-radius: 0;
  color: inherit;
}

.page-fishing-games__numbered-list .page-fishing-games__list-item p {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Cards */
.page-fishing-games__card {
  background-color: #ffffff; /* White background for cards on light sections */
  color: #333333; /* Dark text on white card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__card-title {
  color: #26A9E0;
  margin-top: 0;
}

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

.page-fishing-games__promotion-card .page-fishing-games__btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

.page-fishing-games__promotion-image {
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Links within content */
.page-fishing-games__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-fishing-games__faq-item {
  background-color: #ffffff; /* White background for FAQ items */
  color: #333333; /* Dark text on white background */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

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

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

  .page-fishing-games__grid-2-cols {
    grid-template-columns: 1fr;
  }
}

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

  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 10px 0 40px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 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__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;
  }

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

  .page-fishing-games__feature-item {
    padding: 0 15px;
  }

  .page-fishing-games__list-item {
    padding: 15px;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__hero-section,
  .page-fishing-games__introduction,
  .page-fishing-games__features,
  .page-fishing-games__game-types,
  .page-fishing-games__guide,
  .page-fishing-games__strategies,
  .page-fishing-games__why-choose,
  .page-fishing-games__promotions,
  .page-fishing-games__cta-final,
  .page-fishing-games__faq {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__mobile-img {
    margin-top: 30px;
  }
}