/* style/cockfighting.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --accent-orange: #EA7C07;
    --background-light: #FFFFFF;
    --background-dark: #1a1a1a; /* Assuming a dark background for some sections for contrast */
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* Header offset for desktop */
.page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px);
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-cockfighting__section-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.page-cockfighting__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: var(--text-light);
}

.page-cockfighting__dark-bg .page-cockfighting__section-description {
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    overflow: hidden;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

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

.page-cockfighting__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    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;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-light);
    border: 2px solid var(--accent-orange);
}

.page-cockfighting__btn-primary:hover {
    background-color: darken(var(--accent-orange), 10%);
    border-color: darken(var(--accent-orange), 10%);
}

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

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

.page-cockfighting__btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

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

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

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

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

/* Features Section */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-cockfighting__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Guide Section */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.page-cockfighting__guide-list li {
    background-color: var(--background-light);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.page-cockfighting__guide-list h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Video Section */
.page-cockfighting__video-section {
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure video section respects header offset */
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    width: 100%; /* Ensure wrapper takes full width */
    box-sizing: border-box;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
    min-width: 200px; /* Ensure video is not too small */
    min-height: 200px;
}

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

.page-cockfighting__promotion-card {
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-cockfighting__promotion-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-content {
    padding: 25px;
}

.page-cockfighting__card-content h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-cockfighting__card-content p {
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

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

.page-cockfighting__faq-item {
    background-color: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

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

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

/* 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__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-block {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__video,
    .page-cockfighting__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
    }
    .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;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 1em;
    }
}