/* style/the-thao.css */

:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-the-thao {
    background-color: var(--deep-navy); /* Body background from shared.css is --deep-navy */
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-the-thao__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 16px;
    box-sizing: border-box;
}

.page-the-thao__section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-the-thao__section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-the-thao__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

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

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

.page-the-thao__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-the-thao__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-the-thao__btn-small {
    padding: 8px 18px;
    font-size: 16px;
    border-radius: 6px;
}

/* HERO Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
    padding-bottom: 60px;
    background-color: var(--deep-navy);
    position: relative;
    overflow: hidden;
}

.page-the-thao__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 40px;
}

.page-the-thao__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: var(--text-main);
}

.page-the-thao__main-title {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-the-thao__hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.page-the-thao__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-the-thao__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: block;
}

/* Intro Section */
.page-the-thao__intro-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

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

.page-the-thao__icon-box {
    text-align: center;
    background-color: var(--deep-navy);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-the-thao__icon-box-media {
    width: 240px;
    height: 240px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-the-thao__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensure square images remain circular */
    display: block;
}

.page-the-thao__icon-box-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-the-thao__icon-box-text {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Sports Offerings Section */
.page-the-thao__sports-offerings {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-the-thao__sport-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
    padding-bottom: 25px;
}

.page-the-thao__sport-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-the-thao__sport-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-the-thao__sport-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us {
    padding: 80px 0;
    background-color: var(--card-bg);
}

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

.page-the-thao__benefit-item {
    background-color: var(--deep-navy);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
    padding-bottom: 30px;
}

.page-the-thao__benefit-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-the-thao__benefit-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-the-thao__benefit-text {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 0 15px;
}

/* Promotions CTA Section */
.page-the-thao__promotions-cta {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    text-align: center;
}

.page-the-thao__promotions-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
}

.page-the-thao__promotions-content .page-the-thao__section-title {
    color: var(--text-main);
}

.page-the-thao__promotions-content .page-the-thao__section-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* FAQ Section */
.page-the-thao__faq-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-the-thao__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none;
}

.page-the-thao__faq-question::-webkit-details-marker {
    display: none;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-the-thao__faq-toggle {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
    transform: rotate(45deg);
}

.page-the-thao__faq-answer {
    padding: 15px 25px 20px;
    font-size: 16px;
    color: var(--text-secondary);
}

.page-the-thao__faq-answer p {
    margin-bottom: 10px;
}

.page-the-thao__faq-answer p:last-child {
    margin-bottom: 0;
}

/* General Image Responsiveness */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-the-thao__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-the-thao__hero-content,
    .page-the-thao__hero-image {
        flex: 1 1 100%;
    }

    .page-the-thao__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-the-thao__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-the-thao__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }

    .page-the-thao__main-title {
        font-size: clamp(30px, 8vw, 40px);
    }

    .page-the-thao__hero-description {
        font-size: 16px;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-the-thao__btn,
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Intro Section - Module 1 three-column square images */
    .page-the-thao__intro-section {
        padding: 60px 0;
    }

    .page-the-thao__icon-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__icon-box-media {
        width: 200px;
        height: 200px;
        border-width: 3px;
    }

    .page-the-thao__icon-box-title {
        font-size: 20px;
    }

    .page-the-thao__icon-box-text {
        font-size: 15px;
    }

    /* Sports Offerings Section */
    .page-the-thao__sports-offerings {
        padding: 60px 0;
    }

    .page-the-thao__sports-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__sport-image {
        height: 180px;
    }

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

    .page-the-thao__sport-text {
        font-size: 15px;
    }

    /* Why Choose Us Section */
    .page-the-thao__why-choose-us {
        padding: 60px 0;
    }

    .page-the-thao__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__benefit-image {
        height: 200px;
    }

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

    .page-the-thao__benefit-text {
        font-size: 15px;
    }

    /* Promotions CTA Section */
    .page-the-thao__promotions-cta {
        padding: 60px 0;
    }

    .page-the-thao__promotions-content .page-the-thao__section-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .page-the-thao__promotions-content .page-the-thao__section-description {
        font-size: 16px;
    }

    /* FAQ Section */
    .page-the-thao__faq-section {
        padding: 60px 0;
    }

    .page-the-thao__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }

    .page-the-thao__faq-answer {
        padding: 12px 20px 15px;
        font-size: 15px;
    }

    /* General Image Responsiveness */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-the-thao__container,
    .page-the-thao__section,
    .page-the-thao__card,
    .page-the-thao__icon-box,
    .page-the-thao__sport-card,
    .page-the-thao__benefit-item,
    .page-the-thao__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}