/* style/cockfighting.css */

/* Custom Colors */
:root {
    --page-cockfighting-primary-color: #11A84E;
    --page-cockfighting-secondary-color: #22C768;
    --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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 {
    font-family: 'Arial', sans-serif;
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--page-cockfighting-text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--page-cockfighting-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-block p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-block h3 {
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--page-cockfighting-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-primary-color);
    border-color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-primary-color);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__btn-inline {
    margin-top: 20px;
    margin-right: 15px;
}

.page-cockfighting__btn-large {
    padding: 15px 35px;
    font-size: 20px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--page-cockfighting-background);
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up over image slightly for visual flow */
    background-color: rgba(8, 22, 15, 0.8);
    border-radius: 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-cockfighting__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

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

/* About Section */
.page-cockfighting__about-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-right {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

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

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

.page-cockfighting__card {
    background-color: var(--page-cockfighting-background);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-cockfighting-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;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--page-cockfighting-primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--page-cockfighting-text-secondary);
}

/* 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(300px, 1fr));
    gap: 30px;
}

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

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

.page-cockfighting__step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 25px;
}

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

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

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

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

.page-cockfighting__promo-card {
    background-color: var(--page-cockfighting-background);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border);
    text-align: center;
}

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

.page-cockfighting__promo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--page-cockfighting-primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__promo-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 25px;
}

.page-cockfighting__cta-fullwidth {
    text-align: center;
}

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

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

.page-cockfighting__feature-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(17, 168, 78, 0.1);
    border-radius: 10px;
    border: 1px solid var(--page-cockfighting-border);
}

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

.page-cockfighting__feature-item h3 {
    font-size: 22px;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 10px;
}

.page-cockfighting__feature-item p {
    font-size: 16px;
    color: var(--page-cockfighting-text-secondary);
    line-height: 1.6;
}

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

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

.page-cockfighting__faq-item summary:hover {
    background-color: rgba(34, 199, 104, 0.1);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-primary-color);
}

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

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

.page-cockfighting__faq-answer a {
    color: var(--page-cockfighting-primary-color);
    text-decoration: none;
}

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

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

/* Responsive Design */
@media (min-width: 769px) {
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-cockfighting__image-left {
        order: 1;
    }
    .page-cockfighting__text-block {
        order: 2;
    }
    .page-cockfighting__image-right {
        order: 2;
    }
}

@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -80px;
    }
    .page-cockfighting__hero-title {
        font-size: clamp(32px, 4.5vw, 50px);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(16px, 2.2vw, 20px);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
    }
    .page-cockfighting__hero-content {
        padding: 30px 15px;
        margin-top: -60px;
    }
    .page-cockfighting__hero-title {
        font-size: clamp(28px, 6vw, 40px);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(15px, 3vw, 18px);
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile image, video, button responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .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 !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    .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 !important;
        padding-right: 15px !important;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

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

    .page-cockfighting__section-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-cockfighting__section-subtitle {
        font-size: clamp(15px, 3vw, 18px);
    }

    .page-cockfighting__about-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__safety-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 40px 0;
    }

    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-right,
    .page-cockfighting__image-left {
        order: unset;
    }

    .page-cockfighting__grid-3-col,
    .page-cockfighting__guide-steps,
    .page-cockfighting__grid-2-col,
    .page-cockfighting__safety-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__step-image,
    .page-cockfighting__promo-image {
        height: auto;
        max-height: 250px;
    }

    .page-cockfighting__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        font-size: 15px;
        padding: 10px 20px 15px;
    }
}