/* style/cockfighting.css */

/* Base Styles & Global Overrides (Scoped to page-cockfighting) */
.page-cockfighting {
    color: #ffffff; /* Light text on dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__section {
    padding: 80px 0;
    position: relative;
}

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__subsection-title {
    font-size: 2em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-cockfighting__text-block p {
    margin-bottom: 1em;
    color: #f0f0f0;
}

.page-cockfighting__highlight {
    color: #26A9E0;
    font-weight: bold;
}

/* Links */
.page-cockfighting__inline-link {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__inline-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

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

.page-cockfighting__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-cockfighting__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.8em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
}

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

/* Content Layouts */
.page-cockfighting__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-cockfighting__content-wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.page-cockfighting__text-block {
    flex: 1;
}

.page-cockfighting__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-block--center {
    flex: none;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

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

/* Cards */
.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-cockfighting__card-link {
    color: #26A9E0;
    text-decoration: none;
}

.page-cockfighting__card-link:hover {
    text-decoration: underline;
}

.page-cockfighting__card-text {
    color: #f0f0f0;
    font-size: 0.95em;
}

/* Lists */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-cockfighting__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-cockfighting__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
    font-size: 1.2em;
    line-height: 1;
}

.page-cockfighting__list--ordered {
    list-style: decimal;
    padding-left: 20px;
    margin: 20px 0;
}

.page-cockfighting__list--ordered .page-cockfighting__list-item {
    padding-left: 0;
}

.page-cockfighting__list--ordered .page-cockfighting__list-item::before {
    content: none;
}

.page-cockfighting__list--bullet-icons .page-cockfighting__list-item {
    padding-left: 45px;
    display: flex;
    align-items: flex-start;
}

.page-cockfighting__list--bullet-icons .page-cockfighting__list-icon {
    font-size: 1.5em;
    color: #26A9E0;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Dark Background Sections */
.page-cockfighting__dark-bg {
    background-color: rgba(38, 169, 224, 0.1);
    /* A subtle tint of brand color for sections */
}

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.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;
    color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 1em;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-cockfighting__final-cta {
    text-align: center;
    background-color: rgba(38, 169, 224, 0.05);
}

.page-cockfighting__final-cta .page-cockfighting__section-title {
    color: #ffffff;
}

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

    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }

    .page-cockfighting__section-title {
        font-size: 2.2em;
    }

    .page-cockfighting__subsection-title {
        font-size: 1.8em;
    }

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

    .page-cockfighting__content-wrapper:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
    }

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

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

    .page-cockfighting__subsection-title {
        font-size: 1.5em;
    }

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

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        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__container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__content-wrapper,
    .page-cockfighting__image-block,
    .page-cockfighting__grid-layout,
    .page-cockfighting__hero-video-wrapper,
    .page-cockfighting__hero-overlay,
    .page-cockfighting__hero-content,
    .page-cockfighting__faq-list,
    .page-cockfighting__faq-item,
    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting video,
    .page-cockfighting__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    .page-cockfighting__hero-video-wrapper {
        position: relative !important;
        height: auto !important;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    }

    .page-cockfighting__hero-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
    }

    .page-cockfighting__card-image {
        height: 200px; /* Adjust height for mobile */
    }

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

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

    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 10px 20px;
    }
}

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

    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
}