/* style/cockfighting.css */

/* --- Base Styles & Typography --- */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default page background */
}

.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; /* Brand color for titles */
    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: #26A9E0;
    border-radius: 2px;
}

.page-cockfighting__section-title--small {
    font-size: 2em;
    margin-bottom: 20px;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Color Contrast Classes --- */
.page-cockfighting__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__sub-title,
.page-cockfighting__dark-bg .page-cockfighting__card-title,
.page-cockfighting__dark-bg .page-cockfighting__promo-title,
.page-cockfighting__dark-bg .page-cockfighting__faq-title {
    color: #ffffff; /* Ensure titles are white on dark background */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title::after {
    background-color: #ffffff; /* White underline for titles on dark background */
}

.page-cockfighting__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

/* --- Buttons --- */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* White text for secondary on dark bg */
    border: 2px solid #ffffff;
}
.page-cockfighting__dark-bg .page-cockfighting__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}
.page-cockfighting__light-bg .page-cockfighting__btn-secondary {
    color: #26A9E0; /* Brand color for secondary on light bg */
    border-color: #26A9E0;
}


.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.page-cockfighting__light-bg .page-cockfighting__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__btn-link {
    background-color: transparent;
    color: #26A9E0;
    border: 1px solid #26A9E0;
    padding: 10px 20px;
    font-size: 0.95em;
    margin-top: 15px;
}

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

.page-cockfighting__btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    max-width: 300px;
}

/* --- Image Styling --- */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
    overflow: hidden;
    background-image: linear-gradient(135deg, #26A9E0, #1a7fb0); /* Gradient for hero bg */
}
.page-cockfighting__hero-section.page-cockfighting__dark-bg {
    background-color: transparent; /* Override single color for gradient */
}


.page-cockfighting__hero-content {
    flex: 1;
    z-index: 1;
    text-align: left;
    padding-right: 40px;
}

.page-cockfighting__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-align: left;
    max-width: none; /* Override paragraph center alignment */
}

.page-cockfighting__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Introduction Section --- */
.page-cockfighting__introduction-section {
    padding: 80px 0;
}

.page-cockfighting__image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping */
}

.page-cockfighting__image-text-layout .page-cockfighting__content-image {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__text-block {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-cockfighting__feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
}

.page-cockfighting__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    color: #26A9E0;
    font-size: 1.2em;
}
.page-cockfighting__list-item-title {
    color: #26A9E0;
}


/* --- Types Section & Grid Layout --- */
.page-cockfighting__types-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-cockfighting__grid-layout--small-gap {
    gap: 20px;
}

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