/* style/sports.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-sports {
    color: #ffffff; /* Light text on dark body background #0a0a0a */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Section titles and descriptions */
.page-sports__section-title {
    font-size: 38px;
    font-weight: bold;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-text {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-sports__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1E90FF; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #ffffff;
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
    background-color: #FFD700;
    color: #1E90FF; /* Dark blue text */
}

.page-sports__btn-text {
    background: none;
    border: none;
    color: #1E90FF; /* Dark blue link text */
    padding: 0;
    font-size: 16px;
    font-weight: normal;
    text-decoration: underline;
}

.page-sports__btn-text:hover {
    color: #FFD700; /* Gold on hover */
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    /* If shared.css applies padding-top to body/main, set this to 0 to avoid double padding */
    /* Otherwise, uncomment the line below to ensure space for fixed header */
    /* padding-top: var(--header-offset, 120px); */
    padding-top: 0;
    padding-bottom: 80px;
    background-color: #1a1a1a;
    overflow: hidden;
}

.page-sports__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    flex-wrap: wrap;
}

.page-sports__hero-content {
    flex: 1;
    min-width: 400px;
    text-align: left;
}

.page-sports__hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #FFD700; /* Gold */
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-sports__hero-description {
    font-size: 22px;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-sports__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-sports__hero-image {
    flex: 1;
    min-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Intro Section */
.page-sports__intro-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
}

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

.page-sports__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light for dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-sports__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-sports__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-sports__feature-text {
    font-size: 16px;
    color: #cccccc;
    flex-grow: 1;
}

/* Categories Section */
.page-sports__categories-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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