/* 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; /* Page specific background color for main content sections */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

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

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

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-cockfighting__text-block {
    line-height: 1.7;
    font-size: 16px;
    color: var(--text-main);
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
}

.page-cockfighting__text-block .highlight {
    color: var(--gold-color);
    font-weight: bold;
}

.page-cockfighting__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding for visual separation */
    background-color: var(--page-bg);
    overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for design */
    position: relative;
    z-index: 1;
    background: var(--page-bg); /* Ensure text is readable over background */
    border-radius: 15px;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-cockfighting__intro-section {
    background-color: var(--page-bg);
}

.page-cockfighting__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-cockfighting__image-right {
    flex-shrink: 0;
    width: 50%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-left {
    flex-shrink: 0;
    width: 50%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-cockfighting__dark-bg {
    background-color: var(--deep-green);
    color: var(--text-main);
}

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

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

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-cockfighting__feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.page-cockfighting__type-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__type-card h3,
.page-cockfighting__type-card p {
    padding: 15px 20px;
}

.page-cockfighting__type-title {
    font-size: 20px;
    color: var(--gold-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.page-cockfighting__type-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.page-cockfighting__step-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 60px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--gold-color);
    color: var(--page-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid var(--deep-green);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-cockfighting__step-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-cockfighting__step-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-cockfighting__guide-cta {
    margin-top: 50px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__tips-list li {
    background-color: var(--card-bg);
    border-left: 5px solid var(--gold-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    line-height: 1.6;
}

.page-cockfighting__tips-list li strong {
    color: var(--gold-color);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question .page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

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

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

.page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    background-color: var(--card-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting__content-wrapper--reversed {
        flex-direction: column;
    }

    .page-cockfighting__image-right,
    .page-cockfighting__image-left {
        width: 100%;
        max-width: 600px; /* Constrain image width on medium screens */
    }

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

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

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__section-title {
        font-size: 32px;
    }

    .page-cockfighting__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 15px;
    }

    .page-cockfighting__hero-content {
        margin-top: -30px;
        padding: 20px 10px;
    }

    .page-cockfighting__hero-title {
        font-size: 36px;
    }

    .page-cockfighting__hero-description {
        font-size: 16px;
    }

    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__type-cards,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-icon {
        width: 80px;
        height: 80px;
    }

    .page-cockfighting__feature-title,
    .page-cockfighting__type-title,
    .page-cockfighting__step-title {
        font-size: 20px;
    }

    .page-cockfighting__faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .page-cockfighting__faq-answer {
        font-size: 14px;
        padding: 10px 15px;
    }

    /* 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-image-wrapper,
    .page-cockfighting__content-wrapper,
    .page-cockfighting__features-grid,
    .page-cockfighting__type-cards,
    .page-cockfighting__steps-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    /* Button responsiveness */
    .page-cockfighting__cta-button,
    .page-cockfighting__hero-cta-button,
    .page-cockfighting__guide-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }

    .page-cockfighting__hero-image {
        height: 300px; /* Adjust hero image height for mobile */
    }

    .page-cockfighting__image-right,
    .page-cockfighting__image-left {
        height: 250px;
    }
}