/* style/sports.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-dark: #0f172a; /* Body background from shared.css */
    --background-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
}

.page-sports__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color), var(--background-dark));
    color: var(--text-color-light);
    overflow: hidden;
}

.page-sports__hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
    z-index: 1;
}

.page-sports__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-sports__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-sports__cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-sports__hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-sports__section {
    padding: 60px 20px;
    text-align: center;
}

.page-sports__light-bg {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-sports__dark-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-sports__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: inherit;
}

.page-sports__section-subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: inherit;
}

.page-sports__content-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1em;
}

.page-sports__content-block p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-sports__inline-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-sports__light-bg .page-sports__inline-link {
    color: var(--primary-color);
}

.page-sports__dark-section .page-sports__inline-link {
    color: var(--secondary-color);
}

.page-sports__inline-link:hover {
    color: var(--secondary-color);
}

.page-sports__highlight-keyword {
    font-weight: bold;
    color: var(--primary-color);
}

.page-sports__dark-section .page-sports__highlight-keyword {
    color: var(--secondary-color);
}

.page-sports__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-sports__card {
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-sports__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-sports__card-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-sports__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-sports__card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    margin-top: auto;
}

.page-sports__card-button:hover {
    background: #002244;
}

.page-sports__two-column {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-sports__text-column {
    flex: 1;
}

.page-sports__image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-sports__responsive-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: block;
}

.page-sports__small-button {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

.page-sports__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-sports__promo-card {
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    color: var(--text-color-dark);
    display: flex;
    flex-direction: column;
}

.page-sports__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-sports__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-sports__promo-content h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-sports__promo-content p {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__main-title {
        font-size: 2.8em;
    }
    .page-sports__hero-description {
        font-size: 1.2em;
    }
    .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__section-subtitle {
        font-size: 1.1em;
    }
    .page-sports__two-column {
        flex-direction: column;
    }
    .page-sports__image-column {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-sports__main-title {
        font-size: 2.2em;
    }
    .page-sports__hero-description {
        font-size: 1em;
    }
    .page-sports__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-sports__section {
        padding: 40px 15px;
    }
    .page-sports__section-title {
        font-size: 1.8em;
    }
    .page-sports__section-subtitle {
        font-size: 1em;
    }
    .page-sports__content-block {
        font-size: 1em;
    }
    .page-sports__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-sports__card {
        padding: 25px;
    }
    .page-sports__card-title {
        font-size: 1.5em;
    }
    .page-sports__card-description {
        font-size: 0.95em;
    }
    .page-sports__card-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-sports__promo-cards {
        grid-template-columns: 1fr;
    }
    .page-sports__promo-content h3 {
        font-size: 1.3em;
    }
    .page-sports__promo-content p {
        font-size: 0.95em;
    }
    .page-sports img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-sports__section,
    .page-sports__card,
    .page-sports__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-sports__main-title {
        font-size: 1.8em;
    }
    .page-sports__hero-description {
        font-size: 0.9em;
    }
    .page-sports__cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-sports__section-title {
        font-size: 1.5em;
    }
}