/* 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 on dark body background #121212 */
    background-color: #121212; /* Ensure consistency with body background */
}

/* Container for consistent spacing */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles and subtitles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__section-subtitle {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General text block styling */
.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Links within text blocks */
.page-fishing-games__text-block a {
    color: #FFFF00; /* Yellow for contrast on dark background */
    text-decoration: underline;
}

.page-fishing-games__text-block a:hover {
    color: #017439; /* Brand green on hover */
    text-decoration: none;
}

/* Primary Button Style */
.page-fishing-games__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
    color: #FFFF00;
}

/* Secondary Button Style */
.page-fishing-games__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #C30808; /* Primary button background color for contrast */
    transform: translateY(-2px);
}

/* Card base styling */
.page-fishing-games__card {
    background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark body */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #f0f0f0;
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
    min-width: 200px; /* Enforce min image size */
}

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

.page-fishing-games__card-title a {
    color: #ffffff;
    text-decoration: none;
}

.page-fishing-games__card-title a:hover {
    color: #017439; /* Brand green on hover */
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1; /* Allow description to take available space */
    margin-bottom: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.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;
    max-width: 900px;
    padding: 20px;
}

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

.page-fishing-games__hero-description {
    font-size: 1.4em;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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