/* style/the-thao.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #0a1f33;
    --border-color: #e0e0e0;
}

.page-the-thao {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

.page-the-thao section {
    padding: 60px 0;
    text-align: center;
}

.page-the-thao h1, .page-the-thao h2, .page-the-thao h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-the-thao h1 {
    font-size: 2.8em;
    font-weight: bold;
}

.page-the-thao h2 {
    font-size: 2.2em;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-the-thao h3 {
    font-size: 1.6em;
    font-weight: bold;
}

.page-the-thao p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

/* Hero Section */
.page-the-thao .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-the-thao .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-the-thao .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao .hero-content h1 {
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao .hero-content p {
    color: var(--text-light);
    max-width: 800px;
    margin: 20px auto 30px auto;
    font-size: 1.2em;
}

.page-the-thao .hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
}

.page-the-thao .cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao .cta-button.secondary {
    background: none;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-the-thao .cta-button.secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

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

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

.page-the-thao .intro-card {
    background: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-the-thao .intro-card .card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-the-thao .intro-card h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-the-thao .intro-card p {
    font-size: 1em;
    color: var(--text-dark);
}

/* Sports Types Section */
.page-the-thao .section-sports-types {
    background-color: var(--text-light);
    padding: 80px 0;
}

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

.page-the-thao .sport-item {
    background: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .sport-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-the-thao .sport-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
}

.page-the-thao .sport-item h3 {
    color: var(--primary-color);
    margin: 20px 15px 10px 15px;
    font-size: 1.5em;
}

.page-the-thao .sport-item p {
    padding: 0 15px 20px 15px;
    font-size: 1em;
    color: var(--text-dark);
}

.page-the-thao .btn-learn-more {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-the-thao .btn-learn-more:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Advantages Section */
.page-the-thao .section-advantages {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.page-the-thao .section-advantages h2 {
    color: var(--secondary-color);
}

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

.page-the-thao .advantage-item {
    background: var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-the-thao .advantage-item:hover {
    transform: translateY(-10px);
    background-color: #004488;
}

.page-the-thao .advantage-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-the-thao .advantage-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-the-thao .advantage-item p {
    font-size: 1em;
    color: var(--text-light);
}

/* Guide Section */
.page-the-thao .section-guide {
    background-color: var(--bg-light);
    padding: 80px 0;
}

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

.page-the-thao .step-item {
    background: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.page-the-thao .step-item .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-the-thao .step-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-the-thao .step-item p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-the-thao .btn-action {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* FAQ Section */
.page-the-thao .section-faq {
    background-color: var(--text-light);
    padding: 80px 0;
}

.page-the-thao .faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-the-thao .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.page-the-thao .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-the-thao .faq-question:hover {
    background: var(--bg-light);
}

.page-the-thao .faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.page-the-thao .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-the-thao .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-the-thao .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-the-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.page-the-thao .faq-answer p {
    margin-bottom: 0;
}

/* Bottom CTA Section */
.page-the-thao .section-cta-bottom {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-the-thao .section-cta-bottom h2 {
    color: var(--secondary-color);
}

.page-the-thao .section-cta-bottom p {
    max-width: 800px;
    margin: 20px auto 40px auto;
    font-size: 1.2em;
}

.page-the-thao .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-the-thao h1 {
        font-size: 2.5em;
    }
    .page-the-thao h2 {
        font-size: 2em;
    }
    .page-the-thao .hero-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-the-thao section {
        padding: 40px 0;
    }
    .page-the-thao h1 {
        font-size: 2em;
    }
    .page-the-thao h2 {
        font-size: 1.8em;
    }
    .page-the-thao h3 {
        font-size: 1.4em;
    }
    .page-the-thao p {
        font-size: 1em;
    }
    .page-the-thao .hero-content p {
        font-size: 1.1em;
    }
    .page-the-thao .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-the-thao .intro-cards, .page-the-thao .sports-grid, .page-the-thao .advantages-grid, .page-the-thao .guide-steps {
        grid-template-columns: 1fr;
    }
    .page-the-thao .sport-item img {
        height: 200px;
    }
    .page-the-thao .faq-question {
        padding: 15px;
    }
    .page-the-thao .faq-question h3 {
        font-size: 1.1em;
    }
    .page-the-thao .faq-answer {
        padding: 0 15px;
    }
    .page-the-thao .faq-item.active .faq-answer {
        padding: 15px;
    }
    .page-the-thao .step-item .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        top: -20px;
    }
    .page-the-thao .step-item {
        padding-top: 50px;
    }
}

@media (max-width: 480px) {
    .page-the-thao h1 {
        font-size: 1.8em;
    }
    .page-the-thao h2 {
        font-size: 1.6em;
    }
    .page-the-thao .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-the-thao .cta-button {
        width: 100%;
        max-width: 280px;
    }
    .page-the-thao .container {
        padding: 0 15px;
    }
    .page-the-thao .faq-toggle {
        font-size: 20px;
    }
}