/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #ffc107; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff; /* Primary color for underline */
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0;
}

.page-fishing-games__highlight {
    color: #ffc107;
    font-weight: bold;
}

.page-fishing-games__link {
    color: #007bff;
    text-decoration: none;
}

.page-fishing-games__link:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
    background: linear-gradient(135deg, #007bff, #0a0a0a);
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
    display: block;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffc107;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #ffc107;
    color: #0a0a0a; /* Dark text for light background */
    border-color: #ffc107;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #ffc107;
    border-color: #ffc107;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #ffc107;
    color: #0a0a0a;
    transform: translateY(-3px);
}

/* Section Backgrounds */
.page-fishing-games__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
    padding: 80px 0;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(0, 123, 255, 0.1); /* Primary color transparent */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #ffffff;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #ffc107;
    margin-bottom: 15px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #e0e0e0;
}

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

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

.page-fishing-games__game-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #f0f0f0;
}

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

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 1.3em;
    color: #ffc107;
    padding: 15px;
    margin: 0;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    padding: 0 15px 15px;
    color: #cccccc;
}

.page-fishing-games__button-container {
    text-align: center;
    margin-top: 50px;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
}

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

.page-fishing-games__guide-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #007bff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-fishing-games__guide-step-title {
    font-size: 1.4em;
    color: #ffc107;
    margin-bottom: 10px;
}

.page-fishing-games__guide-step-description {
    font-size: 1em;
    color: #cccccc;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #f0f0f0;
}

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

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

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
}

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

.page-fishing-games__why-item {
    background-color: rgba(0, 123, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-fishing-games__why-title {
    font-size: 1.4em;
    color: #ffc107;
    margin-bottom: 10px;
}

.page-fishing-games__why-description {
    font-size: 1em;
    color: #cccccc;
}

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

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(0, 123, 255, 0.15);
    color: #ffc107;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(0, 123, 255, 0.25);
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffc107;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
    color: #cccccc;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
    padding-top: 10px;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(45deg, #007bff, #0a0a0a);
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        min-height: 600px;
        padding: 60px 15px;
    }
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-fishing-games__text-block {
        font-size: 0.95em;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__guide-list,
    .page-fishing-games__promo-grid,
    .page-fishing-games__why-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-item,
    .page-fishing-games__guide-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__why-item {
        padding: 20px;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-thumbnail,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-fishing-games__faq-question h3 {
        font-size: 1.1em;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px;
    }
    
    /* Ensure content area images are not too small */
    .page-fishing-games__feature-image,
    .page-fishing-games__game-thumbnail,
    .page-fishing-games__promo-image {
      min-width: 200px;
      min-height: 200px;
    }
}

/* General image sizing for content area */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Specific image styling to ensure minimum size for content images */
.page-fishing-games__feature-image,
.page-fishing-games__game-thumbnail,
.page-fishing-games__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Dark background for sections where needed */
.page-fishing-games__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

/* Light background for sections where needed */
.page-fishing-games__light-bg {
    background-color: #1a1a1a;
    color: #f0f0f0;
}