/* style/fishing-games.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --accent-red: #C30808;
  --accent-yellow: #FFFF00;
}

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

/* Color Contrast Fixes */
.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.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); /* Ensure space for fixed header */
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-fishing-games__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--accent-yellow); /* Using accent yellow for high contrast on dark green */
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
  background: darken(var(--accent-red), 10%); /* Placeholder for darken, will be static color */
  background: #a30606; /* Manual darken */
  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);
  margin-left: 15px;
}

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

.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

.page-fishing-games__about-fishing-games p {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-fishing-games__card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-dark);
}

.page-fishing-games__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-fishing-games__list-item {
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-dark);
}

.page-fishing-games__list-icon {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1;
}

.page-fishing-games__list-item h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__list-item p {
  font-size: 1em;
  line-height: 1.6;
}

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

.page-fishing-games__promotions-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.95);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-dark);
}

.page-fishing-games__promo-card img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__promo-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__btn-promo {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-promo:hover {
  background: #005f2c; /* Manual darken */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promo-note {
  font-size: 0.95em;
  margin-top: 40px;
  color: var(--text-light);
}

.page-fishing-games__cta-section {
  padding: 100px 20px;
  background: linear-gradient(90deg, var(--primary-color), #005f2c);
  color: var(--text-light);
}

.page-fishing-games__cta-content {
  max-width: 900px;
}

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

.page-fishing-games__cta-content p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-image {
    margin-bottom: 20px;
  }

  .page-fishing-games__hero-image img {
    border-radius: 4px;
  }

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

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

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

  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 15px;
  }

  .page-fishing-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__section {
    padding: 50px 15px;
  }

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

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

  .page-fishing-games__image-wrapper {
    margin: 30px auto;
  }

  .page-fishing-games__grid, .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card, .page-fishing-games__list-item, .page-fishing-games__promo-card {
    padding: 20px;
  }

  .page-fishing-games__card img, .page-fishing-games__promo-card img {
    
  }

  .page-fishing-games__card-title, .page-fishing-games__promo-title {
    font-size: 1.3em;
  }

  .page-fishing-games__list-icon {
    font-size: 1.8em;
  }

  .page-fishing-games__list-item h3 {
    font-size: 1.2em;
  }

  .page-fishing-games__promo-note {
    font-size: 0.9em;
  }

  .page-fishing-games__cta-section {
    padding: 60px 15px;
  }

  /* Ensure all images are responsive */
  .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,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__promo-card,
  .page-fishing-games__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__cta-group {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__cta-button,
  .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;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
  .page-fishing-games__intro-text {
    font-size: 0.9em;
  }
}