/* style/cockfighting.css */
/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: #0A192F; /* Inherited from body via shared.css */
}

/* Header offset for main content */
.page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* General section styling */
.page-cockfighting__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold accent for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Content area for padding and max-width */
.page-cockfighting__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Background color variants */
.page-cockfighting__dark-bg {
    background-color: #0A192F;
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    overflow: hidden;
    text-align: center;
    padding: 60px 20px; /* Added padding for smaller screens */
    box-sizing: border-box;
}

.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); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #ffffff;
}

.page-cockfighting__hero-title {
    font-size: 3.8em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting__btn-promo {
    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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #0A192F;
    color: #FFD700;
    border: 1px solid #FFD700;
    margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-cockfighting__btn-promo {
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 6px;
    background-color: #FFD700;
    color: #0A192F;
    border: 1px solid #FFD700;
    margin-top: 15px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__btn-promo:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

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

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__feature-item {
    background-color: #ffffff;
    color: #333333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.page-cockfighting__feature-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__type-card {
    background-color: #ffffff;
    color: #333333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-cockfighting__type-name {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-cockfighting__type-card p {
    font-size: 1em;
    padding: 0 15px;
}

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

.page-cockfighting__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #0A192F;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #0A192F;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    color: #0A192F;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-cockfighting__guide-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-cockfighting__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__tips-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 5px solid #FFD700;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-cockfighting__tips-list li strong {
    color: #FFD700;
}

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

.page-cockfighting__promo-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__promo-title {
    font-size: 1.8em;
    color: #0A192F;
    margin-bottom: 15px;
}

.page-cockfighting__promo-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-cockfighting__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Safety Section */
.page-cockfighting__safety-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__safety-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 5px solid #FFD700;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-cockfighting__safety-list li strong {
    color: #FFD700;
}

.page-cockfighting__safety-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-cockfighting__safety-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #FFD700; /* Gold background for question */
    color: #0A192F; /* Dark text for gold background */
    font-weight: bold;
    border-radius: 10px; /* Rounded corners for questions */
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #0A192F; /* Ensure dark text */
}

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #0A192F; /* Ensure dark text */
}

.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: #ffffff; /* White background for answer */
    color: #333333; /* Dark text for white background */
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px 25px;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #333333;
}

/* Call to Action Section */
.page-cockfighting__cta-section {
    text-align: center;
    padding: 80px 20px;
}

.page-cockfighting__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-cockfighting__cta-section .page-cockfighting__text-block {
    color: #ffffff;
    margin-bottom: 40px;
}

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


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

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-cockfighting__hero-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .page-cockfighting__btn-promo,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        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__cta-actions,
    .page-cockfighting__hero-actions,
    .page-cockfighting__button-group,
    .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__content-area {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__guide-image-wrapper,
    .page-cockfighting__promo-image-wrapper,
    .page-cockfighting__safety-image-wrapper,
    .page-cockfighting__type-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__type-image {
        height: auto; /* Allow height to adjust */
    }

    /* FAQ specific adjustments */
    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__type-name,
    .page-cockfighting__step-title,
    .page-cockfighting__promo-title {
        font-size: 1.4em;
    }
}