/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body handles actual background */
}

/* Sections */
.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-fishing-games__container--flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Headings */
.page-fishing-games__heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -1px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__description {
  font-size: 18px;
  line-height: 1.6;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-fishing-games__text-block {
  font-size: 17px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0 0%, #1a1a1a 100%);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 0 15px;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Video Section */
.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

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

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
}

/* List Styles */
.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-fishing-games__list-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__list-title {
  font-size: 22px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Step Grid */
.page-fishing-games__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-fishing-games__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Strategy List */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-fishing-games__strategy-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__strategy-title {
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Promotions */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background-color: #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question:hover {
  background-color: #1e87b7;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Call to Action Section */
.page-fishing-games__call-to-action {
  background: linear-gradient(90deg, #26A9E0 0%, #EA7C07 100%);
  padding: 80px 20px;
  color: #ffffff;
}

.page-fishing-games__call-to-action .page-fishing-games__heading {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-fishing-games__call-to-action .page-fishing-games__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-fishing-games__cta-content {
  max-width: 800px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-fishing-games__container--flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .page-fishing-games__cta-content {
    text-align: left;
  }
  .page-fishing-games__cta-buttons {
    margin-top: 0;
    justify-content: flex-end;
  }
  .page-fishing-games__hero-section .page-fishing-games__hero-image-wrapper {
    order: 2; /* Image after text on desktop */
    margin-top: 30px;
  }
  .page-fishing-games__hero-section .page-fishing-games__hero-content {
    order: 1; /* Text before image on desktop */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }

  .page-fishing-games__heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

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

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

  .page-fishing-games__text-block {
    font-size: 15px;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile video responsiveness */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile button responsiveness */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  
  /* General container padding for mobile to prevent overflow */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-content {
    padding: 0;
  }

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

  .page-fishing-games__card,
  .page-fishing-games__step-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

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

  .page-fishing-games__list-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }

  .page-fishing-games__call-to-action {
    padding: 50px 15px;
  }
}