/* style/fishing-games.css */

/* Variables */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #f8f8f8; /* Matches body background */
  --border-color: #e0e0e0;
}

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

/* General Section Styling */
.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some horizontal padding for smaller screens */
}

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

.page-fishing-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-color-dark);
}

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

/* 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); /* Ensure space for fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #1A2F4F 100%); /* Slightly lighter dark blue for gradient */
  color: var(--text-color-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;
  z-index: 1; /* Ensure content is above any potential background effects */
}

.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;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color); /* Gold title for prominence */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px; /* Ensure minimum width for buttons */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on gold button */
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-primary:hover {
  background: #E6C200; /* Manual darker gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: var(--bg-color-light);
  color: var(--text-color-dark);
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
  background-color: #f0f4f8; /* Light blue-grey background */
  padding-bottom: 80px;
}

.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: var(--text-color-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark); /* Ensure dark text on light card */
}

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

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

.page-fishing-games__card-content {
  padding: 25px;
}

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

.page-fishing-games__card-description {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
  background: var(--primary-color); /* Dark background */
  color: var(--text-color-light); /* Light text */
}

.page-fishing-games__benefits-section .page-fishing-games__section-title {
  color: var(--secondary-color); /* Gold title on dark background */
}

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

.page-fishing-games__benefits-section .page-fishing-games__highlight {
  color: var(--secondary-color);
}

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