/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff;
}

.page-cockfighting__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 60px 20px; /* Base padding, header offset added via inline style */
    box-sizing: border-box;
}

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

.page-cockfighting__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability */
}

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

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-cockfighting__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-small:hover {
    background-color: #005a2e;
}

.page-cockfighting__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-cockfighting__btn-extra-large {
    padding: 20px 40px;
    font-size: 1.4em;
}

.page-cockfighting__about-section {
    padding: 80px 0;
}

.page-cockfighting__grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__text-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333333;
}

.page-cockfighting__image-wrapper {
    text-align: center;
}

.page-cockfighting__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-cockfighting__types-section {
    padding: 80px 0;
}

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

.page-cockfighting__card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__card-image {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: #555555;
}

.page-cockfighting__guide-section {
    padding: 80px 0;
}

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

.page-cockfighting__step-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__step-item p {
    margin-bottom: 20px;
    color: #555555;
}

.page-cockfighting__advantages-section {
    padding: 80px 0;
}

.page-cockfighting__promotions-section {
    padding: 80px 0;
}

.page-cockfighting__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-cockfighting__promotion-cards .page-cockfighting__card-image {
    height: 300px;
}

.page-cockfighting__cta-banner {
    background-color: #017439;
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.page-cockfighting__cta-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-cockfighting__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-cockfighting__tips-section {
    padding: 80px 0;
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list-item {
    background-color: #005a2e;
    color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-item:last-child {
    margin-bottom: 0;
}

.page-cockfighting__list-title {
    font-size: 1.4em;
    color: #FFFF00; /* Highlighted color */
    margin-bottom: 10px;
}

.page-cockfighting__list-item p {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-cockfighting__faq-section {
    padding: 80px 0;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e6ffe6; /* Lighter green for question */
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #d0ffd0;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' visually */
}

.page-cockfighting__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-cockfighting__cta-final-section {
    padding: 100px 0;
    text-align: center;
}

.page-cockfighting__cta-final-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__cta-final-title {
    font-size: 3em;
    margin-bottom: 25px;
    color: #ffffff;
}

.page-cockfighting__cta-final-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__grid-two-columns {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-wrapper {
        order: -1; /* Image on top for smaller screens */
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-final-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .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__hero-cta-buttons,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-description {
        font-size: 1em;
    }
    .page-cockfighting__grid-cards,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotion-cards {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__card-image {
        height: auto; /* Allow height to adjust */
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
    .page-cockfighting__list-title {
        font-size: 1.2em;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 15px;
    }
    .page-cockfighting__cta-banner {
        padding: 30px 20px;
    }
    .page-cockfighting__cta-title {
        font-size: 1.8em;
    }
    .page-cockfighting__cta-text {
        font-size: 1em;
    }
    .page-cockfighting__cta-final-title {
        font-size: 2em;
    }
    .page-cockfighting__cta-final-description {
        font-size: 1.1em;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__image-wrapper,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Mobile video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__card-image {
        height: 200px; /* Adjust for smaller screens */
    }
    .page-cockfighting__cta-final-title {
        font-size: 1.8em;
    }
    .page-cockfighting__cta-final-description {
        font-size: 1em;
    }
}