/* style/cockfighting.css */

/* General styles for the page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color, #08160F); /* Fallback if shared.css doesn't define */
    color: var(--text-main, #F2FFF6); /* Main text color for dark background */
    line-height: 1.6;
    font-size: 16px;
}

/* Ensure body padding-top is handled by shared.css */
/* .page-cockfighting should not add extra padding-top for header offset */

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold, #F2C14E);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-cockfighting__text-block {
    margin-bottom: 20px;
    color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__text-block a {
    color: var(--glow, #57E38D);
    text-decoration: underline;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__list-item::before {
    content: '✓';
    color: var(--glow, #57E38D);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Call to Action Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--glow, #57E38D);
    color: #08160F;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* HERO Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--deep-green, #0A4B2C);
    box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px;
}

.page-cockfighting__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gold, #F2C14E);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Section */
.page-cockfighting__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px;
    background-color: var(--background-color, #08160F);
    box-sizing: border-box;
}

.page-cockfighting__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    width: 100%; /* Desktop width for video wrapper */
}

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

.page-cockfighting__video-description {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Content Sections */
.page-cockfighting__content-section {
    padding: 80px 0;
    background-color: var(--background-color, #08160F);
    box-sizing: border-box;
}

.page-cockfighting__dark-bg {
    background-color: var(--card-bg, #11271B);
    color: var(--text-main, #F2FFF6);
}
.page-cockfighting__dark-bg .page-cockfighting__text-block {
    color: var(--text-secondary, #A7D9B8);
}
.page-cockfighting__dark-bg .page-cockfighting__text-block a {
    color: var(--glow, #57E38D);
}
.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: var(--gold, #F2C14E);
}


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

.page-cockfighting__feature-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main, #F2FFF6);
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    flex-grow: 1;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main, #F2FFF6);
}

.page-cockfighting__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--gold, #F2C14E);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-item summary:hover {
    background-color: rgba(var(--deep-green-rgb, 10, 75, 44), 0.5);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 20px;
    text-align: center;
    color: var(--glow, #57E38D);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    border-top: 1px solid var(--divider, #1E3A2A);
    margin-top: -1px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__content-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
        border-radius: 0;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 25px;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__cta-buttons {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting__content-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__feature-card {
        padding: 25px;
    }

    .page-cockfighting__feature-image {
        max-height: 180px;
        min-width: 200px;
        min-height: 200px;
    }

    .page-cockfighting__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }

    /* Images and Videos Responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__cta-buttons,
    .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;
        overflow: hidden !important;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
}

/* Color contrast enforcement (assuming dark body background #08160F) */
.page-cockfighting {
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__card,
.page-cockfighting__feature-card,
.page-cockfighting__faq-item {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__text-block,
.page-cockfighting__list-item,
.page-cockfighting__feature-description,
.page-cockfighting__faq-answer {
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__dark-bg .page-cockfighting__text-block a,
.page-cockfighting__dark-bg .page-cockfighting__list-item a,
.page-cockfighting__dark-bg .page-cockfighting__feature-description a,
.page-cockfighting__dark-bg .page-cockfighting__faq-answer a {
    color: var(--glow, #57E38D);
}

.page-cockfighting__section-title,
.page-cockfighting__feature-title,
.page-cockfighting__faq-item summary {
    color: var(--gold, #F2C14E);
}