/* style/cockfighting.css */

/* Base Styles & Typography */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherit body background */
}

.page-cockfighting__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

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

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

.page-cockfighting__text-block {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Color Contrast & Backgrounds */
.page-cockfighting__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: #017439;
}

.page-cockfighting__light-bg .page-cockfighting__section-description,
.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__list-text,
.page-cockfighting__light-bg .page-cockfighting__card-text,
.page-cockfighting__light-bg .page-cockfighting__faq-qtext,
.page-cockfighting__light-bg .page-cockfighting__faq-answer p {
    color: #333333;
}

/* Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    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: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    text-align: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

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

.page-cockfighting__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
}

.page-cockfighting__video-link {
    display: block;
    cursor: pointer;
}

.page-cockfighting__video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.page-cockfighting__cta-buttons--video {
    margin-top: 20px;
}

/* About Section */
.page-cockfighting__about-section {
    padding: 60px 20px;
}

/* Type Cards Section */
.page-cockfighting__types-section {
    padding: 60px 20px;
}

.page-cockfighting__type-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 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

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

.page-cockfighting__card-text {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    flex-grow: 1;
}

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

.page-cockfighting__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

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

.page-cockfighting__list-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

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

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    counter-reset: guide-counter;
}

.page-cockfighting__guide-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__guide-item::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: #017439;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

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

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

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

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

.page-cockfighting__card--strategy {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__card--strategy .page-cockfighting__card-title {
    color: #FFFF00;
}

.page-cockfighting__card--strategy .page-cockfighting__card-text {
    color: #f0f0f0;
}

/* Rules Section */
.page-cockfighting__rules-section {
    padding: 60px 20px;
}

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

.page-cockfighting__rules-list .page-cockfighting__list-item {
    background-color: #f9f9f9;
    color: #333333;
    border-left: 5px solid #017439;
    padding: 20px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__rules-list .page-cockfighting__list-title {
    color: #017439;
    font-size: 1.3em;
}

.page-cockfighting__rules-list .page-cockfighting__list-text {
    color: #555555;
    font-size: 0.95em;
}

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

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: #FFFF00;
    cursor: pointer;
    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.15);
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #f0f0f0;
}

/* Hide default details marker */
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-item summary {
    list-style: none;
}

/* CTA Banner Section */
.page-cockfighting__cta-banner {
    position: relative;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    min-height: 400px;
}

.page-cockfighting__cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.page-cockfighting__cta-banner .page-cockfighting__section-title {
    color: #FFFF00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__cta-banner .page-cockfighting__section-description {
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    z-index: 1;
}

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

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

    .page-cockfighting__content-area {
        padding: 20px 15px;
    }

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

    .page-cockfighting__main-title {
        font-size: 2.5em;
    }

    .page-cockfighting__intro-text {
        font-size: 1.1em;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-cockfighting__video-section,
    .page-cockfighting__about-section,
    .page-cockfighting__types-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-banner {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__type-cards,
    .page-cockfighting__benefits-list,
    .page-cockfighting__strategy-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .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;
    }

    .page-cockfighting__guide-item {
        padding-left: 20px;
        padding-top: 50px;
    }

    .page-cockfighting__guide-item::before {
        left: 50%;
        transform: translateX(-50%);
        top: 15px;
    }
    
    .page-cockfighting__card {
        padding-bottom: 15px;
    }
    
    .page-cockfighting__card-image {
        height: 200px;
    }

    .page-cockfighting__cta-banner {
        min-height: 300px;
        padding: 60px 15px;
    }
}

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

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

    .page-cockfighting__intro-text {
        font-size: 1em;
    }
}