/* style/cockfighting.css */

/* Base Styles */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background is white */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

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

.page-cockfighting a {
    color: #017439;
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    max-width: 100%; /* Ensure buttons adapt */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
    margin-right: 15px;
}

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

.page-cockfighting__btn-secondary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #017439; /* Dark background for hero content */
    display: flex;
    flex-direction: column; /* Image on top, content below */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
}

.page-cockfighting__hero-content {
    padding: 50px 20px;
    text-align: center;
    color: #FFFFFF;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem); /* Clamp for H1, not fixed large value */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom font color for H1 in hero */
}

.page-cockfighting__description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #FFFFFF;
}

/* Info Section */
.page-cockfighting__info-section {
    padding: 60px 0;
}

/* Bet Types Section */
.page-cockfighting__bet-types {
    padding: 60px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__bet-types .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__bet-types .page-cockfighting__text-block {
    color: #FFFFFF;
}

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

.page-cockfighting__bet-card {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-cockfighting__bet-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

.page-cockfighting__card-text {
    font-size: 1em;
    line-height: 1.5;
}

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

.page-cockfighting__step-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-cockfighting__step-icon {
    width: 50px;
    height: 50px;
    background-color: #017439;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-cockfighting__step-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__step-text {
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us {
    padding: 60px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__why-choose-us .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__why-choose-us .page-cockfighting__text-block {
    color: #FFFFFF;
}

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

.page-cockfighting__feature-item {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-cockfighting__feature-image {
    width: 250px; /* Display size, matches HTML attribute */
    height: 250px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-text {
    font-size: 1em;
    line-height: 1.5;
}

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

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

.page-cockfighting__promo-card {
    background-color: #017439; /* Brand color background */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF; /* White text for brand color background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    color: #FFFF00; /* Yellow for titles on dark background */
}

.page-cockfighting__promo-card .page-cockfighting__card-text {
    color: #FFFFFF;
    flex-grow: 1; /* Allow text to take available space */
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin-top: 20px;
    background-color: #FFFFFF;
    color: #017439;
    border-color: #FFFFFF;
}
.page-cockfighting__promo-card .page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 60px 0;
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__tip-item {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tip-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__tip-text {
    font-size: 1.1em;
}

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

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: #FFFFFF;
    color: #333333;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* For details tag */
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #017439;
}

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

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    line-height: 1.6;
}

.page-cockfighting__answer-text {
    margin: 0;
}

/* Global image styles for content area */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures images behave as blocks for max-width */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 20px 30px;
    }

    .page-cockfighting__section-title {
        font-size: 2em;
    }

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

    .page-cockfighting__grid-3-cols,
    .page-cockfighting__feature-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-cockfighting__hero-content {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
}