/* style/fishing-games.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #222222;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff; /* Default light background, will be overridden by shared if present */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-fishing-games__description {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--secondary-color) 0%, #a00000 100%); /* Darker gradient for text contrast */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 2;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-section .page-fishing-games__description {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 50px;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark); /* Ensure contrast on gold */
}

.page-fishing-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-fishing-games__btn-secondary:hover {
  background: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Content Sections */
.page-fishing-games__introduction .page-fishing-games__content-wrapper,
.page-fishing-games__guide .page-fishing-games__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-fishing-games__introduction p,
.page-fishing-games__guide p {
  text-align: left;
  font-size: 17px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Game Types Grid */
.page-fishing-games__game-types {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-fishing-games__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card p {
  font-size: 16px;
  color: var(--text-dark);
}

/* Tips Section - Dark Background */
.page-fishing-games__tips {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #b00000 100%);
  color: var(--text-light);
}

.page-fishing-games__tips .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__tips .page-fishing-games__description {
  color: var(--text-light);
}

.page-fishing-games__card--dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__card--dark .page-fishing-games__card-title {
  color: var(--primary-color);
}

.page-fishing-games__card--dark p {
  color: var(--text-light);
}

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

.page-fishing-games__advantage-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__advantage-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__advantage-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__advantage-item p {
  font-size: 16px;
  color: var(--text-dark);
}

.page-fishing-games__advantage-item a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-fishing-games__advantage-item a:hover {
  color: var(--primary-color);
}

/* Conclusion Section */
.page-fishing-games__conclusion {
  background: linear-gradient(45deg, var(--primary-color) 0%, #e6c200 100%);
  color: var(--text-dark);
  padding: 80px 0;
}

.page-fishing-games__conclusion .page-fishing-games__section-title {
  color: var(--text-dark); /* Ensure contrast on gold background */
}

.page-fishing-games__conclusion .page-fishing-games__description {
  color: var(--text-dark);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 44px;
  }
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding: 80px 0;
  }

  .page-fishing-games__main-title {
    font-size: 36px;
  }

  .page-fishing-games__hero-section .page-fishing-games__description {
    font-size: 18px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 18px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 26px;
  }

  .page-fishing-games__description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-fishing-games__content-wrapper {
    gap: 20px;
  }

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

  .page-fishing-games__card {
    padding: 20px;
    border-radius: 8px;
  }

  .page-fishing-games__card-title {
    font-size: 20px;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }
  
  /* Ensure all images are responsive and do not overflow */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Image containers */
  .page-fishing-games__introduction .page-fishing-games__content-wrapper,
  .page-fishing-games__guide .page-fishing-games__content-wrapper,
  .page-fishing-games__grid-layout {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__conclusion {
    padding: 60px 0;
  }
  
  .page-fishing-games__advantage-item {
    padding: 20px;
  }
  
  .page-fishing-games__advantage-title {
    font-size: 20px;
  }
}