/* style/cockfighting.css */

/* Variables for colors */
:root {
    --page-cockfighting-primary-color: #11A84E;
    --page-cockfighting-secondary-color: #22C768;
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-background: #08160F;
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-border: #2E7A4E;
    --page-cockfighting-glow: #57E38D;
    --page-cockfighting-gold: #F2C14E;
    --page-cockfighting-divider: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
    --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-background);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space below image before text */
    padding-top: 10px; /* Small top padding */
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-top: -80px; /* Pull content slightly over image for visual flow */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    border-radius: 10px;
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--page-cockfighting-gold);
    border: 2px solid var(--page-cockfighting-gold);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--page-cockfighting-gold);
    color: var(--page-cockfighting-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cockfighting__text-block {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__text-link {
    color: var(--page-cockfighting-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: var(--page-cockfighting-glow);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
    color: var(--page-cockfighting-text-main);
}

/* History Section */
.page-cockfighting__history-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__image-wrapper {
    text-align: center;
}

.page-cockfighting__image-item {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__card {
    background: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-cockfighting-text-secondary);
}

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

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

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-cockfighting__card-description {
    font-size: 0.95rem;
    padding: 0 20px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__cta-buttons--center {
    margin-top: 40px;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__step-item {
    background: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-cockfighting__step-title {
    font-size: 1.6rem;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-deep-green);
}

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

.page-cockfighting__advantage-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__advantage-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-cockfighting__advantage-title {
    font-size: 1.4rem;
    color: var(--page-cockfighting-glow);
    margin-bottom: 15px;
}

.page-cockfighting__advantage-description {
    font-size: 0.95rem;
    color: var(--page-cockfighting-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__faq-item {
    background: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-cockfighting-text-main);
    cursor: pointer;
    background-color: var(--page-cockfighting-card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(var(--page-cockfighting-primary-color), 0.1);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--page-cockfighting-gold);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
    border-top: 1px solid var(--page-cockfighting-divider);
    margin-top: -1px; /* Overlap border */
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-deep-green);
    text-align: center;
}

/* Common styles for dark and light backgrounds */
.page-cockfighting__dark-section {
    background-color: var(--page-cockfighting-background);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__light-bg {
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__light-bg .page-cockfighting__text-block {
    color: var(--page-cockfighting-text-secondary);
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-cockfighting__content-grid {
        grid-template-columns: 2fr 1fr; /* Text on left, image on right for larger screens */
    }
    .page-cockfighting__hero-content {
        margin-top: -150px; /* More overlap on larger screens */
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjust overlap for mobile */
    }

    .page-cockfighting__main-title {
        font-size: 2rem;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
    }

    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }

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

    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__history-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

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

    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__image-wrapper,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__guide-steps,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__types-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    
    .page-cockfighting__advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .page-cockfighting__card-image {
        height: 200px;
    }
}

/* Ensure content area images are not too small */
.page-cockfighting__image-item, 
.page-cockfighting__card-image, 
.page-cockfighting__step-image, 
.page-cockfighting__advantage-icon {
    min-width: 200px;
    min-height: 200px;
}
.page-cockfighting__advantage-icon {
    min-width: 80px;
    min-height: 80px;
}

/* Specific override for image item if it's smaller in grid */
.page-cockfighting__advantage-icon {
    width: 80px; /* Default size for icon, but min-width ensures it's not too small */
    height: 80px;
    min-width: 80px; 
    min-height: 80px;
}

/* Light/Dark background text color adjustments */
.page-cockfighting__dark-bg {
    color: var(--page-cockfighting-text-main); /* Deep green background with main text color */
}

.page-cockfighting__light-bg {
    color: var(--page-cockfighting-text-main); /* Card background with main text color */
}

.page-cockfighting__dark-section {
    background-color: var(--page-cockfighting-deep-green);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__light-bg .page-cockfighting__text-block {
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-secondary);
}