/* style/fishing-games.css */

/* General styles */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default background */
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* Ensure button adapts */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 60px;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    overflow: hidden;
    position: relative;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #FFFFFF; /* Ensure content has a clear background */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px); /* Lift content over the image slightly */
    position: relative;
    z-index: 10;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555555;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

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

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

.page-fishing-games__feature-heading {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 60px 0;
}

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

.page-fishing-games__game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card-title {
    font-size: 22px;
    color: #26A9E0;
    padding: 20px 20px 10px;
    margin: 0;
}

.page-fishing-games__game-card-description {
    font-size: 15px;
    color: #666666;
    padding: 0 20px 15px;
}

.page-fishing-games__game-trial-frame {
    border: none;
    width: 100%;
    min-height: 300px;
    display: block;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-fishing-games__how-to-play-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.page-fishing-games__how-to-play-image-wrapper {
    text-align: center;
}

.page-fishing-games__how-to-play-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.page-fishing-games__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #26A9E0;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 20px;
}

.page-fishing-games__step-text-wrapper {
    flex: 1;
}

.page-fishing-games__step-heading {
    font-size: 20px;
    color: #26A9E0;
    margin-top: 0;
    margin-bottom: 5px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px; /* Slightly larger for questions */
  font-weight: 600;
  color: #333333;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-fishing-games__faq-toggle {
  font-size: 28px; /* Larger for toggle icon */
  font-weight: bold;
  color: #26A9E0; /* Primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}
details.page-fishing-games__faq-item[open] summary.page-fishing-games__faq-question {
    background-color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image-wrapper {
        height: 500px;
    }
    .page-fishing-games__hero-content {
        max-width: 700px;
        padding: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__how-to-play-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-fishing-games__how-to-play-image-wrapper {
        order: -1; /* Image above content on smaller screens */
    }
    .page-fishing-games__game-card-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    /* General responsive for images and containers */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__game-card,
    .page-fishing-games__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding */
        margin-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        height: 300px; /* Smaller height for mobile hero image */
    }
    .page-fishing-games__hero-content {
        padding: 20px;
        transform: translateY(-30px);
    }
    .page-fishing-games__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Buttons */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
        margin-bottom: 10px; /* Add margin between stacked buttons */
    }
    .page-fishing-games__hero-content .page-fishing-games__btn-primary {
        margin-bottom: 0; /* No extra margin if only one button */
    }

    /* Section titles */
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    /* Why Choose Section */
    .page-fishing-games__why-choose-section {
        padding: 40px 0;
    }
    .page-fishing-games__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-item {
        padding: 25px;
    }
    .page-fishing-games__feature-heading {
        font-size: 20px;
    }
    .page-fishing-games__feature-text {
        font-size: 15px;
    }

    /* Popular Games Section */
    .page-fishing-games__popular-games-section {
        padding: 40px 0;
    }
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-fishing-games__game-card-image {
        height: 180px; /* Smaller height for game cards */
    }
    .page-fishing-games__game-card-title {
        font-size: 20px;
        padding: 15px 15px 8px;
    }
    .page-fishing-games__game-card-description {
        font-size: 14px;
        padding: 0 15px 10px;
    }
    .page-fishing-games__game-trial-frame {
        min-height: 250px;
    }

    /* How to Play Section */
    .page-fishing-games__how-to-play-section {
        padding: 40px 0;
    }
    .page-fishing-games__step-item {
        margin-bottom: 20px;
    }
    .page-fishing-games__step-number {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 15px;
    }
    .page-fishing-games__step-heading {
        font-size: 18px;
    }
    .page-fishing-games__step-item p {
        font-size: 15px;
    }

    /* FAQ Section */
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 18px;
        font-size: 16px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 25px;
        margin-left: 10px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 18px 15px;
        font-size: 15px;
    }
}