/* style/cockfighting.css */

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

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

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
    padding: 40px 0;
    box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.page-cockfighting__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.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: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    text-align: center;
    max-width: 100%;
}

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

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

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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategies-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: var(--secondary-color);
}

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

.page-cockfighting__types-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #222222; /* Slightly lighter dark background for contrast */
    color: var(--text-light);
}

.page-cockfighting__types-section .page-cockfighting__section-title,
.page-cockfighting__benefits-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: var(--primary-color);
}

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

.page-cockfighting__card {
    background-color: #333333; /* Darker card background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 25px;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-cockfighting__card-description {
    font-size: 1em;
    color: #cccccc;
}

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

.page-cockfighting__step-item {
    background-color: #0d0d0d; /* Even darker for steps */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

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

.page-cockfighting__step-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
    max-width: 100%;
}

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

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

.page-cockfighting__list-item {
    background-color: #333333;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

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

.page-cockfighting__list-description {
    font-size: 1em;
    color: #cccccc;
}

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

.page-cockfighting__strategy-card {
    background-color: #0d0d0d;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    color: var(--text-light);
}

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

.page-cockfighting__strategy-description {
    font-size: 1em;
    color: #cccccc;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #444444;
    color: var(--text-light);
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.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;
    color: #cccccc;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

.page-cockfighting__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__card-title {
        font-size: 1.5em;
    }
    .page-cockfighting__list-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 500px;
        padding: 20px 0;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
    }
    .page-cockfighting__grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__benefits-list,
    .page-cockfighting__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card,
    .page-cockfighting__step-item,
    .page-cockfighting__list-item,
    .page-cockfighting__strategy-card {
        padding: 20px;
    }
    .page-cockfighting__card-image {
        height: 180px;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
    .page-cockfighting__list-title {
        font-size: 1.2em;
    }
    .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;
    }

    /* Mobile image and video responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__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;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column !important; 
        gap: 10px !important;
    }
}