/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherit from shared.css, assumed dark */
}

/* Fixed header offset for main content */
.page-cockfighting {
    padding-top: var(--header-offset, 120px);
}

.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: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000; /* Fallback */
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

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

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    line-height: 1.5;
}

.page-cockfighting__hero-actions {
    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: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
    background-color: #1e87b8;
    border-color: #1e87b8;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b8;
    border-color: #1e87b8;
    transform: translateY(-2px);
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1); /* Dark background */
    color: #ffffff; /* Light text */
}

.page-cockfighting__dark-bg {
    background-color: var(--dark-bg-1);
    color: #ffffff;
}

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

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

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

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

.page-cockfighting__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1; /* Ensure description takes available space */
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1); /* Dark background */
    color: #ffffff; /* Light text */
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-image {
    width: 100%;
    height: 200px; /* Fixed height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__step-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1;
}

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

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

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

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

.page-cockfighting__promotion-image {
    width: 100%;
    height: 250px; /* Fixed height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

/* Safety Section */
.page-cockfighting__safety-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1); /* Dark background */
    color: #ffffff; /* Light text */
}

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

.page-cockfighting__safety-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__safety-icon {
    width: 100%; /* Ensure icon is responsive */
    height: 150px; /* Adjust height as needed */
    object-fit: contain; /* Use contain for icons to prevent cropping */
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__item-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__item-description {
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1;
}

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

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__tips-list .page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-cockfighting__tips-list .page-cockfighting__item-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__tips-list .page-cockfighting__item-description {
    font-size: 1.1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1); /* Dark background */
    color: #ffffff; /* Light text */
}

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

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

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: #26A9E0;
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
    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: #f0f0f0;
}

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

.page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}

/* CTA Buttons container */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap; /* Ensure responsiveness */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Main content area padding-top for mobile */
    .page-cockfighting {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-cockfighting__hero-section {
        height: 500px;
    }

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

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

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

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-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__hero-actions,
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent buttons touching edges */
    }

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

    /* All image containers and sections to prevent overflow */
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__safety-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__container,
    .page-cockfighting__feature-card,
    .page-cockfighting__step-item,
    .page-cockfighting__promotion-card,
    .page-cockfighting__safety-item,
    .page-cockfighting__list-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
   }}