/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 60px; /* Space for footer */
}

/* 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); /* Fixed header spacing */
    background-color: #1a1a2e; /* Fallback/base for hero if image doesn't cover */
}

.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: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    box-sizing: border-box;
}

.page-cockfighting__hero-title {
    font-size: 3.2em;
    color: #26A9E0; /* Brand primary color for title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styles */
.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: 60px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    color: #ffffff; /* Light text for dark background */
    margin-bottom: 20px;
    text-align: justify;
}

/* Dark background sections */
.page-cockfighting__dark-bg {
    background-color: #1a1a2e; /* Consistent with body background */
    color: #ffffff;
    padding: 60px 0;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    background-color: #0d0d1e; /* Slightly darker background for video */
    text-align: center;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px; /* Max width for video */
    margin: 0 auto;
    background-color: #000; /* Placeholder background */
}

.page-cockfighting__video,
.page-cockfighting__video-link video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-cockfighting__video-link {
    display: block; /* Make the link wrapper block level */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10; /* Ensure link is clickable over video */
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

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

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

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

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

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
}

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

.page-cockfighting__step-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

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

.page-cockfighting__step-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
    flex-grow: 1;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
    padding: 60px 0;
    background-color: #0d0d1e; /* Slightly darker background */
}

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

.page-cockfighting__benefit-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

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

.page-cockfighting__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
}

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

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

.page-cockfighting__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__promo-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

.page-cockfighting__promotions-cta {
    margin-top: 50px;
}

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

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

.page-cockfighting__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

/* Hide default details marker */
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-cockfighting__faq-item summary {
    list-style: none;
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

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

.page-cockfighting__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    max-width: 100%;
}

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

.page-cockfighting__btn-primary:hover {
    background-color: #1e87bb;
    border-color: #1e87bb;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__btn-small {
    font-size: 0.9em;
    padding: 8px 18px;
    margin-top: 15px;
    background-color: #EA7C07; /* Login color for small buttons */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-cockfighting__btn-small:hover {
    background-color: #c96806;
    border-color: #c96806;
}

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

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

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-overlay {
        padding: 20px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
    }
    .page-cockfighting__grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card,
    .page-cockfighting__step-card,
    .page-cockfighting__benefit-card,
    .page-cockfighting__promo-card {
        padding: 20px;
    }
    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }

    /* Video responsive */
    .page-cockfighting video,
    .page-cockfighting__video {
      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 {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Button responsive */
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 10px;
    }

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

/* Ensure all content images meet min size requirements for content area */
.page-cockfighting img:not(.page-cockfighting__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Override for specific small images if they were allowed (but they are not) */
/* This is a safeguard against any accidental small image CSS */
.page-cockfighting__card-image,
.page-cockfighting__promo-image {
    width: 100%; /* Occupy full width of card */
    height: 250px; /* Fixed height for consistency in cards */
    object-fit: cover;
}

@media (max-width: 768px) {
    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: 200px !important; /* Adjust height for mobile */
    }
}