/* style/cockfighting.css */

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0;
    overflow: hidden;
    text-align: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px; /* Limit hero image height */
}

.page-cockfighting__hero-content {
    padding: 40px 20px;
    background-color: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    position: relative;
    z-index: 10;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.page-cockfighting__intro-text {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.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: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--glow-color);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 10px var(--glow-color);
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* General Section Styling */
.page-cockfighting__section-title {
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__section-description {
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-cockfighting__dark-section {
    background-color: var(--bg-color);
    padding: 60px 0;
}

.page-cockfighting__light-bg {
    background-color: var(--card-bg);
    padding: 60px 0;
}

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

.page-cockfighting__text-block {
    flex: 1;
}

.page-cockfighting__sub-title {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-cockfighting__text-block p,
.page-cockfighting__tip-list p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-cockfighting__image-right {
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Features Grid */
.page-cockfighting__features-grid,
.page-cockfighting__types-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__safety-grid,
.page-cockfighting__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-cockfighting__card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    display: block;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    background-color: var(--bg-color);
    text-align: center;
}

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

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

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

/* Tips Block */
.page-cockfighting__tips-block {
    background-color: var(--deep-green-color);
    border-radius: 10px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-cockfighting__tip-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-cockfighting__tip-list li::before {
    content: '•';
    color: var(--glow-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* How-To Steps */
.page-cockfighting__steps-grid .page-cockfighting__card {
    text-align: left;
}

/* Promotions */
.page-cockfighting__promo-grid .page-cockfighting__card {
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.page-cockfighting__promo-grid .page-cockfighting__card-image {
    margin-bottom: 0;
    border-radius: 0;
    width: 100%;
    height: 220px; /* Consistent height for promo images */
    object-fit: cover;
}

.page-cockfighting__promo-grid .page-cockfighting__card-title {
    padding: 15px 25px 5px;
    text-align: left;
}

.page-cockfighting__promo-grid .page-cockfighting__card p {
    padding: 0 25px 15px;
    text-align: left;
}

.page-cockfighting__promo-grid .page-cockfighting__btn-small {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
    text-align: center;
}

/* Safety Section */
.page-cockfighting__safety-item {
    background-color: var(--deep-green-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
    background-color: var(--deep-green-color);
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow-color);
}

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

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

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

/* Details element specific styling */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }
    .page-cockfighting__content-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__image-right {
        order: -1; /* Move image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }
    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__intro-text {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .page-cockfighting__btn-large {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__cta-center {
        flex-direction: column;
        gap: 15px;
    }

    /* Images */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
    }
    .page-cockfighting__card-image {
        height: 180px; /* Adjust card image height for mobile */
    }

    /* Videos */
    .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;
    }

    /* General Sections */
    .page-cockfighting__dark-section,
    .page-cockfighting__light-bg,
    .page-cockfighting__video-section,
    .page-cockfighting__conclusion {
        padding: 40px 0;
    }
    .page-cockfighting__section-description {
        margin-bottom: 30px;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__safety-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting__tip-list {
        text-align: left;
    }
}