/* style/sports.css */

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

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

.page-sports__section {
    padding: 60px 0;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-sports__section-title a.page-sports__inline-link {
    color: #017439;
    text-decoration: none;
}

.page-sports__section-title a.page-sports__inline-link:hover {
    text-decoration: underline;
}

.page-sports__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__text-block a.page-sports__inline-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-sports__text-block a.page-sports__inline-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    background: linear-gradient(135deg, #017439, #005a2e); /* Darker green gradient */
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 550px; /* Minimum height for hero */
}

.page-sports__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

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

.page-sports__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-sports__hero-description a.page-sports__inline-link {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
}

.page-sports__hero-description a.page-sports__inline-link:hover {
    text-decoration: underline;
}

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

.page-sports__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-sports__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    position: absolute;
    top: 0;
    left: 0;
    min-width: 200px;
    min-height: 200px;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__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;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-sports__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-sports__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #ffffff;
}

.page-sports__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-sports__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-sports__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Inline links */
a.page-sports__inline-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

a.page-sports__inline-link:hover {
    text-decoration: underline;
}

.page-sports__dark-bg a.page-sports__inline-link {
    color: #FFFF00; /* Yellow for links on dark background */
}

.page-sports__dark-bg a.page-sports__inline-link:hover {
    text-decoration: underline;
}

/* Intro Section */
.page-sports__intro-section .page-sports__text-block {
    text-align: left;
    max-width: 100%;
}