/* style/cockfighting.css */

/* Global styles for the page content */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a, so light text */
    background-color: transparent; /* Assuming body handles the actual background */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    background-color: #017439; /* Fallback background for hero */
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4; /* Slightly dim the image for text readability */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color */
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-cockfighting__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* 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;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for content sections */
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly different dark background */
}

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

.page-cockfighting__type-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__type-title {
    font-size: 1.8em;
    color: #017439;
    margin: 20px 15px 10px;
}

.page-cockfighting__type-description {
    font-size: 1em;
    color: #cccccc;
    padding: 0 15px 20px;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-cockfighting__guide-step {
    background-color: #0d0d0d;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #017439;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #0a0a0a;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    color: #017439;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: #cccccc;
}

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

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

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

.page-cockfighting__advantage-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__advantage-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    /* filter: brightness(1.2) saturate(1.2); /* Enhance icon visibility on dark background - REMOVED due to filter restriction */
}

.page-cockfighting__advantage-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__advantage-description {
    font-size: 1em;
    color: #cccccc;
}

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

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

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

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

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

.page-cockfighting__promo-title {
    font-size: 1.6em;
    color: #017439;
    margin: 20px 15px 10px;
}

.page-cockfighting__promo-description {
    font-size: 1em;
    color: #cccccc;
    padding: 0 15px 20px;
}

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

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

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

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

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: #ffffff;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    color: #017439;
    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: #cccccc;
}

.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: 0;
    padding-bottom: 5px; /* Adjust if needed for final paragraph */
}

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

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

@media (max-width: 768px) {
    /* Mobile content padding */
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    /* Image containers responsiveness */
    .page-cockfighting__type-card,
    .page-cockfighting__advantage-card,
    .page-cockfighting__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video responsiveness (if any) - no videos in this current content, but kept for future proofing based on requirements */
    .page-cockfighting video,
    .page-cockfighting__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
      box-sizing: border-box !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;
    }
    /* Fixed header spacing for video section in mobile */
    /* No specific video section, so applying to hero if it were a video. */
    /* If a video section is added later, this rule should be applied to it */
    /* .page-cockfighting__video-section { padding-top: var(--header-offset, 120px) !important; } */

    /* Buttons responsiveness */
    .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__hero-cta-buttons,
    .page-cockfighting__cta-wrapper,
    .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; /* Stack buttons vertically */
        gap: 15px !important;
        overflow: hidden !important;
    }

    .page-cockfighting__hero-section {
        min-height: 60vh;
        padding-top: 60px; /* Adjust hero padding for mobile */
        padding-bottom: 60px;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 10px 20px 20px !important;
    }
}

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