/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text on dark body background */
    line-height: 1.6;
    background-color: #121212; /* Matches body background from shared.css */
}

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

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

.page-cockfighting__section-subtitle {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    color: #000050;
    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: #000080;
}

.page-cockfighting__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-cockfighting__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.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.7);
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

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

.page-cockfighting__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-cockfighting__hero-buttons .page-cockfighting__btn-primary {
    margin-right: 20px;
}

/* Intro Section */
.page-cockfighting__intro-section {
    background-color: #000080; /* Dark blue background */
    padding: 80px 0;
    color: #ffffff;
}

.page-cockfighting__grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__content-block p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-cockfighting__image-wrapper {
    text-align: center;
}

.page-cockfighting__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Types Section */
.page-cockfighting__types-section {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    padding: 80px 0;
    color: #ffffff;
}

.page-cockfighting__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Ensure light text on card background */
}

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

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

.page-cockfighting__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 20px;
}

/* Guide Section */
.page-cockfighting__guide-section {
    background-color: #000080;
    padding: 80px 0;
    color: #ffffff;
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-icon {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    display: inline-block;
    font-weight: bold;
}

.page-cockfighting__step-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-cockfighting__step-description a {
    color: #FFD700;
    text-decoration: underline;
}

.page-cockfighting__step-description a:hover {
    color: #e6c200;
}

.page-cockfighting__cta-center {
    text-align: center;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
    background-color: #1a1a1a;
    padding: 80px 0;
    color: #ffffff;
}

.page-cockfighting__list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list-check li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-cockfighting__list-check li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.2em;
    top: -2px;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    background-color: #000080;
    padding: 80px 0;
    color: #ffffff;
}

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

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

.page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter */
}

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

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-q-text {
    margin: 0;
    color: #FFD700;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.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-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

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

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

/* CTA Section */
.page-cockfighting__cta-section {
    background-color: #000080;
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-cockfighting__cta-content {
    max-width: 800px;
}

.page-cockfighting__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-cockfighting__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2.5em;
    }
    .page-cockfighting__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__content-block {
        order: 2;
    }
    .page-cockfighting__image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__hero-section {
        height: 60vh;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__hero-buttons .page-cockfighting__btn-primary {
        margin-right: 0;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .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__section-title {
        font-size: 2em;
        padding-top: 30px;
    }
    .page-cockfighting__section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-cockfighting__cards-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__card-image,
    .page-cockfighting__image-responsive,
    .page-cockfighting__feature-icon,
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image-wrapper,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-cockfighting__cta-title {
        font-size: 2em;
    }
    .page-cockfighting__cta-description {
        font-size: 1em;
    }
}