/* style/sports.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212; /* From body background info */
    --background-light: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.25);
}

/* Base styles for the page content area */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Ensure consistency if main content area is also dark */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

.page-sports__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px var(--shadow-dark);
}

.page-sports__section-description {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General content wrapper styles */
.page-sports__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-sports__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-sports__text-content {
    flex: 1;
    font-size: 17px;
    color: var(--text-light); /* Text color for dark background */
}

.page-sports__text-content p {
    margin-bottom: 15px;
}

/* Image styles */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-dark);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-sports img:hover {
    transform: translateY(-3px);
}

.page-sports__image-left {
    flex-shrink: 0;
    width: 600px; /* Display width */
}

.page-sports__image-right {
    flex-shrink: 0;
    width: 600px; /* Display width */
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000040 100%); /* Dark blue gradient */
}

.page-sports__hero-section.page-sports__dark-bg {
    color: var(--text-light); /* Explicitly set for dark background */
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
    border-radius: 0; /* Hero image usually full width, no radius */
    box-shadow: none;
}

.page-sports__hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-sports__main-title {
    font-size: 52px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 5px var(--shadow-dark);
    line-height: 1.2;
}

.page-sports__tagline {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-sports__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-dark);
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Prevent text wrapping for primary buttons */
}

.page-sports__btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color); /* Dark blue text on gold button for contrast */
}

.page-sports__btn-primary:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-dark);
}

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

.page-sports__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-dark);
}

/* About Section */
.page-sports__about-section {
    padding: 80px 0;
    background-color: var(--background-light); /* Light background for contrast */
    color: var(--text-dark); /* Dark text on light background */
}

.page-sports__about-section .page-sports__section-title {
    color: var(--secondary-color); /* Dark blue title on light background */
}

.page-sports__about-section .page-sports__text-content {
    color: var(--text-dark); /* Dark text */
}

/* Why Choose Section */
.page-sports__why-choose-section {
    padding: 80px 0;
    background-color: var(--secondary-color); /* Dark blue background */
    color: var(--text-light); /* Light text */
}

.page-sports__why-choose-section .page-sports__section-title {
    color: var(--primary-color); /* Gold title on dark blue background */
}

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