/* style/cockfighting.css */
:root {
    --mcw-primary-color: #0A192F;
    --mcw-secondary-color: #FFD700;
    --mcw-text-light: #ffffff;
    --mcw-text-dark: #333333;
    --mcw-bg-light: #f8f9fa;
    --mcw-bg-dark: #0A192F;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--mcw-text-dark); /* Default text color for light backgrounds */
    background-color: var(--mcw-bg-light);
}

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

.page-cockfighting__dark-bg {
    background-color: var(--mcw-bg-dark);
    color: var(--mcw-text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--mcw-bg-light);
    color: var(--mcw-text-dark);
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    gap: 40px;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-cockfighting__main-title {
    font-size: 3.5em;
    color: var(--mcw-secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: var(--mcw-text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: var(--mcw-secondary-color);
    color: var(--mcw-primary-color);
    border: 2px solid var(--mcw-secondary-color);
}

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--mcw-secondary-color);
    border: 2px solid var(--mcw-secondary-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--mcw-secondary-color);
    color: var(--mcw-primary-color);
    transform: translateY(-3px);
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

/* Section Titles and Descriptions */
.page-cockfighting__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
    font-weight: bold;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: inherit;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__video-link {
    display: block;
    width: 100%;
    max-width: 960px;
    margin: 40px auto 0 auto;
    position: relative;
    cursor: pointer;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 80px 20px;
}

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

.page-cockfighting__kèo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-cockfighting__kèo-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__kèo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__kèo-title {
    font-size: 1.8em;
    color: var(--mcw-secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting__kèo-text {
    font-size: 1em;
    color: var(--mcw-text-light);
    flex-grow: 1;
}

.page-cockfighting__call-to-action-text {
    text-align: center;
    font-size: 1.1em;
    margin-top: 50px;
    color: inherit;
}

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 30px;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 20px;
}

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

.page-cockfighting__step-card {
    background-color: var(--mcw-text-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--mcw-text-dark);
}

.page-cockfighting__step-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__step-icon {
    font-size: 2.5em;
    color: var(--mcw-secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    background-color: var(--mcw-primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 3px solid var(--mcw-secondary-color);
}

.page-cockfighting__step-title {
    font-size: 1.8em;
    color: var(--mcw-primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__step-text {
    font-size: 1em;
    color: var(--mcw-text-dark);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    background-color: var(--mcw-primary-color);
    color: var(--mcw-text-light);
    border: 2px solid var(--mcw-primary-color);
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
    background-color: var(--mcw-secondary-color);
    color: var(--mcw-primary-color);
    border-color: var(--mcw-secondary-color);
    transform: translateY(-2px);
}

/* Strategy Section */
.page-cockfighting__strategy-section {
    padding: 80px 20px;
}

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

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

.page-cockfighting__strategy-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__strategy-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__strategy-title {
    font-size: 1.8em;
    color: var(--mcw-secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting__strategy-text {
    font-size: 1em;
    color: var(--mcw-text-light);
    flex-grow: 1;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
    padding: 80px 20px;
}

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

.page-cockfighting__benefit-card {
    background-color: var(--mcw-text-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--mcw-text-dark);
}

.page-cockfighting__benefit-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__benefit-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__benefit-title {
    font-size: 1.8em;
    color: var(--mcw-primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__benefit-text {
    font-size: 1em;
    color: var(--mcw-text-dark);
    flex-grow: 1;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 20px;
}

.page-cockfighting__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--mcw-text-light);
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.2em;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    color: var(--mcw-secondary-color);
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--mcw-text-light);
    font-size: 1em;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

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

    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }

    .page-cockfighting__section-title {
        font-size: 2.2em;
    }

    .page-cockfighting__section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 60px 15px;
        min-height: 500px;
    }

    .page-cockfighting__main-title {
        font-size: 2.5em;
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }

    .page-cockfighting__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__faq-section {
        padding: 50px 15px;
    }

    .page-cockfighting__video-link,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-cockfighting__kèo-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__benefits-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__kèo-image,
    .page-cockfighting__strategy-image,
    .page-cockfighting__benefit-image,
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__kèo-card,
    .page-cockfighting__step-card,
    .page-cockfighting__strategy-card,
    .page-cockfighting__benefit-card {
        padding: 25px;
    }

    .page-cockfighting__faq-question h3 {
        font-size: 1.1em;
    }

    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 15px 20px 15px;
    }

    .page-cockfighting__call-to-action-text {
        margin-top: 40px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
}