/* style/cockfighting.css */
/* Custom colors from requirements */
:root {
    --vp88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --vp88-card-bg: #11271B;
    --vp88-background: #08160F;
    --vp88-text-main: #F2FFF6;
    --vp88-text-secondary: #A7D9B8;
    --vp88-border: #2E7A4E;
    --vp88-glow: #57E38D;
    --vp88-gold: #F2C14E;
    --vp88-divider: #1E3A2A;
    --vp88-deep-green: #0A4B2C;
}

.page-cockfighting {
    background-color: var(--vp88-background); /* Dark background */
    color: var(--vp88-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    padding: 60px 20px; /* Adjust padding as needed */
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Not absolute to avoid overlap */
    z-index: 1;
}

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

.page-cockfighting__description {
    font-size: 1.2rem;
    color: var(--vp88-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--vp88-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-cockfighting__dark-section {
    background-color: var(--vp88-background);
    padding: 80px 0;
    border-bottom: 1px solid var(--vp88-divider);
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    color: var(--vp88-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-cockfighting__cta-buttons--center {
    margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--vp88-button-gradient);
    color: var(--vp88-text-main); /* Light text on dark/gradient button */
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

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

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--vp88-gold);
    color: var(--vp88-background);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__card {
    background-color: var(--vp88-card-bg);
    border: 1px solid var(--vp88-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

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

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

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

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

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

.page-cockfighting__step-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: var(--vp88-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__step-text {
    font-size: 1rem;
    color: var(--vp88-text-secondary);
}

/* Benefits Section */
.page-cockfighting__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__benefit-item {
    background-color: var(--vp88-card-bg);
    border: 1px solid var(--vp88-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__benefit-title {
    font-size: 1.3rem;
    color: var(--vp88-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__benefit-text {
    font-size: 1rem;
    color: var(--vp88-text-secondary);
}

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

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

.page-cockfighting__strategy-image {
    width: 100%;
    height: 180px; /* Fixed height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__strategy-title {
    font-size: 1.3rem;
    color: var(--vp88-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__strategy-text {
    font-size: 1rem;
    color: var(--vp88-text-secondary);
}

/* 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(--vp88-card-bg);
    border: 1px solid var(--vp88-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: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--vp88-gold);
    font-weight: 600;
    background-color: var(--vp88-deep-green);
    border-bottom: 1px solid var(--vp88-divider);
    transition: background-color 0.3s ease;
}

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

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

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--vp88-text-secondary);
    line-height: 1.6;
    background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter background for answer */
}

/* Remove default details arrow */
.page-cockfighting__faq-item summary {
    list-style: none;
}
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive adjustments */
@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);
    }
    .page-cockfighting__hero-section {
        padding: 40px 20px;
        padding-top: 10px;
    }
    .page-cockfighting__dark-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    /* Global image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images/videos/buttons */
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section .page-cockfighting__container,
    .page-cockfighting__types-section .page-cockfighting__container,
    .page-cockfighting__guide-section .page-cockfighting__container,
    .page-cockfighting__benefits-section .page-cockfighting__container,
    .page-cockfighting__strategy-section .page-cockfighting__container,
    .page-cockfighting__faq-section .page-cockfighting__container,
    .page-cockfighting__conclusion-section .page-cockfighting__container,
    .page-cockfighting__card,
    .page-cockfighting__step-card,
    .page-cockfighting__benefit-item,
    .page-cockfighting__strategy-card,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content does not overflow */
    }

    /* Specific section adjustments */
    .page-cockfighting__hero-section {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .page-cockfighting__text-block,
    .page-cockfighting__card-text,
    .page-cockfighting__step-text,
    .page-cockfighting__benefit-text,
    .page-cockfighting__strategy-text,
    .page-cockfighting__faq-answer p {
        font-size: 0.95rem;
    }

    /* Buttons responsive */
    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Grid layouts */
    .page-cockfighting__grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__strategy-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    
    .page-cockfighting__card-image,
    .page-cockfighting__strategy-image {
        height: 180px; /* Maintain aspect ratio */
    }

    /* FAQ responsive */
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.2rem;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}