/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  color: #F2FFF6; /* Text Main for dark background */
  background-color: #08160F; /* Body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Section styling */
.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__highlight {
  color: #22C768; /* Auxiliary color */
  font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding as per requirement */
  background-color: #08160F; /* Ensure dark background for hero */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and content */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size */
  min-width: 200px; /* Min size */
}

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

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

.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure buttons don't exceed container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green from gradient */
  border: 2px solid #2AD16F; /* Green from gradient */
}

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

/* Section Backgrounds */
.page-cockfighting__dark-bg {
    background-color: #08160F; /* Main body background */
    padding: 60px 0;
}

.page-cockfighting__card-bg {
    background-color: #11271B; /* Card BG */
    padding: 60px 0;
}

/* History and Culture Section */
.page-cockfighting__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-cockfighting__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-cockfighting__text-column,
.page-cockfighting__image-column {
    flex: 1;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
    object-fit: cover;
}

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

.page-cockfighting__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1; /* Allow description to take available space */
}

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

.page-cockfighting__step-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__step-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2AD16F; /* Green from gradient */
    margin-bottom: 15px;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    color: #A7D9B8; /* Text Secondary */
}

/* Tips and Strategy Section - List */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list-item {
    background-color: #11271B; /* Card BG */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #A7D9B8; /* Text Secondary */
    border-left: 5px solid #2AD16F; /* Green accent */
}

.page-cockfighting__list-item strong {
    color: #F2FFF6; /* Text Main */
}

/* Safety and Fairness Section - Feature Grid */
.page-cockfighting__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__feature-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 180px; /* Consistent height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
}

.page-cockfighting__promo-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__promo-description {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-cockfighting__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Ensure answer content doesn't overflow */
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    border-bottom: 1px solid #1E3A2A; /* Divider */
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #1E3A2A; /* Divider color for hover */
}

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

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: #2AD16F; /* Green from gradient */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: "−"; /* Change to minus when open (handled by JS) */
}

.page-cockfighting__faq-answer {
    padding: 20px 30px 30px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid transparent; /* Prevents double border */
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-cockfighting__hero-section {
        padding: 40px 0;
        padding-top: 10px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .page-cockfighting__section-title {
        font-size: 2rem;
    }

    .page-cockfighting__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting__content-wrapper--reverse {
        flex-direction: column; /* Keep column for reverse on mobile */
    }

    .page-cockfighting__card-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__feature-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-cockfighting__container {
        padding: 0 15px; /* Adjust padding for smaller screens */
    }

    .page-cockfighting__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* Small top padding */
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Ensure buttons align with container padding */
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

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

    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }

    .page-cockfighting__image,
    .page-cockfighting__hero-image,
    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }

    .page-cockfighting__card-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__feature-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-cockfighting__card,
    .page-cockfighting__step-card,
    .page-cockfighting__feature-item,
    .page-cockfighting__promo-card {
        padding: 20px;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: auto; /* Allow auto height for responsive images */
        max-height: 250px; /* Max height to prevent overly tall images */
    }

    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__promo-title {
        font-size: 1.3rem;
    }

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

    .page-cockfighting__faq-answer {
        padding: 15px 20px 20px;
        font-size: 0.9rem;
    }

    /* Ensure all content containers are responsive */
    .page-cockfighting__section,
    .page-cockfighting__container,
    .page-cockfighting__content-area,
    .page-cockfighting__card-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__feature-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}