/* style/cockfighting.css */
:root {
    --primary-color: #000000;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-light: #e0e0e0;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--primary-color);
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

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

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-cockfighting__btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e6b800;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: border-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

.page-cockfighting__btn-secondary:hover {
    border-color: #e6b800;
    color: #e6b800;
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

.page-cockfighting__section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
}

.page-cockfighting__introduction-section,
.page-cockfighting__experience-section,
.page-cockfighting__promotions-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
    background-color: var(--primary-color);
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.page-cockfighting__subsection-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 50px;
    margin-bottom: 20px;
}

.page-cockfighting__section-text {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: left;
}

.page-cockfighting__inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-cockfighting__inline-link:hover {
    color: #e6b800;
}

.page-cockfighting__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-list,
.page-cockfighting__guide-list,
.page-cockfighting__promotion-list,
.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.page-cockfighting__feature-item,
.page-cockfighting__guide-item,
.page-cockfighting__promotion-item,
.page-cockfighting__strategy-item {
    background: var(--bg-dark-card);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1.1em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-item strong,
.page-cockfighting__guide-item strong,
.page-cockfighting__promotion-item strong,
.page-cockfighting__strategy-item strong {
    color: var(--secondary-color);
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.page-cockfighting__video-wrapper:hover .page-cockfighting__video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 3;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting__video-cta:hover {
    background-color: #e6b800;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    text-align: left;
}

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

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        height: auto;
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-cockfighting__hero-title {
        font-size: 2em;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__video-cta,
    .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: 12px 15px;
        font-size: 1em;
        margin-bottom: 10px;
    }

    .page-cockfighting__hero-content .page-cockfighting__btn-primary {
        margin-bottom: 20px;
    }

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

    .page-cockfighting__subsection-title {
        font-size: 1.4em;
    }

    .page-cockfighting__section-text,
    .page-cockfighting__feature-item,
    .page-cockfighting__guide-item,
    .page-cockfighting__promotion-item,
    .page-cockfighting__strategy-item,
    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer p {
        font-size: 0.95em;
    }

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

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
        object-fit: cover;
    }

    .page-cockfighting__video-wrapper,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-cockfighting__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    }

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

/* Ensure content images are never too small */
.page-cockfighting__image-content {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast safety for default text within sections/cards */
.page-cockfighting__section {
    color: var(--text-light);
}

.page-cockfighting__feature-item,
.page-cockfighting__guide-item,
.page-cockfighting__promotion-item,
.page-cockfighting__strategy-item,
.page-cockfighting__faq-item {
    background-color: var(--bg-dark-card);
    color: var(--text-light);
}

.page-cockfighting__faq-question {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-cockfighting__faq-answer {
    color: var(--text-light);
}