/* style/cockfighting.css */

/* --- General Styles --- */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #08160F; /* Body background color */
    color: #F2FFF6; /* Main text color for dark background */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-cockfighting__section:last-of-type {
    border-bottom: none;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #A7D9B8; /* Secondary text color */
}

.page-cockfighting__text-block strong {
    color: #F2FFF6;
}

/* --- Buttons --- */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: #57E38D; /* Glow color for secondary text/border */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-cockfighting__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1); /* Light glow on hover */
    color: #F2FFF6;
    transform: translateY(-2px);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__cta-buttons--center {
    justify-content: center;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    min-height: 500px;
}

.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.6); /* Darken image slightly for text contrast */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    color: #F2FFF6;
    background-color: rgba(17, 39, 27, 0.7); /* Card BG with transparency for readability */
    border-radius: 10px;
    margin-top: 50px; /* Push content down slightly from top */
    margin-bottom: 50px;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size, not fixed large */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #F2FFF6;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #A7D9B8;
}

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

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

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

/* --- Card Styles --- */
.page-cockfighting__card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
}

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

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #F2FFF6;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: #A7D9B8;
    flex-grow: 1; /* Allow text to take up available space */
}

/* --- Step Card Styles --- */
.page-cockfighting__step-card {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    box-sizing: border-box;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    color: #F2FFF6;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-text {
    font-size: 1em;
    color: #A7D9B8;
    flex-grow: 1;
}

/* --- List Styles (Tips Section) --- */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__list-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #A7D9B8;
    display: flex;
    align-items: flex-start;
}

.page-cockfighting__list-item::before {
    content: "✓";
    color: #57E38D; /* Glow color for checkmark */
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2em;
    line-height: 1;
}

.page-cockfighting__list-item strong {
    color: #F2FFF6;
}

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

.page-cockfighting__faq-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    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.2em;
    font-weight: bold;
    color: #F2FFF6;
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green for summary */
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #11A84E; /* Primary color on hover */
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow color */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: "−";
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #A7D9B8;
}

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


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

    .page-cockfighting__hero-content {
        padding: 30px 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-cockfighting__hero-content {
        max-width: 95%;
    }

    /* All images responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All image containers responsive */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-cockfighting__list-item {
        font-size: 0.95em;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

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

    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
}