/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text on dark body background */
    background-color: #121212; /* Inherited from body, but explicitly set for safety */
}

/* Container for consistent content width */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #ffc107; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* 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;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.page-cockfighting__btn-primary {
    background-color: #007bff; /* Main brand color */
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-cockfighting__btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #ffc107; /* Auxiliary brand color */
    border: 2px solid #ffc107;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #ffc107;
    color: #121212;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden; /* Ensure video doesn't overflow */
    box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background-color: #000;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #ffc107;
    line-height: 1.2;
    font-weight: 800;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-cockfighting__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__text-block {
    flex: 1;
    font-size: 1.1em;
}

.page-cockfighting__text-block p {
    margin-bottom: 1em;
    color: #f0f0f0;
}

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

.page-cockfighting__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensures proper spacing */
    margin: 0 auto;
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 80px 0;
    background-color: #242424; /* Another dark shade */
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-cockfighting__card:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 123, 255, 0.15); /* Subtle hover effect */
}

.page-cockfighting__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__card-title {
    font-size: 1.8em;
    color: #ffc107;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* How-To-Play Section */
.page-cockfighting__how-to-play-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-cockfighting__step-item {
    background-color: rgba(0, 123, 255, 0.1);
    border: 1px solid #007bff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.page-cockfighting__step-item h3 {
    font-size: 1.5em;
    color: #ffc107;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-cockfighting__step-item a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__step-item a:hover {
    text-decoration: underline;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
    padding: 80px 0;
    background-color: #242424;
}

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

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

.page-cockfighting__feature-item h3 {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: 600;
}

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

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

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

.page-cockfighting__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-cockfighting__promo-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-cockfighting__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__promo-title {
    font-size: 1.8em;
    color: #ffc107;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__promo-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Live Section */
.page-cockfighting__live-section {
    padding: 80px 0;
    background-color: #242424;
}

.page-cockfighting__live-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-cockfighting__live-image {
    flex: 2;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-cockfighting__live-text {
    flex: 1;
    color: #ffffff;
}

.page-cockfighting__live-subtitle {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__live-text p {
    margin-bottom: 1em;
    color: #f0f0f0;
}

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

.page-cockfighting__safety-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-cockfighting__safety-text {
    flex: 1;
    color: #ffffff;
}

.page-cockfighting__safety-subtitle {
    font-size: 2em;
    color: #ffc107;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__safety-text ul {
    list-style: none;
    padding-left: 0;
}

.page-cockfighting__safety-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #f0f0f0;
}

.page-cockfighting__safety-text li::before {
    content: '✓';
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-cockfighting__safety-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__safety-text a:hover {
    text-decoration: underline;
}

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

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #007bff; /* Main brand color for question */
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1em; /* Adjust to fit parent font size */
}

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus visual */
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

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

.page-cockfighting__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    color: #f0f0f0;
}

.page-cockfighting__faq-answer a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    padding: 80px 0;
    background-color: #007bff; /* Main brand color for final CTA */
    color: #ffffff;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-description {
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-final-section a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__cta-final-section a:hover {
    text-decoration: underline;
}

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

/* General Link Styling for content */
.page-cockfighting a {
    color: #007bff;
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

.page-cockfighting__dark-bg p strong,
.page-cockfighting__dark-bg li strong {
    color: #ffc107; /* Highlight strong text in dark sections */
}

/* 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__content-grid,
    .page-cockfighting__live-content,
    .page-cockfighting__safety-content {
        flex-direction: column;
    }
    .page-cockfighting__live-image,
    .page-cockfighting__image-block img {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-description {
        font-size: 0.9em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__promo-card,
    .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; /* Ensure no overflow */
    }
    .page-cockfighting__promo-card img {
        height: auto; /* Allow auto height on mobile */
    }

    /* Video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio for video */
        height: auto !important;
    }

    /* FAQ specific adjustments */
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 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.5em;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__promo-title,
    .page-cockfighting__live-subtitle,
    .page-cockfighting__safety-subtitle {
        font-size: 1.3em;
    }
}