/* style/cockfighting.css */

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

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body for contrast */
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #262626; /* Dark background for sections with light text */
    color: #ffffff;
}

.page-cockfighting__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.page-cockfighting h2 {
    color: #26A9E0;
}

.page-cockfighting h3 {
    color: #ffffff;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-cockfighting p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-cockfighting__highlight {
    color: #26A9E0;
    font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles top padding */
    overflow: hidden;
    background-color: #1a1a1a;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    position: relative; /* Ensure content is above image but not overlapping */
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    z-index: 10;
    margin-top: -100px; /* Adjust if needed to bring content closer to image */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 900;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-cockfighting__subtitle {
    font-size: clamp(1.1em, 2vw, 1.4em);
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.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-center {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: fit-content;
}

/* Introduction Section */
.page-cockfighting__introduction p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark 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;
    color: #ffffff;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-cockfighting__card p {
    font-size: 1em;
    flex-grow: 1;
}

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

.page-cockfighting__text-bottom-margin {
    margin-bottom: 30px;
}

/* Guide Section */
.page-cockfighting__ordered-list {
    list-style: none;
    counter-reset: guide-counter;
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
}

.page-cockfighting__ordered-list li {
    counter-increment: guide-counter;
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-cockfighting__ordered-list li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #26A9E0;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4em;
}

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

.page-cockfighting__image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
}

.page-cockfighting__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Tips Section */
.page-cockfighting__unordered-list {
    list-style: none;
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
}

.page-cockfighting__unordered-list li {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: #f0f0f0;
}

.page-cockfighting__unordered-list li:last-child {
    margin-bottom: 0;
}

/* Benefits Section */
.page-cockfighting__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.page-cockfighting__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

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

.page-cockfighting__benefit-item p {
    font-size: 1em;
    margin-bottom: 0;
}

/* Promotions Section */
.page-cockfighting__grid-2-cols {
    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.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-cockfighting__promo-card p {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    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;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    color: #26A9E0;
    list-style: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

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

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

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

/* Conclusion Section */
.page-cockfighting__conclusion p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__call-to-action {
    font-size: 1.4em;
    font-weight: bold;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 500px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }

    .page-cockfighting__subtitle {
        font-size: clamp(1em, 1.8vw, 1.2em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 400px;
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 0 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-cockfighting__subtitle {
        font-size: clamp(0.9em, 3vw, 1.1em);
        margin-bottom: 30px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
    }

    .page-cockfighting__grid-3-cols,
    .page-cockfighting__grid-2-cols {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-cockfighting__ordered-list,
    .page-cockfighting__unordered-list,
    .page-cockfighting__faq-list {
        margin: 30px auto;
        padding: 0 15px;
    }

    .page-cockfighting__ordered-list li {
        padding-left: 50px;
        font-size: 1em;
    }

    .page-cockfighting__ordered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .page-cockfighting__list-title,
    .page-cockfighting__card-title,
    .page-cockfighting__benefit-title,
    .page-cockfighting__promo-title {
        font-size: 1.3em;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: 180px;
    }

    .page-cockfighting__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

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

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-cockfighting__call-to-action {
        font-size: 1.2em;
    }

    /* Mobile image and video responsive adaptation */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting video,
    .page-cockfighting__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .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;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 250px;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6em, 8vw, 2em);
    }
    .page-cockfighting__subtitle {
        font-size: clamp(0.8em, 3.5vw, 1em);
    }
    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: 150px;
    }
}