/* style/sports.css */

/* Core Styles for .page-sports scope */
.page-sports {
    font-family: 'Arial', sans-serif; /* Example font */
    color: var(--text-main); /* Default text color for the page */
    background-color: transparent; /* Body background is set by shared.css */
}

/* Variables for custom colors */
:root {
    --color-primary: #113B7A;
    --color-secondary: #1D5FD1;
    --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --color-glow: #4FA8FF;
    --color-gold: #F2C14E;
    --color-divider: #1B3357;
    --color-deep-navy: #08162B; /* This is the body background from shared.css */
}

/* General Section Styling */
.page-sports__section {
    padding: 40px 0;
    margin-bottom: 20px;
}

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

.page-sports__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-sports__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 2px;
}

.page-sports__text-block {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero has a decent height */
    text-align: center;
    background-color: var(--color-deep-navy); /* Fallback */
}

.page-sports__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-sports__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Desktop: cover to fill */
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-sports__hero-title {
    font-size: clamp(32px, 5vw, 48px); /* H1 font size with clamp */
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.page-sports__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-sports__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-sports__btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: none;
}

.page-sports__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-text {
    background: transparent;
    color: var(--color-gold);
    border: none;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}

.page-sports__btn-text:hover {
    color: var(--color-glow);
    text-decoration: none;
}