/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for contrast calculation */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
}

.page-fishing-games__hero-background-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.5); /* Dark overlay for text readability */
    z-index: 2;
}

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

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

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

.page-fishing-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

/* General Section Styles */
.page-fishing-games__section {
    padding: 60px 20px;
    background-color: #ffffff; /* Default light background */
}

.page-fishing-games__section.page-fishing-games__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles on light background */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-fishing-games__section.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: #ffffff; /* White for titles on dark background */
}

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

.page-fishing-games__section.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__section.page-fishing-games__dark-section .page-fishing-games__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-fishing-games__section.page-fishing-games__dark-section .page-fishing-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-fishing-games__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
}

.page-fishing-games__btn-small:hover {
    background-color: #005a2b;
    border-color: #005a2b;
}

/* Image styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* No filter properties allowed */
}

.page-fishing-games__image-content {
    margin: 30px auto;
}

/* Game Grid */
.page-fishing-games__game-grid,
.page-fishing-games__advantage-grid,
.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__card,
.page-fishing-games__advantage-item,
.page-fishing-games__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px 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;
    min-height: 350px; /* Ensure cards have consistent height */
}

.page-fishing-games__card:hover,
.page-fishing-games__advantage-item:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__card-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-title,
.page-fishing-games__advantage-title,
.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

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

.page-fishing-games__section.page-fishing-games__dark-section .page-fishing-games__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
}

.page-fishing-games__section.page-fishing-games__dark-section .page-fishing-games__advantage-title {
    color: #ffffff;
}

.page-fishing-games__section.page-fishing-games__dark-section .page-fishing-games__advantage-description {
    color: #f0f0f0;
}

/* Guide Steps */
.page-fishing-games__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.page-fishing-games__guide-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

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

.page-fishing-games__guide-description ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.page-fishing-games__guide-description li {
    margin-bottom: 5px;
}

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

.page-fishing-games__strategy-item {
    background-color: #f0fdf5; /* Light green background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}