/* style/sports.css */

/* --- General Styles & Reset (Scoped) --- */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Body background is white by default */
}

.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: 36px;
    color: #017439; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-sports__section-title--light {
    color: #FFFFFF;
}

.page-sports__paragraph {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__paragraph--light {
    color: #f0f0f0;
}

.page-sports__highlight {
    font-weight: bold;
    color: #017439; /* Highlight color */
}

.page-sports__paragraph--light .page-sports__highlight {
    color: #FFFF00; /* Yellow highlight on dark background */
}

/* --- Buttons --- */
.page-sports__cta-button,
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    margin: 10px;
}

.page-sports__cta-button {
    padding: 15px 40px;
    font-size: 18px;
    margin-top: 30px;
}

.page-sports__cta-button--register {
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register button font color */
    border: 2px solid #C30808;
}

.page-sports__cta-button--register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-sports__btn-primary {
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF;
    border: 2px solid #017439;
}

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

.page-sports__btn-primary--large {
    padding: 18px 40px;
    font-size: 18px;
}

.page-sports__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Primary brand color for text */
    border: 2px solid #017439;
}

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

.page-sports__btn-secondary--large {
    padding: 18px 40px;
    font-size: 18px;
}

.page-sports__btn-link {
    background: none;
    border: 1px solid #017439;
    color: #017439;
    padding: 10px 20px;
    font-size: 15px;
    margin-top: 15px;
}

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

.page-sports__button-group {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 15px;
}


/* --- HERO Section --- */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, #017439, #005a2e); /* Dark green gradient */
    color: #FFFFFF;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-sports__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-sports__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-sports__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-sports__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #FFFF00; /* Yellow for main title on dark background */
}

.page-sports__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* --- Introduction Section --- */
.page-sports__introduction-section .page-sports__paragraph {
    color: #333333;
}
.page-sports__introduction-section .page-sports__highlight {
    color: #017439;
}

/* --- Sports Types Section --- */
.page-sports__sports-types {
    background-color: #f8f8f8;
}

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

.page-sports__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-sports__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.page-sports__card-title {
    font-size: 24px;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-sports__card-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    flex-grow: 1; /* Allow text to grow */
}

/* --- Promotions Section --- */
.page-sports__promotions-section {
    background-color: #017439; /* Primary brand color as background */
    color: #FFFFFF;
}

.page-sports__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-sports__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}