/* style/cockfighting.css */

/* Base Styles */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Ensures consistency with body background */
}

.page-cockfighting__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-cockfighting__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-cockfighting__text-block--white {
    color: #FFFFFF;
}

.page-cockfighting__section-title--white {
    color: #FFFFFF;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__card {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7); /* Darken image for text readability, not changing color */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    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;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7bb0;
    border-color: #1a7bb0;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Video Section */
.page-cockfighting__video-section {
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 30px auto 0 auto;
    background-color: #000000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}

.page-cockfighting__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-cockfighting__betting-card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-cockfighting__betting-card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__betting-card-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

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

.page-cockfighting__step-card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 5px solid #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.page-cockfighting__step-card-description {
    font-size: 0.95em;
    color: #555555;
    text-align: justify;
}

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

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-cockfighting__advantage-card-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-cockfighting__advantage-card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__advantage-card-description {
    font-size: 0.95em;
    color: #555555;
    text-align: justify;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-cockfighting__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #FFFFFF;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 1.1em;
    text-align: justify;
}

.page-cockfighting__strategy-item strong {
    color: #FFFFFF;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-cockfighting__promotion-card-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-cockfighting__promotion-card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__promotion-card-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #26A9E0;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFFFFF;
    background-color: #26A9E0;
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.page-cockfighting__cta-final-content {
    max-width: 900px;
    margin: 0 auto;
}

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

/* Image/Video Responsive (Global for .page-cockfighting) */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Responsive Styles */
@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: 2em;
    }
}

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

    /* Ensure content containers have padding */
    .page-cockfighting__content-area,
    .page-cockfighting__hero-section,
    .page-cockfighting__video-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Fixed header offset for mobile, if shared.css doesn't apply to body */
    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    /* Videos responsive */
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsive */
    .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__hero-cta-buttons,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-cockfighting__betting-types-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__betting-card,
    .page-cockfighting__step-card,
    .page-cockfighting__advantage-card,
    .page-cockfighting__promotion-card {
        margin-bottom: 20px;
    }

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

    .page-cockfighting__faq-answer {
        padding: 15px;
    }
}

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