/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Body is light, so text is dark */
    background-color: var(--bg-light);
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, #005f2e 100%); /* Example gradient */
    color: var(--text-light);
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-cockfighting__main-title {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-light);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--btn-register);
    color: var(--font-register-login);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-cockfighting__cta-button:hover {
    background: #e00b0b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
    padding: 60px 20px;
    text-align: center;
}

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

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

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

.page-cockfighting__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title::after {
    background-color: var(--secondary-color);
}

.page-cockfighting p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__highlight {
    color: var(--font-register-login); /* Highlight color on dark background */
}

.page-cockfighting__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-cockfighting__card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

.page-cockfighting__dark-bg .page-cockfighting__card {
    background-color: #005f2e;
    color: var(--text-light);
}

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

.page-cockfighting__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__card-title {
    color: var(--font-register-login);
}

.page-cockfighting__image-card {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.page-cockfighting__image-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistent card images */
    object-fit: cover;
}

.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__step-item {
    background-color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__list-tips {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__list-item {
    background-color: #005f2e;
    border-left: 5px solid var(--font-register-login);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

.page-cockfighting__list-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--font-register-login);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-cockfighting__advantage-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

.page-cockfighting__advantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 20px;
    text-align: center;
}

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

details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #005f2e;
    overflow: hidden;
    background: #005f2e;
    color: var(--text-light);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: #004a25;
}

.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--font-register-login);
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--font-register-login);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    background: #004a25;
    border-radius: 0 0 8px 8px;
    color: var(--text-light);
    text-align: justify;
}

.page-cockfighting__conclusion p {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__dark-bg a {
    color: var(--font-register-login);
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting p {
        font-size: 1rem;
    }
    .page-cockfighting__card-title, .page-cockfighting__step-title, .page-cockfighting__list-title, .page-cockfighting__advantage-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
        max-width: 95%;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-cockfighting p {
        font-size: 0.95rem;
    }
    .page-cockfighting__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__card-title, .page-cockfighting__step-title, .page-cockfighting__list-title, .page-cockfighting__advantage-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__image-card img {
        
    }
    .page-cockfighting__image-wrapper {
        margin: 30px auto;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__grid-layout,
    .page-cockfighting__advantage-list,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1rem;
        width: calc(100% - 40px);
    }
    .page-cockfighting__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
}