/* style/cockfighting.css */

/* Base Styles for the page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: var(--background-color, #ffffff);
}

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: left;
}

.page-cockfighting__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-cockfighting__text-center {
    text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    position: relative;
    overflow: hidden;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-cockfighting__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.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-large {
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-cockfighting__btn-center {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Video Section */
.page-cockfighting__video-section {
    padding-top: 60px; /* Specific padding, assuming body handles --header-offset */
    padding-bottom: 60px;
}

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

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

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

/* General Content */
.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherits from parent, handles dark/light bg */
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit;
}

.page-cockfighting__image-with-text {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-cockfighting__image-with-text .page-cockfighting__text-block {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__image-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.page-cockfighting__card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-cockfighting__dark-bg .page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: inherit;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: inherit;
}

/* List Styles */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #EA7C07;
}

.page-cockfighting__light-bg .page-cockfighting__list-item {
    background-color: #f9f9f9;
    color: #333333;
    border-left: 5px solid #26A9E0;
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: inherit;
}

.page-cockfighting__list-description {
    font-size: 1em;
    color: inherit;
}

/* Advantages Section */
.page-cockfighting__grid--advantages .page-cockfighting__card--advantage {
    text-align: center;
}

.page-cockfighting__card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
}

/* Registration Steps */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__step-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.page-cockfighting__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

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

.page-cockfighting__step-description {
    font-size: 1em;
    color: #333333;
}

/* Promotions Section */
.page-cockfighting__grid--promotions .page-cockfighting__card--promotion {
    padding: 0;
    overflow: hidden;
}

.page-cockfighting__card--promotion .page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px 10px 0 0;
}

.page-cockfighting__card--promotion .page-cockfighting__card-title,
.page-cockfighting__card--promotion .page-cockfighting__card-text {
    padding: 0 20px;
    color: inherit;
}

.page-cockfighting__card--promotion .page-cockfighting__card-link {
    display: block;
    padding: 15px 20px;
    margin-top: 20px;
    background-color: #EA7C07;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-cockfighting__card--promotion .page-cockfighting__card-link:hover {
    background-color: #ff982b;
}

/* Security Features */
.page-cockfighting__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__feature-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__dark-bg .page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-cockfighting__feature-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-cockfighting__feature-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: inherit;
}

.page-cockfighting__feature-description {
    font-size: 0.95em;
    color: inherit;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__faq-item {
    background-color: #f9f9f9;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting__dark-bg .page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #26A9E0;
    list-style: none; /* For details/summary */
}

.page-cockfighting__dark-bg .page-cockfighting__faq-question {
    color: #ffffff;
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

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

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #555555;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-answer {
    color: #e0e0e0;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

.page-cockfighting__faq-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-cockfighting__faq-link:hover {
    color: #EA7C07;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 3em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-section {
        padding: 80px 20px;
        padding-top: var(--header-offset, 120px);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__main-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
    }
    .page-cockfighting__image-with-text {
        flex-direction: column;
        gap: 20px;
    }
    .page-cockfighting__content-image {
        width: 100%;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card-icon {
        width: 80px;
        height: 80px;
    }
    .page-cockfighting__feature-list {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__feature-icon {
        width: 100px;
        height: 100px;
    }
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-cockfighting__video-wrapper {
        margin: 20px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__step-item {
        padding-left: 50px;
    }
    .page-cockfighting__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
}