/* style/fishing-games.css */

/* Custom properties for colors */
:root {
  --page-fishing-games-primary-color: #FFD700; /* Gold */
  --page-fishing-games-secondary-color: #8B0000; /* Dark Red */
  --page-fishing-games-text-dark: #333333;
  --page-fishing-games-text-light: #ffffff;
  --page-fishing-games-background-light: #f8f8f8;
  --page-fishing-games-border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-dark); /* Default text color for light background */
  background: var(--page-fishing-games-background-light); /* Default light background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* General container for content */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--page-fishing-games-secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

/* Text blocks */
.page-fishing-games__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Links within text */
.page-fishing-games__text-block a,
.page-fishing-games p a,
.page-fishing-games li a {
  color: var(--page-fishing-games-secondary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-fishing-games__text-block a:hover,
.page-fishing-games p a:hover,
.page-fishing-games li a:hover {
  color: var(--page-fishing-games-primary-color);
}

/* 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;
  background: linear-gradient(135deg, var(--page-fishing-games-primary-color), var(--page-fishing-games-secondary-color));
  color: var(--page-fishing-games-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;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

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

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-fishing-games-text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-description {
  font-size: 22px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-fishing-games-text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--page-fishing-games-primary-color);
  box-sizing: border-box; /* Ensure padding/border included in width */
}

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

/* Light background sections */
.page-fishing-games__light-bg {
  background: var(--page-fishing-games-background-light);
  color: var(--page-fishing-games-text-dark);
}

/* Dark background sections */
.page-fishing-games__dark-section {
  background: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__dark-section .page-fishing-games__text-block a,
.page-fishing-games__dark-section p a,
.page-fishing-games__dark-section li a {
  color: var(--page-fishing-games-primary-color);
}
.page-fishing-games__dark-section .page-fishing-games__text-block a:hover,
.page-fishing-games__dark-section p a:hover,
.page-fishing-games__dark-section li a:hover {
  color: var(--page-fishing-games-text-light);
}


/* Image content within sections */
.page-fishing-games__image-content {
  text-align: center;
  margin: 40px 0;
}

.page-fishing-games__image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

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

.page-fishing-games__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px; /* Added padding to ensure text below image is visible */
  color: var(--page-fishing-games-text-dark);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 20px 15px;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  color: var(--page-fishing-games-primary-color);
  text-decoration: underline;
}

.page-fishing-games__card-description {
  font-size: 16px;
  color: var(--page-fishing-games-text-dark);
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Ordered/Unordered Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}