/* style/cockfighting.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #000000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-color: #333;
}

/* Base styles for the page-cockfighting content */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Assuming body background from shared.css is dark */
    background-color: transparent; /* Use shared 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: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-light);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: var(--secondary-color);
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    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: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    color: var(--text-light);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Introduction Section */
.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__security-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    cursor: pointer;
}

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

.page-cockfighting__card,
.page-cockfighting__promo-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: var(--text-light);
}

.page-cockfighting__card-image,
.page-cockfighting__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting__card-title,
.page-cockfighting__promo-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 15px 15px 10px;
    font-weight: bold;
}

.page-cockfighting__card-title a,
.page-cockfighting__promo-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-cockfighting__card-title a:hover,
.page-cockfighting__promo-title a:hover {
    text-decoration: underline;
}

.page-cockfighting__card-text,
.page-cockfighting__promo-description {
    font-size: 1em;
    padding: 0 15px;
    text-align: justify;
    flex-grow: 1;
    color: var(--text-light);
}

/* Guide List */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__guide-item {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting__guide-heading {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__guide-text {
    font-size: 1.1em;
    color: var(--text-light);
}

/* Security Section */
.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    color: var(--text-light);
}

.page-cockfighting__security-item {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-cockfighting__security-item::before {
    content: '✅';
    font-size: 1.2em;
}

.page-cockfighting__security-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-cockfighting__faq-answer p {
    margin: 0 0 10px 0;
    color: var(--text-light);
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: var(--secondary-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-primary:hover {
    background-color: #333333;
    color: var(--primary-color);
    border-color: #333333;
}

/* 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: 2em;
    }
    .page-cockfighting__security-list {
        grid-template-columns: 1fr;
    }
}

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

    .page-cockfighting__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

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

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

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

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

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

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 0.95em;
    }

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

    /* Videos responsive */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-cockfighting__card,
    .page-cockfighting__promo-card {
        padding-bottom: 15px;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: 200px;
    }

    .page-cockfighting__guide-item {
        padding: 20px;
    }

    .page-cockfighting__guide-heading {
        font-size: 1.4em;
    }

    .page-cockfighting__security-list {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

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

    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
}