/* style/cockfighting.css */
/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.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; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: #08160F;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px; /* Space between image and text */
}

.page-cockfighting__main-title {
    color: #F2C14E; /* Gold */
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-cockfighting__cta-buttons--center {
    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;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
}

.page-cockfighting__btn-secondary:hover {
    background-color: #F2C14E; /* Gold */
    color: #08160F; /* Background */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-cockfighting__section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__section:last-of-type {
    border-bottom: none;
}

.page-cockfighting__section-title {
    color: #F2C14E; /* Gold */
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F2C14E, transparent); /* Gold */
    border-radius: 2px;
}

.page-cockfighting__section-title--white {
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__paragraph {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__paragraph--white {
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__highlight {
    color: #F2C14E; /* Gold */
    font-weight: 600;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

/* List Styles */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
    font-size: 1.05rem;
}

.page-cockfighting__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #2AD16F; /* Bright green */
    font-size: 1.2rem;
    line-height: 1;
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    counter-reset: step-counter;
}

.page-cockfighting__steps-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    color: #F2FFF6; /* Text Main */
    font-size: 1.05rem;
}

.page-cockfighting__steps-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: -5px;
    width: 35px;
    height: 35px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promos-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-cockfighting__promos-item {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #F2FFF6; /* Text Main */
    font-size: 1.05rem;
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__promos-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Dark Background Section */
.page-cockfighting__dark-bg {
    background-color: #11A84E; /* Main color */
    padding: 60px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    background-color: #08160F;
    text-align: center;
    border-bottom: 1px solid #1E3A2A;
    padding-top: 10px; /* Small top padding */
}

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

.page-cockfighting__video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-cockfighting__video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: pointer; /* Indicate clickable */
}

.page-cockfighting__video-description {
    margin-top: 20px;
    font-style: italic;
    color: #A7D9B8;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 30px;
}

.page-cockfighting__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-cockfighting__faq-question:hover {
    background-color: #1a362b;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #2AD16F; /* Bright green */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #2E7A4E; /* Border */
    margin-top: -1px; /* Overlap border */
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-cockfighting__paragraph,
    .page-cockfighting__list-item,
    .page-cockfighting__steps-item,
    .page-cockfighting__promos-item,
    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        font-size: 0.95rem;
    }

    /* Image responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body already handles header offset */
    }

    /* Video responsive */
    .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-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    }
}

/* Ensure content area images are never smaller than 200px */
.page-cockfighting img:not(.page-cockfighting__hero-image) {
    min-width: 200px;
    min-height: 200px;
}