/* style/cockfighting.css */

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

.page-cockfighting {
    background-color: var(--sodo14-background);
    color: var(--sodo14-text-main);
    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;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--sodo14-deep-green);
    overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual flow */
    background: rgba(17, 39, 27, 0.85); /* Card BG with opacity */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--sodo14-border);
}

.page-cockfighting__main-title {
    color: var(--sodo14-gold);
    font-size: clamp(1.8rem, 4vw + 1rem, 3.2rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__hero-description {
    color: var(--sodo14-text-secondary);
    font-size: clamp(0.9rem, 2vw + 0.5rem, 1.1rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 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(--sodo14-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    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-color: transparent;
    color: var(--sodo14-secondary);
    border: 2px solid var(--sodo14-secondary);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--sodo14-secondary);
    color: var(--sodo14-background);
    transform: translateY(-2px);
}

.page-cockfighting__section {
    padding: 80px 0;
    background-color: var(--sodo14-background);
}

.page-cockfighting__section-title {
    color: var(--sodo14-text-main);
    font-size: clamp(1.5rem, 3vw + 1rem, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-cockfighting__text-block {
    color: var(--sodo14-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__highlight {
    color: var(--sodo14-primary);
    font-weight: 600;
}

.page-cockfighting__intro-section {
    background-color: var(--sodo14-background);
    padding-top: 40px;
}

.page-cockfighting__types-section {
    background-color: var(--sodo14-deep-green);
}

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

.page-cockfighting__card {
    background-color: var(--sodo14-card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--sodo14-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--sodo14-text-main);
}

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

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

.page-cockfighting__card-title {
    font-size: 1.4rem;
    color: var(--sodo14-gold);
    padding: 20px 20px 10px;
    font-weight: 600;
}

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

.page-cockfighting__guide-section {
    background-color: var(--sodo14-background);
}

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

.page-cockfighting__step-card {
    background-color: var(--sodo14-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--sodo14-border);
    color: var(--sodo14-text-main);
}

.page-cockfighting__step-title {
    font-size: 1.3rem;
    color: var(--sodo14-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__step-card p {
    color: var(--sodo14-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.page-cockfighting__btn-text {
    color: var(--sodo14-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border-bottom: 2px solid var(--sodo14-gold);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__btn-text:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.page-cockfighting__process-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__advantages-section {
    background-color: var(--sodo14-deep-green);
    color: var(--sodo14-text-main); /* Ensure light text on dark background */
}

.page-cockfighting__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-cockfighting__advantage-item {
    background-color: var(--sodo14-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--sodo14-border);
}

.page-cockfighting__advantage-title {
    font-size: 1.3rem;
    color: var(--sodo14-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__advantage-item p {
    color: var(--sodo14-text-secondary);
    font-size: 0.95rem;
}

.page-cockfighting__advantage-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__strategy-section {
    background-color: var(--sodo14-background);
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-cockfighting__strategy-item {
    background-color: var(--sodo14-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--sodo14-border);
}

.page-cockfighting__strategy-title {
    font-size: 1.3rem;
    color: var(--sodo14-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__strategy-item p {
    color: var(--sodo14-text-secondary);
    font-size: 0.95rem;
}

.page-cockfighting__strategy-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__faq-section {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text on light background */
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #333333;
    text-shadow: none;
}

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

.page-cockfighting__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sodo14-primary);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--sodo14-primary);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: #555555;
    text-align: justify;
}

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

.page-cockfighting__conclusion-section {
    background-color: var(--sodo14-deep-green);
    text-align: center;
    padding-top: 60px;
    padding-bottom: 80px;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
    color: var(--sodo14-text-main);
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--sodo14-text-secondary);
    font-size: 1.1rem;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -80px;
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6rem, 5vw + 1rem, 2.8rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.85rem, 2.5vw + 0.5rem, 1rem);
    }
    .page-cockfighting__section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 15px;
        border-radius: 10px;
        max-width: 90%;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.4rem, 6vw + 1rem, 2.2rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.8rem, 3vw + 0.5rem, 0.95rem);
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.3rem, 5vw + 1rem, 2rem);
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__card-description,
    .page-cockfighting__step-card p,
    .page-cockfighting__advantage-item p,
    .page-cockfighting__strategy-item p,
    .page-cockfighting__faq-answer p {
        font-size: 0.9rem;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__advantage-title,
    .page-cockfighting__strategy-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__advantage-list,
    .page-cockfighting__strategy-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container padding to prevent overflow */
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section,
    .page-cockfighting__card,
    .page-cockfighting__step-card,
    .page-cockfighting__advantage-item,
    .page-cockfighting__strategy-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-cockfighting__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-cockfighting__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-cockfighting__process-image,
    .page-cockfighting__advantage-image,
    .page-cockfighting__strategy-image {
        margin-top: 30px;
    }

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