/* style/cockfighting.css */

/* Custom Colors from palette */
:root {
    --c88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --c88-card-bg: #11271B;
    --c88-main-bg: #08160F;
    --c88-text-main: #F2FFF6;
    --c88-text-secondary: #A7D9B8;
    --c88-border: #2E7A4E;
    --c88-glow: #57E38D;
    --c88-gold: #F2C14E;
    --c88-divider: #1E3A2A;
    --c88-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--c88-text-main);
    background-color: var(--c88-main-bg); /* Ensure body background is respected from shared.css */
    line-height: 1.6;
    font-size: 1rem;
}

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

/* Sections */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    min-height: 500px;
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--c88-text-main);
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--c88-gold);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    color: var(--c88-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    color: var(--c88-text-main);
}

/* Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary {
    background: var(--c88-btn-gradient);
    color: var(--c88-text-main);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
    background: var(--c88-deep-green);
    color: var(--c88-gold);
    border-color: var(--c88-border);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--c88-border);
    color: var(--c88-text-main);
    border-color: var(--c88-gold);
}

/* General Section Styles */
.page-cockfighting__dark-section {
    background-color: var(--c88-main-bg);
    color: var(--c88-text-main);
    padding: 80px 0;
}

.page-cockfighting__light-bg {
    background-color: var(--c88-card-bg);
    color: var(--c88-text-main);
    padding: 80px 0;
}

/* Introduction Section */
.page-cockfighting__introduction-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-cockfighting__feature-item {
    background-color: var(--c88-deep-green);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--c88-border);
}

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

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

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--c88-gold);
}

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

/* Types Section */
.page-cockfighting__types-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__list-item {
    background-color: var(--c88-card-bg);
    border: 1px solid var(--c88-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--c88-gold);
}

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

/* Guide Section */
.page-cockfighting__guide-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__step-item {
    background-color: var(--c88-deep-green);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--c88-border);
}

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

.page-cockfighting__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--c88-gold);
}

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

/* Strategy Section */
.page-cockfighting__strategy-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Safety Section */
.page-cockfighting__safety-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-cockfighting__safety-item {
    background-color: var(--c88-deep-green);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--c88-border);
}

.page-cockfighting__safety-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__safety-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--c88-gold);
}

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

/* Promotions Section */
.page-cockfighting__promotions-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__promo-item {
    background-color: var(--c88-card-bg);
    border: 1px solid var(--c88-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promo-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--c88-gold);
}

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

/* FAQ Section */
.page-cockfighting__faq-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__faq-item {
    background-color: var(--c88-card-bg);
    border: 1px solid var(--c88-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--c88-text-main);
}

.page-cockfighting__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--c88-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--c88-deep-green);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
    background-color: var(--c88-border);
}

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c88-text-secondary);
    border-top: 1px solid var(--c88-divider);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        min-height: 400px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__step-by-step,
    .page-cockfighting__safety-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        min-height: 350px;
    }

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

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-cockfighting__subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 25px;
    }

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

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

    .page-cockfighting__dark-section,
    .page-cockfighting__light-bg {
        padding: 50px 0;
    }

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

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

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

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__features-grid,
    .page-cockfighting__step-by-step,
    .page-cockfighting__safety-grid,
    .page-cockfighting__promo-list,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}