/* style/cockfighting.css */

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: var(--primary-color); /* Inherit from shared.css, assumed dark */
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: 18px;
    color: #cccccc;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__content-grid--reverse {
    grid-template-areas: "image text";
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
    grid-area: text;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
    grid-area: image;
}

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

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

.page-cockfighting__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__list li {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-cockfighting__list li strong {
    color: #FFD700;
}

.page-cockfighting__numbered-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__numbered-list li {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-cockfighting__numbered-list li strong {
    color: #FFD700;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 16px;
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 20px;
}

.page-cockfighting__center-cta {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(to right, #1A202C, #333d4e); /* Dark gradient background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0; /* As per fixed header spacing rule, assuming shared.css handles body padding */
}

.page-cockfighting__hero-content {
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.page-cockfighting__hero-title {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
}

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

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2; /* Subtle background image */
}

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

/* Section specific styles */
.page-cockfighting__intro-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
}

.page-cockfighting__dark-section {
    background-color: #1A202C; /* Dark background */
    color: #f0f0f0;
}

.page-cockfighting__light-bg {
    background-color: #2a3342; /* Slightly lighter dark background */
    color: #f0f0f0;
}

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

.page-cockfighting__benefit-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent light background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-cockfighting__benefit-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__benefit-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__benefit-card p {
    color: #cccccc;
    font-size: 16px;
}

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

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.07); /* Slightly lighter background for FAQ item */
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #2a3342; /* Darker background for question */
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background: #333d4e;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #FFD700; /* Gold for FAQ questions */
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign */
    color: #ffffff;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
    color: #cccccc;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px dashed rgba(255, 215, 0, 0.1);
}

.page-cockfighting__faq-answer p {
    margin: 0;
    color: #cccccc;
}

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

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

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

    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-cockfighting__content-grid--reverse {
        grid-template-areas: unset; /* Reset grid area for single column */
    }

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

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

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

    .page-cockfighting__hero-section {
        padding: 50px 0; /* Adjusted for mobile, assuming shared.css handles body padding */
    }

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

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

    .page-cockfighting__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-cockfighting__hero-cta .page-cockfighting__btn-primary,
    .page-cockfighting__hero-cta .page-cockfighting__btn-secondary {
        margin-left: auto;
        margin-right: auto;
    }

    .page-cockfighting__intro-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 50px 0;
    }

    .page-cockfighting__content-grid {
        gap: 20px;
        margin-bottom: 40px;
    }

    .page-cockfighting__list,
    .page-cockfighting__numbered-list {
        margin-left: 15px;
    }

    .page-cockfighting__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__benefit-title {
        font-size: 20px;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }

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

    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }

    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px !important;
    }
    
    /* Image responsive rules for mobile */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    /* Containers for images and content */
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section,
    .page-cockfighting__container,
    .page-cockfighting__content-grid,
    .page-cockfighting__text-block,
    .page-cockfighting__image-block,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__benefit-card,
    .page-cockfighting__faq-list,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Ensure hero-section padding-top is 0 if shared.css handles body padding */
.page-cockfighting__hero-section {
    padding-top: 0;
}