/* style/cockfighting.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color-page: #08160F; /* Specific for this page's main background */
    --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 {
    background-color: var(--background-color-page);
    color: var(--text-main-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-cockfighting__section {
    padding: 60px 20px;
    text-align: center;
}

.page-cockfighting__dark-bg {
    background-color: var(--background-color-page);
    color: var(--text-main-color);
}

.page-cockfighting__light-bg {
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

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

.page-cockfighting__section-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    color: var(--text-main-color);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__subsection-title {
    font-size: clamp(1.5em, 2.5vw, 2em);
    color: var(--text-main-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

.page-cockfighting__text-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Rely on body padding-top for header offset */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin-top: -30%; /* Pull content up over the image, but not on top of it */
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__hero-description {
    font-size: clamp(1em, 1.8vw, 1.3em);
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--background-color-page);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
    border-radius: 5px;
    margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Video Section */
.page-cockfighting__video-section {
    padding-top: 10px; /* Small top padding */
    background-color: var(--deep-green-color);
}

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

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

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

.page-cockfighting__video-cta {
    margin-top: 30px;
}

/* Card Grid */
.page-cockfighting__card-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;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

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

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

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

.page-cockfighting__card-sub-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__card-description,
.page-cockfighting__card-text {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    flex-grow: 1;
}

.page-cockfighting__card--small {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

/* Lists */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-cockfighting__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: var(--text-main-color);
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-item strong {
    color: var(--gold-color);
}

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

.page-cockfighting__feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--glow-color));
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* Step List */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-cockfighting__step-description {
    font-size: 1.0em;
    color: var(--text-secondary-color);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-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: var(--deep-green-color);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--gold-color);
    margin-left: 15px;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -25%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-cockfighting__hero-content {
        margin-top: -15%; /* Adjust for smaller screens */
        padding: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-cockfighting__hero-description {
        font-size: clamp(0.9em, 3vw, 1.1em);
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-cockfighting__section {
        padding: 40px 15px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
    }

    .page-cockfighting__subsection-title {
        font-size: clamp(1.3em, 5vw, 1.8em);
    }

    .page-cockfighting__card-grid,
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__step-item {
        padding: 20px;
    }

    .page-cockfighting__step-title {
        font-size: 1.4em;
    }

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

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

    /* Image, Video & Container Responsive */
    .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__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__hero-section .page-cockfighting__container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -10%; /* Further adjust for very small screens */
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 9vw, 2.2em);
    }

    .page-cockfighting__hero-description {
        font-size: clamp(0.8em, 4vw, 1em);
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}