/* style/sports.css */

/* CSS Variables for Brand Colors */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4; /* Body background from shared.css */
}

/* Base Styles for the Sports Page Content */
.page-sports {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light background */
    line-height: 1.6;
    background-color: var(--bg-light); /* Ensure consistency, though body handles it */
}

/* Fixed header offset for the main content or hero section */
.page-sports__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop and Mobile handled by shared variable */
}

/* Section General Styles */
.page-sports__section-title {
    font-size: 3em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-sports__section-title--light {
    color: var(--primary-color); /* Gold text on dark background */
}

.page-sports__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-dark);
}

.page-sports__text-block--light {
    color: var(--text-light);
}

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

/* Background Colors for Sections */
.page-sports__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-sports__dark-bg {
    background-color: var(--secondary-color); /* Dark red background */
    color: var(--text-light);
}

/* CTA Buttons General Styles */
.page-sports__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    margin-top: 30px;
}

.page-sports__cta-buttons--centered {
    justify-content: center;
}

.page-sports__cta-button,
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    flex-shrink: 0; /* Prevent buttons from shrinking too much */
}

.page-sports__cta-button--primary,
.page-sports__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-sports__cta-button--primary:hover,
.page-sports__btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__cta-button--secondary,
.page-sports__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-sports__cta-button--secondary:hover,
.page-sports__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* HERO Section Specific Styles */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Adjust as needed */
    background: linear-gradient(135deg, var(--secondary-color), #4d0000); /* Dark red gradient for hero background */
}

.page-sports__hero-container {
    position: relative;
    max-width: 1400px; /* Slightly wider for hero */
    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;
}

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

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

.page-sports__hero-title {
    font-size: 3.8em;
    color: var(--primary-color); /* Gold title */
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.page-sports__hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Quick Access Section */
.page-sports__grid-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}