/* style/cockfighting.css */

/* Custom Colors */
:root {
    --cockfighting-primary-color: #11A84E;
    --cockfighting-secondary-color: #22C768;
    --cockfighting-card-bg: #11271B;
    --cockfighting-background: #08160F;
    --cockfighting-text-main: #F2FFF6;
    --cockfighting-text-secondary: #A7D9B8;
    --cockfighting-border: #2E7A4E;
    --cockfighting-glow: #57E38D;
    --cockfighting-gold: #F2C14E;
    --cockfighting-divider: #1E3A2A;
    --cockfighting-deep-green: #0A4B2C;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    text-align: center;
    overflow: hidden;
    background-color: var(--cockfighting-deep-green);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image wrapper */
    margin-bottom: 30px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-cockfighting__main-title {
    color: var(--cockfighting-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__intro-text {
    color: var(--cockfighting-text-main);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%; /* Ensure buttons adapt to mobile */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff; /* White text for primary button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--cockfighting-gold);
    color: var(--cockfighting-background);
}

.page-cockfighting__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--cockfighting-divider);
}

.page-cockfighting__dark-bg {
    background-color: var(--cockfighting-background);
    color: var(--cockfighting-text-main);
}

.page-cockfighting__light-bg {
    background-color: var(--cockfighting-card-bg);
    color: var(--cockfighting-text-main);
}

.page-cockfighting__container {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    color: var(--cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: bold;
}

.page-cockfighting__text-block {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--cockfighting-text-secondary);
}

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

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

.page-cockfighting__numbered-list {
    list-style: decimal;
    padding-left: 20px;
    margin: 0 0 40px 0;
    color: var(--cockfighting-text-secondary);
}

.page-cockfighting__list-item {
    margin-bottom: 20px;
    background-color: var(--cockfighting-background);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--cockfighting-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
    color: var(--cockfighting-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.page-cockfighting__list-item p {
    color: var(--cockfighting-text-main);
    font-size: 1rem;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: var(--cockfighting-card-bg);
    padding: 60px 20px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--cockfighting-background);
    border: 1px solid var(--cockfighting-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--cockfighting-text-main);
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--cockfighting-deep-green);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 24px;
    text-align: center;
    user-select: none;
    color: var(--cockfighting-gold);
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    color: var(--cockfighting-text-secondary);
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
}

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

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-cockfighting__hero-image,
    .page-cockfighting__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__container,
    .page-cockfighting__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-cockfighting__list-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-cockfighting__faq-toggle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

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