/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-fishing-games__section-title {
    font-size: 2.8em;
    color: #FFFFFF; /* White for main 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: #017439; /* Brand primary color */
    border-radius: 2px;
}

.page-fishing-games__sub-title {
    font-size: 2em;
    color: #017439; /* Brand primary color for sub-titles */
    margin-bottom: 20px;
}

.page-fishing-games__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

.page-fishing-games__section-text strong {
    color: #FFFFFF; /* Highlight strong text */
}

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

.page-fishing-games__btn-primary {
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF; /* White text for contrast */
    border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
    background-color: #005f2e; /* Darker shade on hover */
    border-color: #005f2e;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #017439; /* Primary brand color text */
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF; /* White text on hover */
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
}

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

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

/* Introduction Section */
.page-fishing-games__introduction-section {
    background-color: #0d0d0d; /* Darker background for contrast with white sections */
    padding: 60px 0;
    color: #f0f0f0;
}

.page-fishing-games__dark-section {
    background-color: #0d0d0d; /* Common dark section background */
    color: #f0f0f0;
}

.page-fishing-games__introduction-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__introduction-image {
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    display: block;
}

.page-fishing-games__introduction-text-block {
    width: 50%;
    text-align: left;
}

.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-fishing-games__feature-list li {
    background: rgba(1, 116, 57, 0.1); /* Light green background */
    margin-bottom: 10px;
    padding: 15px;
    border-left: 4px solid #017439; /* Brand primary color border */
    border-radius: 5px;
    font-size: 1.05em;
}

.page-fishing-games__feature-list li strong {
    color: #FFFFFF;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    background-color: #FFFFFF;
    padding: 60px 0;
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__game-types-section .page-fishing-games__section-title,
.page-fishing-games__game-types-section .page-fishing-games__section-text {
    color: #333333; /* Dark text */
}

.page-fishing-games__game-types-section .page-fishing-games__section-title::after {
    background-color: #017439; /* Brand primary color */
}

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

.page-fishing-games__game-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333333;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
}

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

.page-fishing-games__game-card-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

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

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

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

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

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

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

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