/* style/cockfighting.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg-color: #11271B;
    --page-bg-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for the page */
    background-color: var(--page-bg-color); /* Set page background color */
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    color: var(--text-main-color);
}

.page-cockfighting__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary {
    background: none;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-green-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__overview-section {
    background-color: var(--page-bg-color);
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-title--light {
    color: var(--text-main-color);
}

.page-cockfighting__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-cockfighting__text-block {
    flex: 1;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-secondary-color);
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
}

.page-cockfighting__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

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

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

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

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

.page-cockfighting__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-cockfighting__advantages-section {
    background-color: var(--page-bg-color);
}

.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary-color);
}

.page-cockfighting__feature-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.page-cockfighting__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-cockfighting__link {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-cockfighting__link:hover {
    color: var(--gold-color);
}

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

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

.page-cockfighting__text-block--light {
    color: var(--text-main-color);
}

.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__step-list li {
    margin-bottom: 30px;
}

.page-cockfighting__step-list li h3 {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__step-list li p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-cockfighting__video-section {
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for video section */
    background-color: var(--page-bg-color);
    text-align: center;
}

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

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for desktop video */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

.page-cockfighting__video-wrapper .page-cockfighting__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

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

.page-cockfighting__tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary-color);
}

.page-cockfighting__tip-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.page-cockfighting__tip-list li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 0;
}

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

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

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

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    color: var(--gold-color);
    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(255, 255, 255, 0.05);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

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

.page-cockfighting__center-content {
    text-align: center;
}

.page-cockfighting__cta-bottom-section {
    padding: 60px 20px;
    background-color: var(--page-bg-color);
    text-align: center;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__description {
    font-size: 1.15rem;
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting__content-wrapper--reverse {
        flex-direction: column;
    }

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

    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

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

    .page-cockfighting__cta-buttons {
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .page-cockfighting__section {
        padding: 60px 15px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
        margin-bottom: 40px;
    }

    .page-cockfighting__grid-2-col,
    .page-cockfighting__grid-3-col {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__text-block, .page-cockfighting__image-block {
        flex: none;
        width: 100%;
    }

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

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

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

@media (max-width: 768px) {
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-cockfighting video,
    .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;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-cockfighting__cta-button,
    .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 {
        flex-direction: column !important;
        gap: 10px;
    }

    .page-cockfighting__hero-section {
        padding: 30px 15px;
    }

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

    .page-cockfighting__section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8rem;
    }

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

    .page-cockfighting__section-title {
        font-size: 1.6rem;
    }

    .page-cockfighting__card-title {
        font-size: 1.4rem;
    }

    .page-cockfighting__faq-item summary {
        font-size: 0.95rem;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
    }
}