/* style/cockfighting.css */
/* Base styles */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: #FFFFFF;
}

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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* Adjust for better readability */
}

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

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

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-content {
    z-index: 3;
    color: #FFFFFF;
    max-width: 800px;
    padding: 20px;
}

.page-cockfighting__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7bb0;
    border-color: #1a7bb0;
}

/* Image styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
    object-fit: cover;
    /* Ensure no filter is used */
    filter: none;
}

.page-cockfighting__image-full {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.page-cockfighting__image-small {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    margin: 20px auto;
}

/* Video Section */
.page-cockfighting__video-highlight {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.page-cockfighting__video-caption {
    margin-top: 15px;
    font-style: italic;
    color: #555555;
    font-size: 0.95em;
}

/* Features/Cards sections */
.page-cockfighting__features,
.page-cockfighting__promo-cards,
.page-cockfighting__contact-info,
.page-cockfighting__strategy-points,
.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-cockfighting__feature-item,
.page-cockfighting__card,
.page-cockfighting__contact-item,
.page-cockfighting__strategy-item,
.page-cockfighting__step-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__card:hover,
.page-cockfighting__contact-item:hover,
.page-cockfighting__strategy-item:hover,
.page-cockfighting__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-title,
.page-cockfighting__card-title,
.page-cockfighting__contact-title,
.page-cockfighting__strategy-title,
.page-cockfighting__step-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description,
.page-cockfighting__card-description,
.page-cockfighting__contact-description,
.page-cockfighting__strategy-description,
.page-cockfighting__step-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__step-item .page-cockfighting__btn-primary,
.page-cockfighting__step-item .page-cockfighting__btn-secondary {
    margin-top: auto; /* Push button to bottom */
    width: 100%;
}

/* Dark Section */
.page-cockfighting__dark-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__feature-title,
.page-cockfighting__dark-section .page-cockfighting__card-title,
.page-cockfighting__dark-section .page-cockfighting__contact-title,
.page-cockfighting__dark-section .page-cockfighting__strategy-title,
.page-cockfighting__dark-section .page-cockfighting__step-title {
    color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__paragraph,
.page-cockfighting__dark-section .page-cockfighting__feature-description,
.page-cockfighting__dark-section .page-cockfighting__card-description,
.page-cockfighting__dark-section .page-cockfighting__contact-description,
.page-cockfighting__dark-section .page-cockfighting__strategy-description,
.page-cockfighting__dark-section .page-cockfighting__step-description {
    color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__card,
.page-cockfighting__dark-section .page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for cards on dark bg */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-cockfighting__dark-section .page-cockfighting__card .page-cockfighting__btn-primary,
.page-cockfighting__dark-section .page-cockfighting__step-item .page-cockfighting__btn-primary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border-color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__card .page-cockfighting__btn-primary:hover,
.page-cockfighting__dark-section .page-cockfighting__step-item .page-cockfighting__btn-primary:hover {
    background-color: #e0f2f7;
    color: #1a7bb0;
    border-color: #e0f2f7;
}

.page-cockfighting__dark-section .page-cockfighting__card .page-cockfighting__btn-secondary,
.page-cockfighting__dark-section .page-cockfighting__step-item .page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__card .page-cockfighting__btn-secondary:hover,
.page-cockfighting__dark-section .page-cockfighting__step-item .page-cockfighting__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
    border-color: #FFFFFF;
}

/* FAQ Section */
.page-cockfighting__faq {
    background-color: #f9f9f9;
}

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

.page-cockfighting__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f8ff; /* Light blue background for question */
    color: #26A9E0;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.1em;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

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

.page-cockfighting__faq-answer p {
    margin: 0;
    text-align: left;
}

/* Floating Buttons */
.page-cockfighting__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-cockfighting__floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 45px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__floating-btn--register {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
}

.page-cockfighting__floating-btn--register:hover {
    transform: translateY(-3px);
    background-color: #1a7bb0;
}

.page-cockfighting__floating-btn--login {
    background-color: #EA7C07; /* Custom login color */
    color: #FFFFFF;
}

.page-cockfighting__floating-btn--login:hover {
    transform: translateY(-3px);
    background-color: #c96a06;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 3em;
    }
    .page-cockfighting__intro-text {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__intro-text {
        font-size: 1em;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__paragraph {
        font-size: 0.95em;
        text-align: center;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Mobile video responsiveness */
    .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 !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    .page-cockfighting__video-highlight {
      padding-top: 40px;
    }
    .page-cockfighting__video-wrapper {
        padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
        height: 0 !important;
    }

    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}