/* style/fishing-games.css */

/* Variables for colors */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --background-color: #0D0E12;
  --card-bg-color: #17191F;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

/* Base styles for the page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color); /* Body background from shared.css, but this ensures consistency */
  line-height: 1.6;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 550px; /* Adjust as needed */
  text-align: center;
  padding: 60px 20px; /* Small top padding, body handles header offset */
  padding-top: 10px; /* Small top padding for visual separation */
  background: var(--background-color);
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-top: 30px;
  color: var(--text-main-color);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__lead-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-main-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: var(--text-main-color);
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.6);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  box-shadow: 0 6px 15px rgba(255, 165, 58, 0.4);
  transform: translateY(-2px);
}

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

/* Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__criteria-section,
.page-fishing-games__benefits-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-fishing-games__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-fishing-games__light-bg {
  background-color: var(--card-bg-color); /* Card BG color as light bg for contrast */
  color: var(--text-main-color);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Criteria List */
.page-fishing-games__criteria-list,
.page-fishing-games__benefits-list,
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
  margin-top: 40px;
}

.page-fishing-games__criteria-item,
.page-fishing-games__benefits-item,
.page-fishing-games__guide-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-fishing-games__criteria-item:hover,
.page-fishing-games__benefits-item:hover,
.page-fishing-games__guide-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__criteria-heading,
.page-fishing-games__benefits-heading,
.page-fishing-games__guide-heading {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card p {
  font-size: 0.95rem;
  color: var(--text-main-color);
  padding: 0 15px;
  flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: rgba(255, 140, 26, 0.1);
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.2);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-main-color);
  line-height: 1.7;
  border-top: none;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
    min-height: auto;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-fishing-games__lead-text {
    font-size: 1rem;
  }

  .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 !important;
    padding-right: 15px !important;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .page-fishing-games p {
    font-size: 0.95rem;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__criteria-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 50px 15px;
  }

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

  .page-fishing-games__criteria-list,
  .page-fishing-games__benefits-list,
  .page-fishing-games__guide-list,
  .page-fishing-games__game-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__criteria-item,
  .page-fishing-games__benefits-item,
  .page-fishing-games__guide-item,
  .page-fishing-games__game-card {
    padding: 20px;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

  /* Image responsiveness for all images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers must adapt */
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__criteria-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section,
  .page-fishing-games__game-card,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific overrides for containers that might have 0 padding for full width on desktop */
  .page-fishing-games__hero-section .page-fishing-games__container {
    padding-left: 0;
    padding-right: 0;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
}