/* style/sports.css */

/* General Styles for .page-sports scope */
.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

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

.page-sports__section-title {
    font-size: 3em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-sports__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-card,
.page-sports__btn-step,
.page-sports__btn-promo {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure button doesn't exceed container width */
}

.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: transparent;
    color: #017439; /* Brand color */
    border: 2px solid #017439;
}

.page-sports__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-sports__btn-card,
.page-sports__btn-step,
.page-sports__btn-promo {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-sports__btn-card:hover,
.page-sports__btn-step:hover,
.page-sports__btn-promo:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

/* Image styles - General */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    padding: var(--header-offset, 120px) 0 100px 0; /* Default padding, will be adjusted by header offset */
    text-align: center;
    overflow: hidden;
    color: #FFFFFF;
    background-color: #017439; /* Dark brand color background */
}

.page-sports__hero-section .page-sports__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.page-sports__hero-content {
    flex: 1;
    text-align: left;
}

.page-sports__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFF00; /* Using yellow for hero title as per color scheme */
}

.page-sports__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #FFFFFF;
    max-width: 600px;
}

.page-sports__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-sports__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-sports__introduction-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-sports__image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-sports__grid-image {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Featured Sports Section */
.page-sports__featured-sports-section {
    padding: 80px 0;
    background-color: #017439; /* Dark brand color background */
    color: #FFFFFF;
}