/* style/cockfighting.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --font-login-register: #FFFF00;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

.page-cockfighting__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

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

.page-cockfighting__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    gap: 40px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--text-light);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-cockfighting__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-cockfighting__btn-primary {
    background-color: var(--button-register);
    color: var(--font-login-register);
    border: 2px solid var(--button-register);
}

.page-cockfighting__btn-primary:hover {
    background-color: darken(var(--button-register), 10%);
    border-color: darken(var(--button-register), 10%);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--font-login-register);
    border: 2px solid var(--font-login-register);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--font-login-register);
    color: var(--button-register);
}

.page-cockfighting__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 0;
}

.page-cockfighting__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__introduction-section,
.page-cockfighting__rules-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
}

.page-cockfighting__bet-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__guide-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
}

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

.page-cockfighting__image-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

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

.page-cockfighting__card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
}

.page-cockfighting__card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

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

.page-cockfighting__list-item {
    margin-bottom: 10px;
}

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

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

.page-cockfighting__step {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 4px solid var(--secondary-color);
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: var(--text-dark);
}

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

.page-cockfighting__feature-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-10px);
}

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: var(--text-dark);
}

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

.page-cockfighting__faq-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

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

.page-cockfighting__faq-question:hover {
    background-color: darken(var(--primary-color), 5%);
}

.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: var(--text-dark);
    background-color: var(--secondary-color);
}

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

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__hero-section {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__hero-content {
        max-width: 100%;
    }
    .page-cockfighting__hero-image-wrapper {
        justify-content: center;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__container,
    .page-cockfighting__card-grid,
    .page-cockfighting__step-by-step,
    .page-cockfighting__feature-grid,
    .page-cockfighting__faq-list {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__image-row {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__content-image {
        min-width: unset;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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 {
        flex-direction: column;
        gap: 15px;
        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;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title {
        font-size: 1.3em;
    }
    .page-cockfighting__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        top: -15px;
    }
    .page-cockfighting__step {
        padding-top: 50px;
    }
}