/* style/cockfighting.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-cockfighting {
    background-color: var(--page-bg);
    color: var(--text-main);
    font-family: Arial, sans-serif;
}

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__dark-bg {
    background-color: var(--card-bg);
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--text-main);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 20px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Use clamp for responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-main);
}

.page-cockfighting__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-3px);
}

.page-cockfighting__btn-text {
    background: none;
    color: var(--gold-color);
    border: none;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-cockfighting__btn-text:hover {
    color: var(--glow-color);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-cockfighting__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-cockfighting__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.page-cockfighting__list-item::before {
    content: '•';
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: -2px;
}

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

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: var(--primary-color);
}

.page-cockfighting__card-description {
    font-size: 1em;
    line-height: 1.6;
    margin: 0 20px 20px;
    color: var(--text-secondary);
}

.page-cockfighting__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.page-cockfighting__step-icon {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    background-color: var(--deep-green);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-cockfighting__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__faq-question::-webkit-details-marker { display: none; }
.page-cockfighting__faq-question::marker { display: none; }
.page-cockfighting__faq-item summary { list-style: none; }

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}

.page-cockfighting__conclusion .page-cockfighting__cta-buttons {
    margin-top: 40px;
}

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

/* Responsive styles */
@media (max-width: 992px) {
    .page-cockfighting__grid-two-columns {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-block {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }
    .page-cockfighting__intro-text {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-text {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }
    .page-cockfighting__sub-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
    }
    .page-cockfighting__paragraph,
    .page-cockfighting__list-item,
    .page-cockfighting__card-description,
    .page-cockfighting__step-description,
    .page-cockfighting__faq-answer p {
        font-size: 0.95em;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
    .page-cockfighting__card-image {
        height: 200px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__hero-content,
    .page-cockfighting__step-by-step,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}