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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    min-height: 600px;
    overflow: hidden;
    background-color: #017439;
    color: #ffffff;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.page-cockfighting__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Use custom color for prominent titles */
}

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

.page-cockfighting__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    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;
    border: none;
    cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
    background-color: #9c0606;
    transform: translateY(-2px);
}

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

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

.page-cockfighting__section-title--white {
    color: #ffffff;
}

.page-cockfighting__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #333333;
}

.page-cockfighting__section-intro--white {
    color: #f0f0f0;
}

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

.page-cockfighting__dark-bg {
    background-color: #0a0a0a; /* Body background */
    color: #ffffff;
    padding: 80px 0;
}

.page-cockfighting__light-bg {
    background-color: #ffffff; /* Card/section background */
    color: #333333;
    padding: 80px 0;
}

.page-cockfighting__about-section .page-cockfighting__section-title,
.page-cockfighting__types-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #017439;
}

.page-cockfighting__about-section .page-cockfighting__section-intro,
.page-cockfighting__types-section .page-cockfighting__section-intro,
.page-cockfighting__promotions-section .page-cockfighting__section-intro,
.page-cockfighting__faq-section .page-cockfighting__section-intro {
    color: #333333;
}

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

.page-cockfighting__card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-cockfighting__type-card .page-cockfighting__card-image,
.page-cockfighting__promotion-card .page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__cta-buttons--center {
    display: flex;
    justify-content: center;
}

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

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

.page-cockfighting__card-title--dark {
    color: #017439;
}

.page-cockfighting__card-description--dark {
    color: #555555;
}

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

.page-cockfighting__tip-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #017439;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #ffffff;
}

.page-cockfighting__tip-title {
    font-size: 1.6em;
    color: #FFFF00; /* Highlight important tips */
    margin-bottom: 10px;
}

.page-cockfighting__tip-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-cockfighting__faq-item {
    background-color: #f8f8f8;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    color: #333333;
}

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

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

.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 25px;
    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 to show content */
    padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    color: #555555;
}

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

.page-cockfighting__cta-content {
    max-width: 900px;
}

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

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

    .page-cockfighting__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-cockfighting__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-cockfighting__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .page-cockfighting__dark-bg, .page-cockfighting__light-bg {
        padding: 60px 0;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card {
        padding: 25px;
    }

    .page-cockfighting__card-title {
        font-size: 1.3em;
    }

    .page-cockfighting__card-image {
        height: 200px;
    }

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

    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }

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

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

    /* 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__video-section,
    .page-cockfighting__video-container,
    .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;
    }

    /* Button responsiveness */
    .page-cockfighting__cta-button,
    .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__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    /* Video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}