/* style/cockfighting.css */

/* Base Styles for page-cockfighting scope */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background: #ffffff; /* Explicitly set for clarity if shared doesn't */
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0; /* Brand color for titles */
    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-color: #26A9E0;
    border-radius: 2px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, #26A9E0, #36C0F0);
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default for desktop */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 40px 20px 60px;
    text-align: center;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text,
.page-cockfighting__faq-app-download,
.page-cockfighting__faq-contact {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
}

.page-cockfighting__btn-text {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
}

.page-cockfighting__btn-text:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 60px 0;
    background: #ffffff;
    color: #333333;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__text-block strong {
    color: #26A9E0;
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 60px 0;
    background: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__types-section .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__types-section .page-cockfighting__section-title::after {
    background-color: #ffffff;
}

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

.page-cockfighting__card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text for light card background */
}

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

.page-cockfighting__card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #26A9E0;
}

.page-cockfighting__card-description {
    font-size: 15px;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
    background: #f9f9f9;
    color: #333333;
}

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

.page-cockfighting__step-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-cockfighting__step-title {
    font-size: 24px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 60px 0;
    background: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__advantages-section .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__advantages-section .page-cockfighting__section-title::after {
    background-color: #ffffff;
}

.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: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-cockfighting__feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
    background: #ffffff;
    color: #333333;
}

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

.page-cockfighting__promo-card {
    background: #fdfdfd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promo-title {
    font-size: 22px;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #26A9E0;
}

.page-cockfighting__promo-description {
    font-size: 15px;
    padding: 0 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
    margin: 20px;
    align-self: flex-start;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 60px 0;
    background: #f9f9f9;
    color: #333333;
}

.page-cockfighting__article-body {
    max-width: 900px; /* Constrain width for readability */
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__article-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__article-figure {
    margin: 30px 0;
    text-align: center;
}

.page-cockfighting__article-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it's a block element */
    margin: 0 auto; /* Center the image */
}

.page-cockfighting__article-figure figcaption {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 10px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background: #ffffff;
    color: #333333;
}

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

details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px; /* Slightly larger border-radius for modern look */
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px; /* Slightly more padding */
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
}
.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 17px; /* Slightly larger font size */
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333; /* Ensure dark text */
}
.page-cockfighting__faq-toggle {
    font-size: 26px; /* Larger toggle icon */
    font-weight: bold;
    color: #26A9E0; /* Brand color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px; /* Larger toggle area */
    text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 25px 25px; /* Consistent padding */
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.page-cockfighting__faq-app-download,
.page-cockfighting__faq-contact {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
}


/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    background: #26A9E0;
    color: #ffffff;
    text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title::after {
    background-color: #ffffff;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__conclusion-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-cockfighting__hero-content {
        padding: 30px 15px 50px;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__promo-title {
        font-size: 20px;
    }

    .page-cockfighting__card-description,
    .page-cockfighting__step-description,
    .page-cockfighting__feature-description,
    .page-cockfighting__promo-description,
    .page-cockfighting__text-block p,
    .page-cockfighting__hero-description,
    .page-cockfighting__faq-answer p {
        font-size: 14px;
    }
    
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 16px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 28px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 20px 20px;
    }
}


/* Mobile specific styles */
@media (max-width: 768px) {
    /* General content area containers for mobile */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__text-block,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* General image responsive styles */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* 1. HERO Main Image Area */
    .page-cockfighting__hero-section {
        padding-top: 10px; /* Small top padding, body handles header offset */
    }
    .page-cockfighting__hero-image img {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        height: auto !important; /* Ensure height adjusts */
    }
    .page-cockfighting__hero-content {
        padding: 20px 15px 40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
}
}