/* style/sports.css */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared */
}

/* Fixed Header Spacing - Apply to the first main content section */
.page-sports__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #1a1a1a; /* Dark background for hero */
    padding-bottom: 60px;
    overflow: hidden; /* For hero image */
}

.page-sports__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-sports__hero-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for emphasis */
    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;
    color: #f0f0f0;
}

.page-sports__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For responsiveness */
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-sports__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
    background-color: #1e87b8;
    transform: translateY(-2px);
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-sports__btn-secondary:hover {
    background-color: #26A9E0;
    transform: translateY(-2px);
}

.page-sports__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

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

.page-sports__section-title {
    font-size: 2.8em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #26A9E0; /* Brand color */
    padding-top: 40px;
}

.page-sports__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* Video Section */
.page-sports__video-section {
    padding: 80px 20px;
    background-color: #1a1a1a;
    text-align: center;
}

.page-sports__video-wrapper {
    max-width: 900px;
    margin: 0 auto 30px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-sports__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.page-sports__video-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-sports__video-cta {
    margin-top: 20px;
}

/* Features Section */
.page-sports__features-section {
    padding: 80px 20px;
    background-color: #121212; /* Dark background */
    color: #ffffff;
}

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

.page-sports__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(38, 169, 224, 0.1); /* Subtle hover with brand color */
}

.page-sports__card-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-sports__card-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
    padding: 80px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-sports__sport-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-sports__sport-card:hover {
    transform: translateY(-10px);
}

.page-sports__sport-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-sports__sport-card .page-sports__card-title {
    margin-top: 20px;
    font-size: 1.8em;
    padding: 0 20px;
    color: #26A9E0;
}

.page-sports__sport-card .page-sports__card-text {
    padding: 0 20px 20px 20px;
    color: #e0e0e0;
}

/* Guide Section */
.page-sports__guide-section {
    padding: 80px 20px;
    background-color: #f5f5f5; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-sports__guide-section .page-sports__section-title {
    color: #333333;
}
.page-sports__guide-section .page-sports__section-description {
    color: #555555;
}
.page-sports__guide-section .page-sports__step-text a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-sports__guide-section .page-sports__step-text a:hover {
    color: #1e87b8;
}

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