/* style/cockfighting.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --background-color-page: #FFFFFF;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--dark-text-color); /* Default text color for light background */
    background-color: var(--background-color-page);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px; /* Space below image */
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
}

.page-cockfighting__hero-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--light-text-color);
    /* Using clamp for responsive font-size */
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
}

.page-cockfighting__tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: var(--login-color);
    color: var(--light-text-color);
    border: 2px solid var(--login-color);
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--light-text-color);
    border: 2px solid var(--light-text-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}

/* General Section Styling */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__intro-section,
.page-cockfighting__types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
}

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

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

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

.page-cockfighting__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: inherit;
}

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

.page-cockfighting__list {
    list-style: disc;
    margin-left: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

/* Types Section Grid */
.page-cockfighting__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: var(--dark-text-color);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-cockfighting__card-description {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 15px;
    flex-grow: 1;
}

/* Guide Section Steps */
.page-cockfighting__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-cockfighting__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: var(--light-text-color);
}

.page-cockfighting__step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--login-color);
    margin-bottom: 15px;
    line-height: 1;
}

.page-cockfighting__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Promotions Section */
.page-cockfighting__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__promo-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: var(--dark-text-color);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-cockfighting__promo-description {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--dark-text-color);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    color: var(--dark-text-color);
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px solid #eee;
    background-color: var(--secondary-color);
}

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

.page-cockfighting__faq-answer .page-cockfighting__btn-primary,
.page-cockfighting__faq-answer .page-cockfighting__btn-secondary {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-primary {
    margin-top: 30px;
    font-size: 1.3rem;
    padding: 18px 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section img {
        height: 500px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2.2rem;
    }
    .page-cockfighting__sub-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 20px;
    }
    .page-cockfighting__hero-image-wrapper {
        max-height: 400px;
    }
    .page-cockfighting__hero-section img {
        height: 300px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    .page-cockfighting__tagline {
        font-size: 1rem;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__types-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__sub-title {
        font-size: 1.4rem;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list,
    .page-cockfighting__card-description,
    .page-cockfighting__step-description,
    .page-cockfighting__promo-description,
    .page-cockfighting__faq-answer p {
        font-size: 0.95rem;
    }
    .page-cockfighting__grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-cards {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: 200px;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__types-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body has --header-offset */
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.8rem;
    }
    .page-cockfighting__sub-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 1rem;
        padding: 10px 15px;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 12px 15px;
    }
    .page-cockfighting__step-number {
        font-size: 2rem;
    }
    .page-cockfighting__step-title {
        font-size: 1.3rem;
    }
}