/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body 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;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

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

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Video Section */
.page-cockfighting__video-section {
    position: relative;
    padding: 80px 20px;
    background-color: #0a0a0a;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

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

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

.page-cockfighting__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
}

/* General Section Styling */
.page-cockfighting__content-section {
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-cockfighting__text-block a {
    color: #017439;
    text-decoration: underline;
}

/* Image Text Grid */
.page-cockfighting__image-text-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__image-text-item {
    text-align: center;
}

.page-cockfighting__image-text-img {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-cockfighting__image-text-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-cockfighting__image-text-description {
    font-size: 1em;
    color: #555555;
}

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

.page-cockfighting__card {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__card-content {
    padding: 25px;
}

.page-cockfighting__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439;
}

.page-cockfighting__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__card-link {
    display: inline-block;
    background-color: #017439;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-cockfighting__card-link:hover {
    background-color: #005f2e;
}

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

.page-cockfighting__step-item {
    background: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439;
}

.page-cockfighting__step-text {
    font-size: 1em;
    color: #555555;
}

/* Advantages List */
.page-cockfighting__advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__advantages-item {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__advantages-icon {
    width: 64px; /* Ensure minimum size */
    height: 64px; /* Ensure minimum size */
    margin-bottom: 15px;
    display: inline-block;
}

.page-cockfighting__advantages-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-cockfighting__advantages-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Tips Grid */
.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: #ffffff;
    color: #333333;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tip-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439;
}

.page-cockfighting__tip-text {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 20px;
    background-color: #0a0a0a;
    color: #ffffff;
    box-sizing: border-box;
}

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.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;
    background-color: rgba(255, 255, 255, 0.02);
    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;
}

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

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

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

.page-cockfighting__cta-title {
    font-size: 2.5em;
    color: #017439;
    margin-bottom: 20px;
}

.page-cockfighting__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555555;
}

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

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

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

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border-color: #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: #017439;
    color: #ffffff;
    border-color: #017439;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
    transform: translateY(-2px);
}

/* Color Contrast Specifics */
.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__section-description,
.page-cockfighting__dark-bg .page-cockfighting__text-block,
.page-cockfighting__dark-bg .page-cockfighting__advantages-title,
.page-cockfighting__dark-bg .page-cockfighting__advantages-text,
.page-cockfighting__dark-bg .page-cockfighting__faq-question,
.page-cockfighting__dark-bg .page-cockfighting__faq-answer {
    color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__section-description,
.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__image-text-title,
.page-cockfighting__light-bg .page-cockfighting__image-text-description,
.page-cockfighting__light-bg .page-cockfighting__step-title,
.page-cockfighting__light-bg .page-cockfighting__step-text,
.page-cockfighting__light-bg .page-cockfighting__tip-title,
.page-cockfighting__light-bg .page-cockfighting__tip-text {
    color: #333333;
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
}

/* Responsive Design */
@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 {
        height: 70vh;
    }
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100%;
    }

    /* General mobile padding */
    .page-cockfighting__container {
        padding: 0 15px;
    }

    /* Image & Video Responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Specific video section padding-top for mobile */
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-description {
        font-size: 0.95em;
    }
    .page-cockfighting__image-text-grid,
    .page-cockfighting__card-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__advantages-list,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-cockfighting__cta-title {
        font-size: 2em;
    }
    .page-cockfighting__cta-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@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.6em;
    }
    .page-cockfighting__cta-title {
        font-size: 1.8em;
    }
}