/* style/fishing-games.css */

/* Global styles for the page content */
.page-fishing-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f9fa; /* Light background for the page */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__section-title--light {
    color: #ffffff; /* White for dark backgrounds */
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-fishing-games__section-description--light {
    color: #e0e0e0; /* Lighter text for dark backgrounds */
}

/* Button styles */
.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__cta-button,
.page-fishing-games__btn-primary {
    background: #007bff; /* Primary color */
    color: #ffffff;
    border: 2px solid #007bff;
}

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

.page-fishing-games__btn-secondary {
    background: #ffc107; /* Secondary color */
    color: #333333; /* Dark text for secondary color */
    border: 2px solid #ffc107;
}

.page-fishing-games__btn-secondary:hover {
    background: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
}

/* Background color helpers for contrast */
.page-fishing-games__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

.page-fishing-games__dark-bg {
    background-color: #007bff; /* Primary brand color as dark background */
    color: #ffffff;
}


/* HERO Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, #007bff, #0056b3); /* Primary color gradient */
    overflow: hidden; /* Prevent image overflow */
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any background effects if present */
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 0;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #ffffff;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    text-align: center;
}

/* Featured Games Section */
.page-fishing-games__featured-games {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__game-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height */
}

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

.page-fishing-games__game-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.page-fishing-games__card-content {
    padding: 25px;
    flex-grow: 1; /* Allow content to grow and fill space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.page-fishing-games__card-title a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: #0056b3;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-fishing-games__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__feature-item img {
    width: 100%;
    max-width: 250px; /* Constrain image size */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-fishing-games__feature-title {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__feature-description {
    color: #555555;
    font-size: 0.95em;
}

/* Strategy Guide Section */
.page-fishing-games__strategy-guide {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__strategy-guide .page-fishing-games__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__strategy-item {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.page-fishing-games__strategy-title {
    font-size: 1.4em;
    color: #ffc107; /* Secondary color for strategy titles */
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__strategy-text {
    color: #f0f0f0;
    font-size: 1em;
}

.page-fishing-games__strategy-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__promo-description {
    color: #555555;
    font-size: 0.95em;
    flex-grow: 1;
}

/* Registration Guide Section */
.page-fishing-games__registration-guide {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__step-item {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__step-number {
    width: 60px;
    height: 60px;
    background: #ffc107;
    color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__step-description {
    color: #e0e0e0;
    font-size: 0.95em;
}

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

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

/* FAQ container styles */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}