/* style/cockfighting.css */

/* Base Styles for .page-cockfighting */
.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main, #F2FFF6); /* Default light text color */
    background-color: var(--background-color-page, #08160F); /* Page background from custom colors */
    line-height: 1.6;
}

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

/* Sections with specific backgrounds */
.page-cockfighting__dark-bg {
    background-color: var(--background-color-page);
    color: var(--text-main);
}

.page-cockfighting__medium-bg {
    background-color: var(--deep-green); /* Using deep green for medium background */
    color: var(--text-main);
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space for content below image */
    background-color: var(--background-color-page);
    padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height of hero image wrapper */
    overflow: hidden;
    position: relative;
}

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

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

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.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.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrap on desktop */
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--background-color-page);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary--large,
.page-cockfighting__btn-secondary--large {
    min-width: 200px;
    padding: 18px 35px;
    font-size: 1.2rem;
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.page-cockfighting__section-title--gold {
    color: var(--gold-color);
}

.page-cockfighting__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-cockfighting__grid-two-cols--reverse {
    grid-template-areas: "image text";
}

.page-cockfighting__grid-two-cols--reverse .page-cockfighting__text-block {
    grid-area: text;
}

.page-cockfighting__grid-two-cols--reverse .page-cockfighting__image-block {
    grid-area: image;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-main);
}

.page-cockfighting__text-block strong {
    color: var(--gold-color);
}

.page-cockfighting__image-block {
    text-align: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block; /* Ensure it respects max-width */
    margin: 0 auto;
}

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
    object-fit: cover;
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* List Styles */
.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-main);
}

.page-cockfighting__ordered-list li strong,
.page-cockfighting__unordered-list li strong {
    color: var(--gold-color);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 30px;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    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(--primary-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--background-color-page);
}

.page-cockfighting__cta-final-content {
    padding-top: 0;
    padding-bottom: 0;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__grid-two-cols--reverse {
        grid-template-areas: unset; /* Reset grid area for single column */
    }
    .page-cockfighting__grid-two-cols .page-cockfighting__text-block,
    .page-cockfighting__grid-two-cols .page-cockfighting__image-block {
        grid-area: unset;
    }
    .page-cockfighting__image-block {
        order: -1; /* Image appears above text on mobile for non-reversed grid */
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-content {
        margin-top: 20px;
    }
}