/* style/cockfighting.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-register-text: #FFFF00;
    --button-login-text: #FFFF00;
    --background-light: #FFFFFF;
    --background-dark-shared: #1a1a2e;
    --border-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for the page, assuming dark body background */
    background-color: var(--background-dark-shared);
}

.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: var(--secondary-color);
    text-align: center;
    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__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-on-dark);
}

.page-cockfighting__dark-bg {
    background-color: var(--background-dark-shared);
    color: var(--text-on-dark);
    padding: 80px 0;
}

.page-cockfighting__light-bg {
    background-color: var(--background-light);
    color: var(--text-on-light);
    padding: 80px 0;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: var(--text-on-light);
}

.page-cockfighting__light-bg .page-cockfighting__text-block {
    color: var(--text-on-light);
}

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

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

.page-cockfighting__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
    transform: translateY(-2px);
}

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    display: block;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

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

.page-cockfighting__tagline {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

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

/* About Section */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-cockfighting__feature-item {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
    border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-icon {
    width: 100%;
    height: 200px; /* Ensure minimum size */
    max-width: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-cockfighting__feature-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Video Section */
.page-cockfighting__video-section {
    text-align: center;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-link {
    display: block;
    width: 100%;
    height: 100%;
}

.page-cockfighting__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: pointer;
}

.page-cockfighting__video-caption {
    font-size: 1.1em;
    color: var(--text-on-dark);
    margin-top: 20px;
}

/* Guide Section */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-cockfighting__guide-item {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-on-light);
    border: 1px solid #e0e0e0;
}

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

.page-cockfighting__guide-step-description {
    font-size: 1em;
    color: var(--text-on-light);
}

.page-cockfighting__guide-step-description a {
    color: var(--button-register-bg);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__guide-step-description a:hover {
    text-decoration: underline;
}

.page-cockfighting__guide-cta {
    margin-top: 50px;
}

/* Advantages Section */
.page-cockfighting__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-cockfighting__advantage-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-on-dark);
    border: 1px solid var(--border-color);
}

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

.page-cockfighting__advantage-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-cockfighting__tips-item {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-on-light);
    border: 1px solid #e0e0e0;
}

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

.page-cockfighting__tips-description {
    font-size: 1em;
    color: var(--text-on-light);
}

.page-cockfighting__tips-cta {
    margin-top: 50px;
}

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

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-title {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin: 0;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-on-dark);
    font-size: 1em;
}

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

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

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

/* Final CTA Section */
.page-cockfighting__cta-final {
    text-align: center;
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
    margin-bottom: 20px;
}

.page-cockfighting__cta-final .page-cockfighting__text-block {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 3em;
    }

    .page-cockfighting__tagline {
        font-size: 1.2em;
    }

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

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__dark-bg, .page-cockfighting__light-bg {
        padding: 60px 0;
    }

    .page-cockfighting__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-cockfighting__hero-content {
        padding: 15px;
    }

    .page-cockfighting__main-title {
        font-size: 2.2em;
    }

    .page-cockfighting__tagline {
        font-size: 1em;
    }

    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

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

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-item,
    .page-cockfighting__advantage-card,
    .page-cockfighting__guide-item,
    .page-cockfighting__tips-item {
        padding: 20px;
    }

    .page-cockfighting__feature-icon {
        height: 150px; /* Adjust height for smaller screens */
    }

    .page-cockfighting__feature-title,
    .page-cockfighting__advantage-title,
    .page-cockfighting__guide-step-title,
    .page-cockfighting__tips-title {
        font-size: 1.4em;
    }

    .page-cockfighting__video-wrapper {
        margin: 30px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-cockfighting__faq-list {
        margin-top: 30px;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }

    .page-cockfighting__faq-title {
        font-size: 1.1em;
    }

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

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

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

    .page-cockfighting__tagline {
        font-size: 0.9em;
    }

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

    .page-cockfighting__btn-large {
        padding: 15px 25px;
        font-size: 1em;
    }
}