/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-bg);
}

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

.page-cockfighting__light-bg {
    background-color: #11271B; /* Using card BG for contrast on light sections */
    color: var(--color-text-main);
}

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-gold);
    margin-bottom: 20px;
    /* font-size handled by clamp in shared.css or browser default */
}

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

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width for wrapping */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

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

.page-cockfighting__content-area--center {
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

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

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

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

.page-cockfighting__image--center {
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__image--right {
    float: right;
    margin-left: 30px;
    max-width: 50%; /* Adjust as needed for layout */
    shape-outside: circle(50%); /* Example for text wrapping */
    shape-margin: 15px;
}

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

.page-cockfighting__card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

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

.page-cockfighting__list-item {
    background-color: var(--color-card-bg);
    border-left: 5px solid var(--color-primary);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    color: var(--color-gold);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__list-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
    margin-top: auto; /* Push button to bottom of card */
    align-self: flex-start; /* Align button to start within flex column */
}

.page-cockfighting__btn-center {
    display: block;
    margin: 30px auto 0;
    max-width: 250px;
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__strategy-item {
    background-color: var(--color-card-bg);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__strategy-title {
    font-size: 1.35em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-cockfighting__strategy-text {
    font-size: 1em;
    line-height: 1.65;
    color: var(--color-text-secondary);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    min-height: 60px; /* Ensure consistent height for titles */
}

.page-cockfighting__promo-card .page-cockfighting__card-text {
    min-height: 90px; /* Ensure consistent height for text */
}

.page-cockfighting__promo-card .page-cockfighting__btn-small {
    align-self: center; /* Center button in promo card */
}

.page-cockfighting__faq-list {
    margin-top: 30px;
}

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

.page-cockfighting__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-item[open] summary {
    background-color: var(--color-primary);
    color: var(--color-text-main);
}

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    color: var(--color-text-main);
}

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

.page-cockfighting__cta-bottom-section {
    padding: 60px 20px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2.5em, 5vw, 3.5em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(2em, 4vw, 2.5em);
    }
    .page-cockfighting__image--right {
        float: none;
        margin: 30px auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        padding: 0 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 7vw, 3em);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-cockfighting__content-area,
    .page-cockfighting__cta-bottom-section {
        padding: 30px 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        margin-bottom: 20px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__card-text {
        font-size: 0.9em;
    }
    .page-cockfighting__list-item,
    .page-cockfighting__strategy-item {
        padding: 18px 20px;
        margin-bottom: 10px;
    }
    .page-cockfighting__list-title,
    .page-cockfighting__strategy-title {
        font-size: 1.15em;
    }
    .page-cockfighting__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 7vw, 2em);
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.95em;
    }
}