/* style/cockfighting.css */

/* General page styles */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    color: #0A2463; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.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: var(--header-offset, 120px); /* Ensure header offset */
    background-color: #0A2463; /* Dark background for hero */
    color: #ffffff; /* White text for dark background */
}

.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 8px 20px rgba(0, 0, 0, 0.3);
}

.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%;
}

.page-cockfighting__hero-title {
    font-size: 48px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for hero title */
    line-height: 1.2;
    font-weight: bold;
}

.page-cockfighting__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #FFD700; /* Accent color for CTA */
    color: #0A2463; /* Dark text for accent background */
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Light background sections */
.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Dark background sections */
.page-cockfighting__dark-bg {
    background-color: #0A2463;
    color: #ffffff;
}

.page-cockfighting__dark-bg-text {
    color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: #FFD700;
}

/* Image content block */
.page-cockfighting__image-content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

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

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

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

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

.page-cockfighting__dark-bg .page-cockfighting__card {
    background-color: #1A3E83; /* Slightly lighter dark blue for cards in dark section */
    border: 1px solid #2A4E93;
    color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__card-title {
    color: #FFD700;
}

.page-cockfighting__card-title {
    font-size: 24px;
    color: #0A2463;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__card-text {
    font-size: 16px;
    color: #555555;
}

.page-cockfighting__dark-bg .page-cockfighting__card-text {
    color: #f0f0f0;
}

/* Step list */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-cockfighting__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__step-title {
    font-size: 28px;
    color: #0A2463;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    font-size: 17px;
    color: #555555;
}

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

.page-cockfighting__cta-buttons--centered {
    justify-content: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: #0A2463;
    color: #ffffff;
    border-color: #0A2463;
}

.page-cockfighting__btn-primary:hover {
    background: #1A3E83;
    border-color: #1A3E83;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
    background: #ffffff;
    color: #0A2463;
    border-color: #0A2463;
}

.page-cockfighting__btn-secondary:hover {
    background: #f0f0f0;
    color: #0A2463;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Feature list */
.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting__feature-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-item .page-cockfighting__feature-title {
    font-size: 22px;
    color: #0A2463;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-item .page-cockfighting__feature-description {
    font-size: 16px;
    color: #555555;
}

/* Mobile section */
.page-cockfighting__mobile-section .page-cockfighting__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.page-cockfighting__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.page-cockfighting__mobile-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-cockfighting__mobile-text .page-cockfighting__text-block {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-cockfighting__mobile-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px; /* Limit image width */
}

.page-cockfighting__mobile-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #ffffff;
    border-radius: 0 0 5px 5px;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cockfighting__faq-question:active {
    background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #0A2463;
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: #0A2463;
    transform: rotate(45deg); /* Plus to X effect */
}


/* Final CTA Section */
.page-cockfighting__final-cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #0A2463;
    color: #ffffff;
}

.page-cockfighting__final-cta-section .page-cockfighting__section-title {
    color: #FFD700;
    margin-bottom: 25px;
}

.page-cockfighting__final-cta-section .page-cockfighting__text-block {
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 40px;
    }
    .page-cockfighting__section-title {
        font-size: 30px;
    }
    .page-cockfighting__hero-description,
    .page-cockfighting__text-block {
        font-size: 17px;
    }
    .page-cockfighting__cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-cockfighting__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        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__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-cockfighting__container {
        padding: 30px 15px;
    }

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

    .page-cockfighting__text-block {
        font-size: 15px;
    }

    .page-cockfighting__image-content-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-cockfighting__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card,
    .page-cockfighting__step-item,
    .page-cockfighting__feature-item {
        padding: 20px;
        border-radius: 8px;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title {
        font-size: 20px;
    }
    
    .page-cockfighting__card-image,
    .page-cockfighting__mobile-image img,
    .page-cockfighting__image-content-block .page-cockfighting__image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }

    .page-cockfighting__mobile-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting__mobile-text {
        text-align: center;
    }
    .page-cockfighting__mobile-text .page-cockfighting__text-block {
        text-align: center;
    }

    .page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-cockfighting__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-cockfighting__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }
    
    .page-cockfighting__final-cta-section {
        padding: 50px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 28px;
    }
    .page-cockfighting__hero-description {
        font-size: 15px;
    }
    .page-cockfighting__section-title {
        font-size: 24px;
    }
    .page-cockfighting__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 15px;
    }
}