/* style/cockfighting.css */

/* --- General Page Styling --- */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

.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: 20px;
    font-weight: bold;
}

.page-cockfighting__section-subtitle {
    font-size: 1.2em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    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 contrast */
}

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

/* Ensure text in dark sections is white */
.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__section-subtitle,
.page-cockfighting__dark-bg p,
.page-cockfighting__dark-bg h2,
.page-cockfighting__dark-bg h3 {
    color: #ffffff;
}

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

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

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    margin-left: 15px;
}

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

.page-cockfighting__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #26A9E0;
    color: #ffffff;
    border: 1px solid #26A9E0;
    margin-top: 10px;
}

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

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

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

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

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

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

/* --- About Section --- */
.page-cockfighting__about-section {
    padding: 80px 0;
}

.page-cockfighting__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__text-block {
    flex: 1;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-cockfighting__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* --- Video Section --- */
.page-cockfighting__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px; /* Max width for video */
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.page-cockfighting__video-link {
    display: block;
    cursor: pointer;
}

.page-cockfighting__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    min-width: 200px; /* Min video size */
    min-height: 200px; /* Min video size */
}

.page-cockfighting__video-cta {
    margin-top: 30px;
}

/* --- Odds Types Section --- */
.page-cockfighting__odds-types {
    padding: 80px 0;
}

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

.page-cockfighting__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light card background */
}

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

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

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

.page-cockfighting__card-text {
    font-size: 1em;
    color: #555555;
}

/* --- Guide Section --- */
.page-cockfighting__guide-section {
    padding: 80px 0;
    text-align: center;
}

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

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

.page-cockfighting__step-number {
    font-size: 2.5em;
    color: #EA7C07;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-cockfighting__guide-image {
    max-width: 100%;
    height: auto;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* --- Strategy Section --- */
.page-cockfighting__strategy-section {
    padding: 80px 0;
}

.page-cockfighting__strategy-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-cockfighting__strategy-text {
    flex: 2;
}

.page-cockfighting__strategy-text h3 {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__strategy-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333333;
}

.page-cockfighting__strategy-image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Advantages Section --- */
.page-cockfighting__advantages-section {
    padding: 80px 0;
    text-align: center;
}

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

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

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

.page-cockfighting__advantage-icon {
    width: 200px; /* Min size for icons */
    height: 200px; /* Min size for icons */
    object-fit: contain;
    margin-bottom: 15px;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-cockfighting__advantage-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__advantage-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-section {
    padding: 80px 0;
}

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

.page-cockfighting__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    color: #333333; /* Dark text for light card background */
}

.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: #26A9E0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #EA7C07;
    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;
    background-color: #ffffff;
}