/* style/cockfighting.css */

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px; /* General padding */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-cockfighting-background);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-cockfighting-text-main);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.page-cockfighting__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--page-cockfighting-text-secondary);
    max-width: 100%;
}

/* General Section Styling */
.page-cockfighting__section {
    padding: 60px 20px;
    background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-cockfighting-text-main);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-cockfighting__grid-full-width {
    grid-column: 1 / -1; /* Spans full width in grid */
}

/* Card Styling */
.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-cockfighting-gold);
    line-height: 1.3;
}

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

.page-cockfighting__card-text {
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 15px;
    flex-grow: 1; /* Allow text to grow */
}

/* List Styling */
.page-cockfighting__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list li {
    margin-bottom: 8px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list li strong {
    color: var(--page-cockfighting-text-main);
}

/* Button Styling */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
    margin-top: auto; /* Push buttons to bottom of card */
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--page-cockfighting-glow); /* Green text for contrast */
    border: 2px solid var(--page-cockfighting-glow);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--page-cockfighting-glow);
    color: var(--page-cockfighting-background); /* Dark text on light green hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
    margin-top: 10px;
}

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

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

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

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-cockfighting__faq-question:hover {
    background-color: var(--primary-color);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    margin-left: 15px;
    color: var(--page-cockfighting-glow);
}

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

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    color: var(--page-cockfighting-text-secondary);
}

/* CTA Section */
.page-cockfighting__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--page-cockfighting-deep-green);
    border-top: 5px solid var(--page-cockfighting-gold);
}

.page-cockfighting__cta-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__cta-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--page-cockfighting-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    min-width: 250px;
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Color contrast specific classes (for light background sections) */
.page-cockfighting__light-bg {
    background-color: #f8f9fa; /* A very light background */
    color: #333333; /* Dark text for contrast */
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__card-title {
    color: var(--page-cockfighting-deep-green); /* Dark green for titles on light background */
}

.page-cockfighting__light-bg .page-cockfighting__card-text,
.page-cockfighting__light-bg .page-cockfighting__list li,
.page-cockfighting__light-bg .page-cockfighting__list li strong {
    color: #333333; /* Dark text on light background */
}

.page-cockfighting__light-card-text {
    color: #333333; /* Ensure dark text for card content on light background */
}

.page-cockfighting__light-card-text .page-cockfighting__list li {
    color: #333333;
}

.page-cockfighting__light-card-text .page-cockfighting__list li strong {
    color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.9em, 2vw, 1.1em);
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5em, 4vw, 2.5em);
        margin-bottom: 30px;
    }
    .page-cockfighting__card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
    .page-cockfighting__cta-section {
        padding: 60px 15px;
    }
    .page-cockfighting__cta-title {
        font-size: clamp(1.5em, 4vw, 2.2em);
    }
    .page-cockfighting__cta-description {
        font-size: clamp(0.9em, 2vw, 1.1em);
    }
}

@media (max-width: 768px) {
    /* General responsive for images, videos, buttons and containers */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__cta-section,
    .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;
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Buttons specific responsive */
    .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;
        margin-bottom: 10px; /* Space between stacked buttons */
        padding-left: 15px; /* Ensure padding inside button */
        padding-right: 15px; /* Ensure padding inside button */
    }
    .page-cockfighting__cta-buttons {
        display: flex;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    /* Hero section specific */
    .page-cockfighting__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Small top padding */
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    /* General sections */
    .page-cockfighting__section {
        padding: 30px 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.3em, 5vw, 2em);
        margin-bottom: 25px;
    }
    .page-cockfighting__grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .page-cockfighting__grid--two-columns {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__grid-full-width {
        grid-column: auto; /* Reset to auto for single column */
    }
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__card-image {
        max-height: 200px;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.2em;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
    .page-cockfighting__cta-section {
        padding: 50px 15px;
    }
    .page-cockfighting__cta-title {
        font-size: clamp(1.3em, 5vw, 2em);
    }
    .page-cockfighting__cta-description {
        font-size: 0.9em;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-button {
        min-width: unset;
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-section {
        padding: 20px 10px;
        padding-top: 10px !important;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.2em, 7vw, 2em);
    }
    .page-cockfighting__hero-description {
        font-size: 0.85em;
    }
    .page-cockfighting__section {
        padding: 20px 10px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.1em, 6vw, 1.8em);
    }
    .page-cockfighting__card {
        padding: 15px;
    }
    .page-cockfighting__card-title {
        font-size: 1.1em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-cockfighting__faq-question {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .page-cockfighting__faq-answer {
        padding: 12px 15px;
    }
    .page-cockfighting__cta-section {
        padding: 40px 10px;
    }
    .page-cockfighting__cta-title {
        font-size: clamp(1.1em, 6vw, 1.8em);
    }
    .page-cockfighting__cta-description {
        font-size: 0.85em;
    }
}