/* style/fishing-games.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa; /* Slightly off-white for sections */
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Default body background is white */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__sub-heading {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-fishing-games__highlight {
  font-weight: bold;
  color: var(--primary-color);
}

.page-fishing-games a {
  color: var(--primary-color);
  text-decoration: none;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #4FAEEA 100%); /* Blue gradient */
  color: var(--text-light);
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-heading {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* CTA Buttons */
.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__cta-button,
.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button:hover,
.page-fishing-games__btn-primary:hover {
  background: #2095CC; /* Slightly darker shade of primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Backgrounds */
.page-fishing-games__light-bg {
  background-color: var(--background-light); /* Light background for contrast */
  color: var(--text-dark);
}

.page-fishing-games__dark-bg {
  background-color: var(--primary-color); /* Dark background with brand color */
  color: var(--text-light);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__sub-heading {
  color: var(--text-light);
}

.page-fishing-games__dark-bg a {
  color: var(--text-light);
}

/* Intro Section */
.page-fishing-games__intro-section .page-fishing-games__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-fishing-games__intro-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Important for max-width: 100% to work correctly */
  margin: 0 auto;
}

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

.page-fishing-games__feature-item {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-light);
}

.page-fishing-games__feature-item .page-fishing-games__feature-heading {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-light);
}

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

.page-fishing-games__game-card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 15px;
  color: var(--text-dark);
  padding: 0 15px;
  flex-grow: 1; /* Make description take available space */
}

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-fishing-games__step-item .page-fishing-games__step-heading {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-light);
}

.page-fishing-games__promo-card .page-fishing-games__promo-heading {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-light);
}

/* Support & Security Section */
.page-fishing-games__support-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__support-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__support-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__support-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--background-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-dark); /* Ensure text is dark on light background */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
  background: #eeeeee;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--text-dark);
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}


/* Final CTA Section */
.page-fishing-games__cta-final {
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__cta-final-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__cta-final .page-fishing-games__text-block {
  color: var(--text-light);
  font-size: 18px;
}

/* Global Image styles - ensure minimum size and no small icons */
.page-fishing-games img {
  min-width: 200px; /* Minimum width */
  min-height: 200px; /* Minimum height */
  object-fit: cover; /* Ensure images fill their space nicely */
  display: block; /* Helps with responsiveness */
  max-width: 100%; /* Default responsive image */
  height: auto; /* Maintain aspect ratio */
  /* NO filter properties allowed */
}

/* Card layout image requirements */
.page-fishing-games__game-card img {
  min-width: 200px;
  min-height: 200px;
  height: 250px; /* Example fixed height for cards, ensure it's >= 200px */
  width: 100%; /* Fill card width */
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__main-heading {
    font-size: 40px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__game-card img {
    height: 200px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding-top */
    padding-bottom: 40px;
  }
  .page-fishing-games__main-heading {
    font-size: 32px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-fishing-games__sub-heading {
    font-size: 20px;
  }
  .page-fishing-games__text-block {
    font-size: 15px;
  }

  .page-fishing-games__container {
    padding: 30px 15px;
  }

  /* Images responsive rules */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow to shrink below 200px if container is smaller, but usually container has min-width */
    min-height: unset;
  }
  
  /* Content area images, ensure they don't go below 200px display size */
  .page-fishing-games__intro-section img,
  .page-fishing-games__support-image img,
  .page-fishing-games__game-card img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    /* Explicitly ensure minimum display size for content images */
    min-width: 200px !important; 
    min-height: 200px !important;
  }
}
}
}