/* style/cockfighting.css */
/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Section styling */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
    background-color: #f8f8f8;
    overflow: hidden;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    color: #333333;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    line-height: 1.2;
    font-weight: bold;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #555555;
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for text readability */
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

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

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

.page-cockfighting__btn-link {
    background: none;
    color: #26A9E0;
    border: 2px solid transparent;
    padding: 10px 0;
    font-size: 1em;
}

.page-cockfighting__btn-link:hover {
    text-decoration: underline;
    color: #1a7fb3;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 80px 20px;
    background-color: #26A9E0; /* Dark background for contrast */
    color: #FFFFFF;
}

.page-cockfighting__video-section .page-cockfighting__section-title,
.page-cockfighting__video-section .page-cockfighting__section-description {
    color: #FFFFFF;
}

.page-cockfighting__video-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

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

.page-cockfighting__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 80px 20px;
    background-color: #FFFFFF; /* Light background */
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: justify;
    color: #333333;
}

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

.page-cockfighting__feature-item {
    text-align: center;
    padding: 25px;
    background-color: #f0faff; /* Light blue background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__feature-icon {
    width: 100%; /* Ensure images take full width of container */
    max-width: 400px; /* Example max-width for feature images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    color: #555555;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 80px 20px;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
}

.page-cockfighting__why-choose-section .page-cockfighting__section-title,
.page-cockfighting__why-choose-section .page-cockfighting__section-description {
    color: #FFFFFF;
}

.page-cockfighting__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__benefit-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__benefit-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-cockfighting__benefit-text {
    color: #f0f0f0;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
    padding: 80px 20px;
    background-color: #FFFFFF; /* Light background */
}

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

.page-cockfighting__betting-card {
    background-color: #f0faff; /* Light blue background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.page-cockfighting__betting-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-cockfighting__betting-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-cockfighting__betting-description {
    color: #555555;
    padding: 0 15px;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 20px;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
}

.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-description {
    color: #FFFFFF;
}

.page-cockfighting__guide-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__step-number {
    font-size: 3em;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1;
}

.page-cockfighting__step-title {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 80px 20px;
    background-color: #FFFFFF; /* Light background */
}

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

.page-cockfighting__tip-card {
    background-color: #f0faff; /* Light blue background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.page-cockfighting__tip-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-cockfighting__tip-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-cockfighting__tip-description {
    color: #555555;
    padding: 0 15px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 20px;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: #FFFFFF;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    color: inherit;
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 80px 20px;
    background-color: #FFFFFF; /* Light background */
    text-align: center;
}

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

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

/* Copyright */
.page-cockfighting__copyright {
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #777777;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-cockfighting__hero-content {
        max-width: 90%;
        padding: 15px;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 50px 15px;
    }

    /* Images responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* All containers with images/videos/buttons */
    .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__guide-steps {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-cockfighting__video-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-cockfighting__feature-item,
    .page-cockfighting__benefit-item,
    .page-cockfighting__betting-card,
    .page-cockfighting__step-item,
    .page-cockfighting__tip-card {
        min-width: unset;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__hero-content {
        padding: 10px;
    }
}