/* style/fishing-games.css */

/* Variables for colors */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --bg-dark-section: #0d0d0d; /* Slightly lighter than #000 for contrast */
  --bg-light-section: #f8f9fa; /* Light background for cards/sections on dark body */
  --border-color: #444444; /* Border for elements on dark background */
  --shadow-color: rgba(0, 0, 0, 0.3);
  --button-hover-dark: #ccaa00; /* Darker gold for hover */
  --button-hover-light: #6a0000; /* Darker red for hover */
}

/* Base styles for the page content, considering fixed header */
.page-fishing-games {
  color: var(--text-color-dark-bg); /* Default text color for the main page content, as body is dark */
  background-color: transparent; /* Main content background will be handled by sections */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Fixed header spacing */
.page-fishing-games__top-spacing {
  height: 120px; /* Desktop padding for fixed header */
  display: block;
}

@media (max-width: 768px) {
  .page-fishing-games__top-spacing {
    height: 100px; /* Mobile padding for fixed header */
  }
}

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

/* Section styling */
.page-fishing-games__intro-section,
.page-fishing-games__promotions-section,
.page-fishing-games__news-section,
.page-fishing-games__faq-section {
  background-color: var(--bg-light-section); /* Light background for contrast */
  color: var(--text-color-light-bg);
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.page-fishing-games__games-section,
.page-fishing-games__why-choose-us-section {
  background-color: var(--bg-dark-section); /* Dark background for contrast */
  color: var(--text-color-dark-bg);
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

/* Titles and headings */
.page-fishing-games__main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-fishing-games__sub-title {
  font-size: 2em;
  color: var(--primary-color);
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__paragraph a {
  color: var(--secondary-color); /* Links in paragraphs */
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__paragraph a:hover {
  color: var(--button-hover-light);
}

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

/* Image styling */
.page-fishing-games__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-fishing-games__main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px var(--shadow-color);
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* CTA Buttons */
.page-fishing-games__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 20px auto;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #f0c200);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(135deg, var(--button-hover-dark), #e0b000);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), #a00000);
  color: var(--text-color-dark-bg);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background: linear-gradient(135deg, var(--button-hover-light), #800000);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__game-card {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-color);
  text-align: center;
  transition: transform 0.3s ease;
  background-color: var(--bg-light-section); /* Light background for card */
  color: var(--text-color-light-bg);
  border: 1px solid var(--border-color);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__game-card-description {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__game-card-description a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__game-card-description a:hover {
  color: var(--button-hover-light);
}

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

.page-fishing-games__promo-item {
  background-color: var(--bg-light-section); /* Light background for item */
  color: var(--text-color-light-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__promo-description {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__promo-description a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__promo-description a:hover {
  color: var(--button-hover-light);
}

/* Why Choose Us 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-color: var(--bg-light-section); /* Light background for item */
  color: var(--text-color-light-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-color);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-fishing-games__feature-icon {
  width: 100px; /* Larger icons as per requirement */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  text-align: justify;
}

.page-fishing-games__feature-description a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__feature-description a:hover {
  color: var(--button-hover-light);
}

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

.page-fishing-games__article-card {
  background-color: var(--bg-light-section); /* Light background for card */
  color: var(--text-color-light-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__article-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__article-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-fishing-games__article-title a:hover {
  text-decoration: underline;
  color: var(--button-hover-light);
}

.page-fishing-games__article-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
  text-align: justify;
}

.page-fishing-games__read-more-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__read-more-link:hover {
  color: var(--button-hover-dark);
  text-decoration: underline;
}

/* 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; /* Ensure it expands fully */
  padding: 20px 15px !important; /* Ensure padding is applied */
  opacity: 1;
  background: var(--bg-light-section);
  border-radius: 0 0 5px 5px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page-fishing-games__faq-answer p {
  color: var(--text-color-light-bg); /* Ensure contrast for FAQ answer text */
}

.page-fishing-games__faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
  color: var(--button-hover-light);
}


.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff; /* White background for question */
  border: 1px solid #e0e0e0; /* Lighter border for question */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light-bg); /* Question text color */
}

.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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Allows click on the whole question div */
}

.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; /* Allows click on the whole question div */
  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(--secondary-color); /* Dark red when active */
  transform: rotate(45deg); /* Rotate for 'x' effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2.5em;
  }

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

  .page-fishing-games__sub-title {
    font-size: 1.8em;
  }

  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-fishing-games__game-card-grid,
  .page-fishing-games__promo-list,
  .page-fishing-games__features-grid,
  .page-fishing-games__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__sub-title {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-fishing-games__paragraph {
    font-size: 1em;
  }
}