/* style/cockfighting.css */

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

.page-cockfighting a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

/* Section styling */
.page-cockfighting__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-cockfighting__dark-bg {
    background-color: #017439; /* Primary brand color for dark sections */
    color: #ffffff;
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add padding for smaller screens */
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-cockfighting__intro-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__advantages-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #017439; /* Darker text for light background sections */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    background-color: #017439; /* Fallback background */
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make image subtle behind text */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #ffffff;
    padding: 20px;
}

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

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-register,
.page-cockfighting__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-cockfighting__btn-primary:hover {
    background-color: #005f2e;
    color: #ffffff;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
}

.page-cockfighting__btn-register {
    background-color: #C30808; /* Custom color for Register */
    color: #FFFF00; /* Custom font color for Register */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-register:hover {
    background-color: #a00606;
    color: #FFFF00;
}

.page-cockfighting__btn-login {
    background-color: #C30808; /* Custom color for Login */
    color: #FFFF00; /* Custom font color for Login */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-login:hover {
    background-color: #a00606;
    color: #FFFF00;
}

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

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

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
}

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-cockfighting__type-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for titles on dark background */
    font-weight: bold;
}

.page-cockfighting__type-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Guide Section */
.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333333; /* Dark text for light background */
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439; /* Primary brand color for titles */
    font-weight: bold;
}

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

.page-cockfighting__step-card a {
    color: #017439; /* Primary brand color for links in light cards */
}

/* Strategy Section */
.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #FFFF00; /* Yellow for titles on dark background */
    font-weight: bold;
}

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

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

.page-cockfighting__advantage-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333333;
}

.page-cockfighting__advantage-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439;
    font-weight: bold;
}

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

.page-cockfighting__advantage-card a {
    color: #017439;
}

/* Promotions CTA Section */
.page-cockfighting__promotions-cta {
    background-color: #017439;
    color: #ffffff;
}

.page-cockfighting__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-cockfighting__text-content {
    flex: 1;
}

.page-cockfighting__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #ffffff; /* Custom background for FAQ */
    color: #333333;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

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

.page-cockfighting__faq-question:hover {
    background-color: #d8eadb;
}

.page-cockfighting__faq-qtext {
    flex: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: "−";
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: #555555;
    line-height: 1.6;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

/* Ensure details summary marker is hidden */
.page-cockfighting__faq-item summary {
    list-style: none;
}
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    background-color: #017439;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__flex-container {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__image-content {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* Main content padding for mobile */
    .page-cockfighting__section {
        padding: 40px 15px;
    }

    /* Hero Section adjustments */
    .page-cockfighting__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* All images responsive */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All image containers responsive */
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__type-card,
    .page-cockfighting__promo-image,
    .page-cockfighting__image-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    /* All video elements (if any) responsive */
    .page-cockfighting video,
    .page-cockfighting__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All video containers responsive */
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    /* All buttons responsive */
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-register,
    .page-cockfighting__btn-login,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Ensure content is not too close to edges */
        padding-right: 15px; /* Ensure content is not too close to edges */
    }

    /* Button containers responsive */
    .page-cockfighting__hero-cta-buttons,
    .page-cockfighting__cta-buttons-center,
    .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;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important; /* Adjust gap for stacked buttons */
        overflow: hidden !important;
    }

    /* General container padding for mobile */
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__flex-container {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__type-description,
    .page-cockfighting__step-description,
    .page-cockfighting__list-description,
    .page-cockfighting__advantage-description,
    .page-cockfighting__faq-answer p {
        font-size: 0.95em;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}

/* Content area images CSS minimum size */
.page-cockfighting__type-image,
.page-cockfighting__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter is used on images */
.page-cockfighting img {
    filter: none; /* Explicitly disable any potential filter effects */
}