/* style/fishing-games.css */

/* General page styling */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-fishing-games__heading {
  text-align: center;
  font-size: 36px;
  color: var(--primary-color, #007bff);
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: bold;
}

/* Video Section */
.page-fishing-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 120px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, #e0f2f7, #c1e4ee);
  border-bottom: 5px solid var(--secondary-color, #ffc107);
}

.page-fishing-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  background-color: #000; /* Fallback for video area */
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevents video controls from interfering with click event on <a> */
}

.page-fishing-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-fishing-games__video-link:hover .page-fishing-games__video-overlay {
  opacity: 1;
}

.page-fishing-games__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(0, 123, 255, 0.9);
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--secondary-color, #ffc107);
  color: #000000; /* Dark text for light button */
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.page-fishing-games__play-now-button:hover {
  background: #e0a800; /* Darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* H1 Title Section */
.page-fishing-games__title-section {
  padding: 80px 20px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__main-title {
  font-size: 48px;
  color: var(--primary-color, #007bff);
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: 800;
}

.page-fishing-games__title-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  cursor: pointer;
}

.page-fishing-games__cta-button--primary {
  background: var(--primary-color, #007bff);
  color: #ffffff;
}

.page-fishing-games__cta-button--primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button--secondary {
  background: #ffffff;
  color: var(--primary-color, #007bff);
  border-color: var(--primary-color, #007bff);
}

.page-fishing-games__cta-button--secondary:hover {
  background: var(--primary-color, #007bff);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* About Fishing Section */
.page-fishing-games__about-fishing {
  padding: 80px 0;
  background-color: #f0f8ff; /* Light blue background */
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-content {
  flex: 2;
}

.page-fishing-games__text-content p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #444444;
}

.page-fishing-games__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
  color: #444444;
}

.page-fishing-games__list li {
  margin-bottom: 8px;
}

.page-fishing-games__list strong {
  color: var(--primary-color, #007bff);
}

.page-fishing-games__image-container {
  flex: 1;
  min-width: 300px; /* Ensure image doesn't get too small */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

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

.page-fishing-games__feature-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-icon {
  width: 120px; /* Base size for icons, actual images will be larger */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px; /* Added for image consistency */
}

.page-fishing-games__feature-title {
  font-size: 22px;
  color: var(--primary-color, #007bff);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #666666;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #e6f7ff; /* Lighter blue for contrast */
  border-top: 1px solid #d0d0d0;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #f0f0f0;
  border-color: #c0c0c0;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color, #007bff);
  pointer-events: none; /* Prevent h3 from blocking click */
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent toggle from blocking click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-color, #007bff);
  transform: rotate(45deg); /* Change to X or rotate for minus sign */
}

.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 25px;
  opacity: 0;
  background: #fefefe;
  border-top: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

/* Brand Section */
.page-fishing-games__brand-section {
  padding: 80px 0;
  background-color: #fdfdfd;
  border-top: 1px solid #e0e0e0;
}

.page-fishing-games__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__brand-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__brand-image {
  width: 180px; /* Example size, actual images will be larger, min 200x200 */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

.page-fishing-games__brand-title-item {
  font-size: 24px;
  color: var(--primary-color, #007bff);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__brand-item p {
  font-size: 16px;
  color: #666666;
}

/* Blog Section */
.page-fishing-games__blog-section {
  padding: 80px 0;
  background-color: #f0f0f0;
  border-top: 1px solid #d0d0d0;
}

.page-fishing-games__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__blog-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-bottom: 20px;
}

.page-fishing-games__blog-item-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__blog-item-title {
  font-size: 20px;
  color: var(--primary-color, #007bff);
  margin: 0 20px 10px;
  font-weight: 700;
}

.page-fishing-games__blog-item-excerpt {
  font-size: 15px;
  color: #666666;
  margin: 0 20px 15px;
}

.page-fishing-games__blog-item-date {
  font-size: 14px;
  color: #999999;
  display: block;
  margin: 0 20px;
}

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

  .page-fishing-games__heading {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__video-section {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-fishing-games__video-container,
  .page-fishing-games__video-link,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
  
  .page-fishing-games__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-fishing-games__video-cta {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
  }

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

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

  .page-fishing-games__title-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  .page-fishing-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

  .page-fishing-games__about-fishing,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__faq-section,
  .page-fishing-games__brand-section,
  .page-fishing-games__blog-section {
    padding: 60px 0;
  }

  .page-fishing-games__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-fishing-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__image-container {
    width: 100%;
    min-width: unset;
  }
  
  .page-fishing-games__image,
  .page-fishing-games__feature-icon,
  .page-fishing-games__brand-image,
  .page-fishing-games__blog-item-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-fishing-games__brand-content,
  .page-fishing-games__blog-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__blog-item-image {
    height: 180px;
  }

  .page-fishing-games__blog-item-title {
    font-size: 18px;
    margin: 0 15px 10px;
  }

  .page-fishing-games__blog-item-excerpt {
    font-size: 14px;
    margin: 0 15px 15px;
  }

  .page-fishing-games__blog-item-date {
    margin: 0 15px;
  }
}