/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg); /* Inherit from shared.css */
}

/* Sections */
.page-cockfighting__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #E0B400; /* Auxiliary color for titles */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: #E0B400;
    margin-bottom: 15px;
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Light text for readability on dark background */
}

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

/* Containers */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    height: 70vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-cockfighting__hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    background-size: cover;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E0B400; /* Gold for main title */
    line-height: 1.2;
}

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

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* 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;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #E0B400; /* Gold background */
    color: #0A1931; /* Dark text for contrast */
    border: 2px solid #E0B400;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #E0B400; /* Gold text */
    border: 2px solid #E0B400;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #E0B400;
    color: #0A1931;
}

.page-cockfighting__btn-center {
    margin: 30px auto 0 auto;
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 1em;
}

/* Image and Text Grid */
.page-cockfighting__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cockfighting__image-text-grid img {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

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

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

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

/* Cards */
.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in a grid have equal height */
    color: #f0f0f0; /* Light text for readability */
}

.page-cockfighting__card--dark-text {
    background-color: #ffffff; /* White background for dark text */
    color: #333333; /* Dark text for contrast */
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: #E0B400; /* Gold for card titles */
    margin-bottom: 10px;
}

.page-cockfighting__card--dark-text .page-cockfighting__card-title {
    color: #0A1931; /* Dark blue for card titles on light background */
}

.page-cockfighting__card-link {
    text-decoration: none;
    color: inherit;
}

.page-cockfighting__card-link:hover {
    text-decoration: underline;
    color: #ffc107;
}

.page-cockfighting__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push buttons to bottom */
}

/* Lists */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-cockfighting__list-item strong {
    color: #E0B400;
}

.page-cockfighting__list-item::before {
    content: "•";
    color: #E0B400;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.page-cockfighting__list-ordered {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
    color: #f0f0f0;
}

.page-cockfighting__list-ordered .page-cockfighting__list-item {
    padding-left: 0;
    list-style-position: inside;
}

.page-cockfighting__list-ordered .page-cockfighting__list-item::before {
    content: none;
}

/* Text links */
.page-cockfighting__text-link {
    color: #E0B400;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__text-link:hover {
    text-decoration: underline;
    color: #ffc107;
}

/* Dark background sections */
.page-cockfighting__dark-bg {
    background-color: #0A1931; /* Main brand color */
    color: #ffffff;
}

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

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

.page-cockfighting__feature-icon {
    width: 100%; /* Make icon images responsive */
    height: auto;
    max-width: 150px; /* Limit max size for icons */
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-cockfighting__feature-text {
    font-size: 1em;
}

/* CTA Section */
.page-cockfighting__cta-section {
    background: linear-gradient(135deg, #0A1931, #1a2a44);
    color: #ffffff;
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

/* FAQ Section */
.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    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;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #E0B400; /* Gold for FAQ questions */
}

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #E0B400;
    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; /* Adjust padding for consistency */
    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; /* Padding when active */
}

.page-cockfighting__faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1em;
}

/* Conclusion CTA */
.page-cockfighting__conclusion-cta {
    padding-bottom: 80px;
}


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

@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__image-text-grid {
        flex-direction: column;
        gap: 30px;
    }
}