/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  background-color: #140C0C; /* Body background from custom palette */
  color: #FFF1E8; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* General container for content sections */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Section titles */
.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

/* Text blocks */
.page-fishing-games__text-block {
  font-size: 18px;
  color: #FFF1E8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Card styles */
.page-fishing-games__card {
  background-color: #2A1212; /* Card background from custom palette */
  border: 1px solid #6A1E1E; /* Border color from custom palette */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF1E8;
}

/* Button styles */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient from custom palette */
  color: #FFF1E8; /* Text Main for buttons */
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #F3C54D; /* Gold color for secondary button text */
  border: 2px solid #F3C54D; /* Gold color for border */
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(243, 197, 77, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  max-width: 1200px; /* Limit image width */
  margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-fishing-games__main-title {
  font-size: clamp(36px, 6vw, 56px); /* Large, responsive H1 */
  color: #FFF1E8;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.page-fishing-games__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #FFF1E8;
  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;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: #140C0C;
}

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

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  border-radius: 10px;
  margin: 0 auto;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: #140C0C;
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
}

.page-fishing-games__feature-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
}

.page-fishing-games__feature-title {
  font-size: 24px;
  color: #F3C54D; /* Gold color for feature titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Game Showcase Section */
.page-fishing-games__game-showcase {
  padding: 80px 0;
  background-color: #140C0C;
}

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

.page-fishing-games__game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-fishing-games__game-title {
  font-size: 22px;
  color: #F3C54D;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__game-description {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
  padding: 80px 0;
  background-color: #140C0C;
}

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

.page-fishing-games__reason-item {
  text-align: left;
}

.page-fishing-games__reason-title {
  font-size: 24px;
  color: #F3C54D;
  margin-bottom: 15px;
  font-weight: bold;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: #7E0D0D; /* Deep Red from custom palette */
  text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #FFF1E8;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  color: #FFF1E8;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-width: 1000px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-showcase,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

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

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

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

  .page-fishing-games__subtitle {
    font-size: 18px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
  }
  
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__image-wrapper,
  .page-fishing-games__container,
  .page-fishing-games__card,
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-showcase,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__feature-list,
  .page-fishing-games__game-grid,
  .page-fishing-games__reason-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 36px;
  }

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

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

  .page-fishing-games__feature-title,
  .page-fishing-games__reason-title {
    font-size: 20px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
}