/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a1a; /* Inherited from body, but good to be explicit for context */
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #FFD700; /* Gold for main titles */
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 0; /* Important: shared.css is assumed to handle body padding-top */
    padding-bottom: 80px; /* Add some padding below hero content */
    background: linear-gradient(135deg, #0A2239 0%, #1a1a1a 100%); /* Gradient background behind image */
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.page-cockfighting__hero-section img {
    width: 100%;
    height: 600px; /* Fixed height for hero image on desktop */
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-cockfighting__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.page-cockfighting__hero-title {
    font-size: 52px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping by default */
    word-wrap: normal;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #0A2239; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-cockfighting__btn-secondary {
    background-color: #0A2239; /* Dark blue background */
    color: #FFD700; /* Gold text */
    border: 2px solid #0A2239;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
    border-color: #FFD700;
}

.page-cockfighting__btn-text {
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    color: #FFD700;
    text-decoration: underline;
    text-align: left;
    white-space: normal;
}

.page-cockfighting__btn-text:hover {
    color: #ffffff;
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 0;
}

.page-cockfighting__dark-bg {
    background-color: #0A2239;
    color: #ffffff;
}

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

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

.page-cockfighting__text-block p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
}

.page-cockfighting__image-block {
    flex: 1;
    min-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* Features Section */
.page-cockfighting__features-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-cockfighting__card p,
.page-cockfighting__card ol li {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-cockfighting__card ol {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-cockfighting__card ol li {
    margin-bottom: 10px;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 80px 0;
}

.page-cockfighting__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-cockfighting__advantage-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__advantage-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Subtle glow for icons */
}

.page-cockfighting__advantage-item h3 {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__advantage-item p {
    font-size: 16px;
    color: #f0f0f0;
}

.page-cockfighting__cta-banner {
    background-color: #FFD700;
    color: #0A2239;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0A2239;
}

.page-cockfighting__cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333333;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-cockfighting__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting__tip-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__tip-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__tip-card p {
    font-size: 16px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
}

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* Use !important and large value */
    padding: 20px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    border-radius: 0 0 5px 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1); /* Slightly lighter background for question */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff; /* White text for question */
    pointer-events: none;
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: #ffffff; /* White when active */
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

/* Final CTA Section */
.page-cockfighting__cta-final {
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__cta-final-content {
    max-width: 900px;
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
    color: #FFD700;
}

.page-cockfighting__cta-final p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 42px;
    }
    .page-cockfighting__hero-description {
        font-size: 18px;
    }
    .page-cockfighting__section-title {
        font-size: 30px;
    }
    .page-cockfighting__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-cockfighting__image-block {
        min-width: unset;
        width: 100%;
    }
    .page-cockfighting__grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__advantages-grid,
    .page-cockfighting__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-cockfighting__cta-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__hero-section {
        padding-bottom: 50px;
    }
    .page-cockfighting__hero-section img {
        height: 400px; /* Adjust hero image height for mobile */
    }
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    /* All buttons and button containers must be responsive */
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-text,
    .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 !important;
        padding-right: 15px !important;
        font-size: 16px !important;
    }
    .page-cockfighting__hero-actions {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    /* All images and image containers must be responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__image-block,
    .page-cockfighting__advantage-item img {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__advantage-item img {
         /* Keep icons smaller */
        
        
        margin-left: auto;
        margin-right: auto;
    }

    .page-cockfighting__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final {
        padding: 50px 0;
    }
    .page-cockfighting__text-block p {
        font-size: 15px;
    }
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 20px;
    }
    .page-cockfighting__card p,
    .page-cockfighting__card ol li {
        font-size: 14px;
    }
    .page-cockfighting__advantage-item h3,
    .page-cockfighting__tip-title {
        font-size: 18px;
    }
    .page-cockfighting__advantage-item p,
    .page-cockfighting__tip-card p {
        font-size: 14px;
    }
    .page-cockfighting__cta-banner {
        padding: 30px;
    }
    .page-cockfighting__cta-title {
        font-size: 24px;
    }
    .page-cockfighting__cta-description {
        font-size: 16px;
    }

    /* FAQ */
    .page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 16px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }
    .page-cockfighting__cta-final p {
        font-size: 16px;
    }
}