/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Use shared background, default to white */
}

/* Color contrast enforcement */
.page-fishing-games__dark-bg {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff; /* White text for dark background */
}

.page-fishing-games__light-bg {
    background-color: #ffffff; /* Auxiliary brand color / white */
    color: #333333; /* Dark text for light background */
}

/* General container for content */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

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

/* Paragraphs */
.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__dark-bg .page-fishing-games__paragraph {
    color: #f0f0f0;
}

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

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

.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;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1e87b7; /* Slightly darker blue */
    border-color: #1e87b7;
}

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
}

/* 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); /* Fixed header spacing */
}

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

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

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

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

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 0;
}

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

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

.page-fishing-games__feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-item .page-fishing-games__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-fishing-games__feature-description {
    font-size: 1.05em;
    color: #f0f0f0;
}

/* Games Section */
.page-fishing-games__games-section {
    padding: 60px 0;
}

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

.page-fishing-games__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: #333333;
}