/* style/sports.css */

/* Base Styles */
.page-sports {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff; /* Default body background is white */
}

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

.page-sports__section {
    padding: 60px 0;
    text-align: center;
}

.page-sports__section-title {
    font-size: 36px;
    color: #26A9E0;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-sports__paragraph {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.page-sports__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
}

.page-sports__image-wrapper img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dark Background Section */
.page-sports__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-sports__dark-section .page-sports__section-title,
.page-sports__dark-section .page-sports__paragraph {
    color: #ffffff;
}

.page-sports__dark-section a {
    color: #ffffff;
    text-decoration: underline;
}

.page-sports__dark-section a:hover {
    color: #f0f0f0;
}

/* Light Background Section */
.page-sports__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Buttons */
.page-sports__cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-sports__btn-primary:hover {
    background: #1e87c2;
    border-color: #1e87c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-sports__btn-secondary:hover {
    background: #f0f8ff;
    color: #1e87c2;
    border-color: #1e87c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__btn-large {
    padding: 18px 50px;
    font-size: 20px;
}

/* HERO Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
}

.page-sports__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.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: 8px;
    object-fit: cover;
}

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

.page-sports__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.1;
}

.page-sports__intro-text {
    font-size: 22px;
    margin-bottom: 40px;
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Overview Section */
.page-sports__overview-section .page-sports__paragraph a {
    color: #26A9E0;
    text-decoration: none;
}

.page-sports__overview-section .page-sports__paragraph a:hover {
    text-decoration: underline;
}

/* Features Section */
.page-sports__features-section .page-sports__container {
    max-width: 1000px;
}

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

.page-sports__feature-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-sports__feature-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
}

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

.page-sports__card-description {
    font-size: 16px;
    color: #555555;
    flex-grow: 1;
}

.page-sports__cta-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Guide Section */
.page-sports__guide-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-sports__guide-list li {
    background: #f9f9f9;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 17px;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__guide-list li strong {
    color: #26A9E0;
}

.page-sports__guide-list li a {
    color: #26A9E0;
    text-decoration: none;
}

.page-sports__guide-list li a:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-sports__promo-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-sports__promo-list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid #ffffff;
    border-radius: 5px;
    font-size: 17px;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__promo-list li strong {
    color: #ffffff;
}

.page-sports__promo-list li a {
    color: #ffffff;
    text-decoration: underline;
}

.page-sports__promo-list li a:hover {
    color: #f0f0f0;
}

/* FAQ Section */
.page-sports__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #333333;
}

.page-sports__faq-item.active .page-sports__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

.page-sports__faq-item.active .page-sports__faq-answer a:hover {
    text-decoration: underline;
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #333333;
}

.page-sports__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-sports__faq-question:active {
    background: #eeeeee;
}

.page-sports__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.page-sports__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
    color: #333;
    transform: rotate(45deg);
}

/* CTA Banner */
.page-sports__cta-banner {
    padding: 80px 20px;
}

.page-sports__cta-content {
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__section-title {
        font-size: 32px;
    }

    .page-sports__main-title {
        font-size: 40px;
    }

    .page-sports__intro-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-sports__intro-text {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .page-sports__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important; /* Remove margin for single column */
        margin-bottom: 15px; /* Add vertical space between buttons */
    }

    .page-sports__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-sports__section {
        padding: 40px 0;
    }

    .page-sports__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .page-sports__paragraph {
        font-size: 16px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-sports__feature-card {
        padding: 20px;
    }

    .page-sports__card-title {
        font-size: 20px;
    }

    .page-sports__guide-list,
    .page-sports__promo-list,
    .page-sports__faq-list {
        margin: 30px auto;
        padding: 0 15px;
    }

    .page-sports__guide-list li,
    .page-sports__promo-list li {
        padding: 15px 20px;
        font-size: 16px;
    }

    .page-sports__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-sports__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-sports__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-sports__faq-answer {
        padding: 0 15px;
    }

    .page-sports__faq-item.active .page-sports__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image adaptation */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-sports__section,
    .page-sports__card,
    .page-sports__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-sports__hero-image img {
      border-radius: 4px;
    }
}