/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand main color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-cockfighting__subsection-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-cockfighting__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-cockfighting__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-cockfighting__list li,
.page-cockfighting__ordered-list li {
    margin-bottom: 10px;
}

.page-cockfighting__ordered-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Image Specific Styles */
.page-cockfighting__image-wrapper {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto 15px auto;
}

.page-cockfighting__image-caption {
    font-style: italic;
    color: #666666;
    font-size: 0.95em;
}

/* CTA Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
    transform: translateY(-2px);
}

.page-cockfighting__cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly translucent for dark sections */
    border-radius: 10px;
}

.page-cockfighting__cta-text {
    font-size: 1.4em;
    margin-bottom: 25px;
    color: inherit; /* Inherit color from parent section */
    font-weight: bold;
}

/* Section specific backgrounds/colors */
.page-cockfighting__introduction-section,
.page-cockfighting__download-guide-section,
.page-cockfighting__strategies-section,
.page-cockfighting__faq-section {
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

.page-cockfighting__why-choose-section,
.page-cockfighting__registration-guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
    background-color: #26A9E0; /* Dark section with brand color */
    color: #FFFFFF;
}

.page-cockfighting__why-choose-section .page-cockfighting__section-title,
.page-cockfighting__registration-guide-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
    color: #FFFFFF; /* White titles on dark background */
}

.page-cockfighting__why-choose-section .page-cockfighting__card-title,
.page-cockfighting__registration-guide-section .page-cockfighting__subsection-title,
.page-cockfighting__promotions-section .page-cockfighting__subsection-title,
.page-cockfighting__conclusion-section .page-cockfighting__subsection-title {
    color: #FFFFFF; /* White titles on dark background */
}

.page-cockfighting__why-choose-section .page-cockfighting__list li,
.page-cockfighting__registration-guide-section .page-cockfighting__list li,
.page-cockfighting__promotions-section .page-cockfighting__list li,
.page-cockfighting__conclusion-section .page-cockfighting__list li {
    color: #f0f0f0; /* Slightly off-white for list items */
}

/* Feature Grid for Why Choose Section */
.page-cockfighting__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-card {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly transparent white on brand blue */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
}

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

.page-cockfighting__card-text {
    color: #f0f0f0;
    line-height: 1.7;
    flex-grow: 1; /* Make text block fill available space */
}

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

.page-cockfighting__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #f0f0f0;
}

.page-cockfighting__faq-title {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: #555555;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.6em;
    }
}

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

    .page-cockfighting__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
    }

    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

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

    .page-cockfighting__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Content area images CSS dimensions lower than 200px are forbidden */
    .page-cockfighting__content-image {
        min-width: 200px;
        min-height: 200px;
    }

    /* Feature grid for smaller screens */
    .page-cockfighting__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__faq-item {
        margin-left: 10px;
        margin-right: 10px;
    }
    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__cta-section .page-cockfighting__btn-primary,
    .page-cockfighting__cta-section .page-cockfighting__btn-secondary {
        margin-left: auto;
        margin-right: auto;
    }
    .page-cockfighting__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

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