/* style/cockfighting.css */

/* Base styles for the page content, considering dark body background */
.page-cockfighting {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background-color: #1a1a2e; /* Ensure a dark background for hero if shared.css doesn't cover it */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

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

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

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.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;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-cockfighting__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
    border-radius: 10px;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Overlay for text readability */
}

/* General Section Styles */
.page-cockfighting__section {
    padding: 60px 0;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for section titles */
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
    text-align: justify;
}

.page-cockfighting__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-cockfighting__intro-section {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    background-color: #0d0d1a; /* Even darker background */
    color: #ffffff;
}

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

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-10px);
}

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

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

/* Video Section */
.page-cockfighting__video-section {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

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

.page-cockfighting__video-link {
  display: block; /* Make the entire video area clickable */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

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

.page-cockfighting__video-caption {
    text-align: center;
    font-style: italic;
    color: #cccccc;
}

/* Guide Section */
.page-cockfighting__guide-section {
    background-color: #0d0d1a; /* Even darker background */
    color: #ffffff;
}

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

.page-cockfighting__guide-step-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

/* Strategies Section */
.page-cockfighting__strategies-section {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr; /* Stack on small screens */
    gap: 25px;
}

.page-cockfighting__strategy-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

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

.page-cockfighting__strategy-description {
    color: #f0f0f0;
}

/* Promo Section */
.page-cockfighting__promo-section {
    background-color: #0d0d1a; /* Even darker background */
    color: #ffffff;
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: #26A9E0;
    padding: 20px 20px 10px;
    margin: 0;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 20px 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-cockfighting__card .page-cockfighting__btn-primary {
    margin: 0 20px 20px;
    text-align: center;
    align-self: flex-start; /* Align button to start */
    width: calc(100% - 40px);
}

.page-cockfighting__promo-note {
    text-align: center;
    font-style: italic;
    color: #cccccc;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for questions */
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: 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); /* Change + to X or - */
}

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

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

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

.page-cockfighting__faq-answer ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.page-cockfighting__faq-answer li {
    margin-bottom: 5px;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    background-color: #0d0d1a; /* Even darker background */
    color: #ffffff;
    text-align: center;
}

/* 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;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }

    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 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;
        padding-right: 15px;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
    }

    .page-cockfighting__feature-list,
    .page-cockfighting__guide-steps,
    .page-cockfighting__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__video-wrapper {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
      max-width: 100% !important;
      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 and padding-right are handled by specific elements */
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Mobile video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

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

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__guide-step-title,
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
}

/* Color contrast fix classes (if needed) */
.page-cockfighting__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-cockfighting__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}