/* style/cockfighting.css */

/* --- Base Styles --- */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Ensure consistency with body background */
}

.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: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__section-description,
.page-cockfighting__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.page-cockfighting__text-block {
    text-align: justify;
    margin-bottom: 20px;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.5;
}

.page-cockfighting__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Buttons --- */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

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

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    padding: 60px 0 60px; /* Base padding, header offset applied below */
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #f0f8ff; /* Light background for hero */
    overflow: hidden;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: #555555;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Soften the background image */
}

/* --- Video Section --- */
.page-cockfighting__video-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
    text-align: center;
}

.page-cockfighting__video-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__video-section .page-cockfighting__section-description {
    color: #f0f0f0;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* Max width for video */
    margin: 0 auto 40px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

/* --- About Section --- */
.page-cockfighting__about-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

/* --- Benefits Section --- */
.page-cockfighting__benefits-section {
    padding: 80px 0;
    background-color: #f0f8ff; /* Light background */
    text-align: center;
}

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

.page-cockfighting__benefit-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__benefit-icon {
    width: 200px; /* Minimum display size */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* --- How To Join Section --- */
.page-cockfighting__how-to-join-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    text-align: center;
}

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

.page-cockfighting__step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #26A9E0;
    text-align: left;
}

.page-cockfighting__step-card .page-cockfighting__card-title {
    color: #333333;
    font-size: 1.3em;
}

.page-cockfighting__step-card .page-cockfighting__card-description {
    color: #666666;
}

/* --- Tournaments Section --- */
.page-cockfighting__tournaments-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
    text-align: center;
}

.page-cockfighting__tournaments-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__tournaments-section .page-cockfighting__text-block {
    color: #f0f0f0;
}

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

.page-cockfighting__tournament-card {
    background-color: #FFFFFF;
    color: #333333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-cockfighting__tournament-card .page-cockfighting__card-image {
    width: 100%;
    height: 250px; /* Ensure display height is >= 200px */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-cockfighting__tournament-card .page-cockfighting__card-title {
    font-size: 1.4em;
}

/* --- Betting Tips Section --- */
.page-cockfighting__betting-tips-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-cockfighting__list-item {
    background-color: #f9f9f9;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #EA7C07; /* Login color for highlight */
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    color: #333333;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__list-description {
    color: #666666;
    line-height: 1.5;
}

/* --- Security Section --- */
.page-cockfighting__security-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
    text-align: center;
}

.page-cockfighting__security-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__security-section .page-cockfighting__text-block {
    color: #f0f0f0;
}

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

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333333;
    font-weight: bold;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    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;
    background-color: #f9f9f9;
}

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

.page-cockfighting__faq-answer p {
    margin: 0;
    color: #666666;
    line-height: 1.6;
    padding-bottom: 10px; /* Add some padding bottom for the text */
}

/* --- Final CTA Section --- */
.page-cockfighting__cta-final-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
    text-align: center;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-description {
    color: #f0f0f0;
}

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

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        flex-direction: column;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        min-height: auto;
    }

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

    .page-cockfighting__hero-image-wrapper {
        position: relative;
        height: 300px; /* Fixed height for mobile hero image */
        order: 1;
    }

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

    .page-cockfighting__hero-description {
        font-size: 1em;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        margin-right: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-cockfighting__section-description,
    .page-cockfighting__text-block {
        font-size: 0.95em;
        text-align: left; /* Adjust text alignment for mobile readability */
    }
    
    .page-cockfighting__image-content {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
}