/* style/cockfighting.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Transparent to let body background (from shared.css) show */
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Fixed Header Offset - IMPORTANT: Apply to the first main content section or main itself */
/* This ensures the content is not hidden by the fixed header */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    overflow: hidden;
}

.page-cockfighting__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 600px;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 900px;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    max-width: 800px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* General container for content sections */
.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: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

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

.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
    order: 2;
}
.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
    order: 1;
}


.page-cockfighting__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-cockfighting__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-cockfighting__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__list li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

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

/* Buttons */
.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 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-color: #FFD700;
    color: #1A237E;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-cockfighting__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A237E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn--link {
    background: none;
    border: none;
    color: #FFD700;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-cockfighting__btn--link:hover {
    color: #e6c200;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

.page-cockfighting__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
    min-width: 200px;
}

.page-cockfighting__cta-full-width {
    text-align: center;
    margin-top: 50px;
}

/* Section backgrounds */
.page-cockfighting__dark-section {
    background-color: #1A237E;
    padding: 80px 0;
}

.page-cockfighting__introduction-section {
    padding: 80px 0;
}
.page-cockfighting__features-section {
    padding: 80px 0;
}
.page-cockfighting__tips-section {
    padding: 80px 0;
}
.page-cockfighting__promotions-section {
    padding: 80px 0;
}
.page-cockfighting__safety-support-section {
    padding: 80px 0;
}
.page-cockfighting__faq-section {
    padding: 80px 0;
}
.page-cockfighting__news-section {
    padding: 80px 0;
}

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

.page-cockfighting__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-cockfighting__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin: 20px 15px 10px;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin: 0 15px 20px;
}

/* Safety & Support section */
.page-cockfighting__support-channels {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

.page-cockfighting__news-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__news-card .page-cockfighting__card-title {
    font-size: 1.3em;
    margin: 15px;
    text-align: left;
}

.page-cockfighting__news-card .page-cockfighting__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__news-card .page-cockfighting__card-title a:hover {
    color: #e6c200;
}

.page-cockfighting__news-card .page-cockfighting__card-text {
    font-size: 0.95em;
    margin: 0 15px 10px;
    text-align: left;
}

.page-cockfighting__news-date {
    display: block;
    font-size: 0.85em;
    color: #aaa;
    margin: 0 15px 15px;
    text-align: left;
}


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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #1A237E;
    border: 1px solid #FFD700;
    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: #2b3599;
    border-color: #e6c200;
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    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: #ffffff;
    transform: rotate(45deg);
}

.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;
    background: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
    border-radius: 0 0 5px 5px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #f0f0f0;
}
.page-cockfighting__faq-answer .page-cockfighting__btn {
    margin-top: 15px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
        order: initial;
    }
    .page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
        order: initial;
    }
    .page-cockfighting__image-block {
        margin-bottom: 30px;
    }
    .page-cockfighting__promo-grid,
    .page-cockfighting__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

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

    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        max-height: 500px;
    }
    .page-cockfighting__hero-section img {
        height: 100% !important;
        width: 100% !important;
    }
    .page-cockfighting__hero-overlay {
        padding: 15px;
    }
    .page-cockfighting__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

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

    .page-cockfighting__content-grid {
        gap: 30px;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-cockfighting__image-block {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting__btn,
    .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__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container,
    .page-cockfighting__support-channels {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .page-cockfighting__promo-grid,
    .page-cockfighting__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__promo-card img,
    .page-cockfighting__news-card img {
        
    }

    .page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1.1em;
        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;
    }
}