/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f9fa; /* Body background from shared.css */
}

/* Color contrast classes */
.page-cockfighting__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__light-bg {
    background-color: #f8f9fa; /* Match body background */
    color: #333333; /* Dark text for light background */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg h3 {
    color: #F2FFF6;
}

.page-cockfighting__dark-bg a {
    color: #A7D9B8;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: #0A4B2C; /* Deep Green for hero section background */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin: 40px auto 0 auto;
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6;
    letter-spacing: -0.02em;
}

.page-cockfighting__subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

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

.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;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #F2FFF6; /* Text Main */
    border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* General Content Sections */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #11A84E; /* Main color for titles on light background */
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: #11A84E;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: #F2FFF6;
}

.page-cockfighting p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-cockfighting a {
    color: #11A84E;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__dark-bg a {
    color: #A7D9B8;
}

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

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Feature List */
.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__feature-list li {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    border-left: 5px solid #11A84E;
}

.page-cockfighting__feature-list li strong {
    color: #57E38D; /* Glow */
    margin-right: 10px;
}

/* Card Grid */
.page-cockfighting__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-cockfighting__card {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin: 20px 20px 10px 20px;
    color: #F2FFF6;
}

.page-cockfighting__card p {
    padding: 0 20px 20px 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
}

/* Step List */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin: 30px 0;
}

.page-cockfighting__step-list li {
    counter-increment: step-counter;
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    padding: 20px 20px 20px 60px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    border-left: 5px solid #22C768; /* Auxiliary color */
}

.page-cockfighting__step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #11A84E; /* Main color */
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-cockfighting__step-list li strong {
    color: #57E38D; /* Glow */
}

/* Tips List */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__tips-list li {
    background-color: #f8f9fa;
    color: #333333;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid #11A84E;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-cockfighting__tips-list li strong {
    color: #0A4B2C; /* Deep Green */
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 30px;
}

.page-cockfighting__faq-item {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border */
    overflow: hidden;
}

.page-cockfighting__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #F2FFF6;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-cockfighting__faq-question .page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 15px 20px 20px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }

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

    .page-cockfighting__hero-content {
        margin-top: 20px;
    }
}

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

    .page-cockfighting__hero-section {
        padding: 10px 0 40px 0;
    }

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

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

    .page-cockfighting__subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

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

    .page-cockfighting p {
        font-size: 0.95em;
    }

    /* Image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
    }
    
    .page-cockfighting__hero-image {
        min-width: unset !important;
        min-height: unset !important;
    }

    .page-cockfighting__card-image {
        height: 200px;
        min-width: unset !important;
        min-height: unset !important;
    }

    .page-cockfighting__image-content {
        min-width: unset !important;
        min-height: unset !important;
    }

    .page-cockfighting__card-grid {
        gap: 20px;
    }

    .page-cockfighting__card-title {
        font-size: 1.3em;
        margin: 15px 15px 8px 15px;
    }

    .page-cockfighting__card p {
        padding: 0 15px 15px 15px;
    }

    .page-cockfighting__feature-list li,
    .page-cockfighting__step-list li,
    .page-cockfighting__tips-list li,
    .page-cockfighting__faq-item {
        padding: 15px;
        font-size: 0.95em;
    }

    .page-cockfighting__step-list li::before {
        left: 15px;
        width: 25px;
        height: 25px;
        font-size: 0.9em;
    }

    .page-cockfighting__step-list li {
        padding-left: 50px;
    }

    .page-cockfighting__faq-item summary {
        padding: 15px;
        font-size: 1em;
    }

    .page-cockfighting__faq-answer {
        padding: 10px 15px 15px 15px;
    }
    
    /* Ensure containers are responsive */
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    
    .page-cockfighting__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}