/* style/cockfighting.css */

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

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

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

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

.page-cockfighting__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

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

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

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

.page-cockfighting__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

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

.page-cockfighting__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

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

.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.6);
    z-index: 2;
}

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

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

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 0;
}

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

/* Betting Types Section */
.page-cockfighting__betting-types-section {
    padding: 80px 0;
}

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

.page-cockfighting__card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

.page-cockfighting__card-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-cockfighting__image-full-width {
    width: 100%;
    margin: 40px 0;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    padding: 80px 0;
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-cockfighting__list-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.page-cockfighting__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #017439;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-cockfighting__list-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__image-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
}

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

.page-cockfighting__promo-list .page-cockfighting__list-item {
    padding-left: 0;
    margin-bottom: 10px;
}

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

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 80px 0;
}

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

.page-cockfighting__feature-card {
    background-color: #f8f8f8;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__feature-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 80px 0;
}

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

.page-cockfighting__tips-list .page-cockfighting__list-item {
    padding-left: 0;
    margin-bottom: 10px;
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
}

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

.page-cockfighting__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e6f3ed;
    border-bottom: 1px solid #d0e0d8;
}

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

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

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

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    text-align: center;
}

/* 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__hero-section {
        min-height: 500px;
        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-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        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-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-cockfighting__intro-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-cockfighting__grid-2, .page-cockfighting__grid-3 {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__list-item {
        padding-left: 50px;
    }

    .page-cockfighting__list-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
}

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

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
    }

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

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