/* style/cockfighting.css */

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

/* Ensure main content has light text on dark body background */
.page-cockfighting {
  color: #ffffff; /* Light text for dark body background */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: inherit; /* Inherit from parent for contrast */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

.page-cockfighting__text-link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Default height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

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

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

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

/* 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;
  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;
  border-color: #005f2e;
}

.page-cockfighting__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

/* Section Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
}

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

.page-cockfighting__dark-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF; /* Light text for dark background */
}

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

.page-cockfighting__card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-cockfighting__card-description {
  font-size: 1em;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-cockfighting__card .page-cockfighting__btn-secondary {
  margin: 0 15px 20px;
  align-self: center;
  width: calc(100% - 30px);
  background-color: #017439;
  color: #FFFFFF;
  border-color: #017439;
}

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

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

.page-cockfighting__feature-item {
  background-color: #F8F8F8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-cockfighting__guide-item:last-child {
  margin-bottom: 0;
}

.page-cockfighting__guide-step-title {
  font-size: 1.6em;
  color: #FFFF00; /* Yellow for step titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__guide-list p {
  color: #F0F0F0;
}

.page-cockfighting__guide-cta {
  text-align: center;
  margin-top: 40px;
}

/* Tips List */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tips-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  color: #FFFFFF;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-cockfighting__tips-item strong {
  color: #FFFF00;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #E8F5E9;
  border-bottom: 1px solid #DCEADF;
}

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

.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);
}

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

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

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

/* CTA Section */
.page-cockfighting__cta-section {
  text-align: center;
  padding: 100px 20px;
}

.page-cockfighting__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

/* 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__cta-title {
    font-size: 2.5em;
  }
}

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

  /* Fixed header spacing for mobile */
  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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;
    padding-right: 15px;
  }
  .page-cockfighting__hero-cta .page-cockfighting__btn-primary--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

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

  .page-cockfighting__introduction-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__dark-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__cta-section {
    padding: 60px 0;
  }

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

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting__feature-title {
    font-size: 1.2em;
  }

  .page-cockfighting__guide-step-title {
    font-size: 1.4em;
  }

  .page-cockfighting__cta-title {
    font-size: 2em;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__grid-cards,
  .page-cockfighting__promo-grid,
  .page-cockfighting__feature-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure no horizontal scroll for content areas */
  .page-cockfighting {
    overflow-x: hidden;
  }
  .page-cockfighting__card .page-cockfighting__btn-secondary {
    width: auto;
    min-width: 150px;
  }
}

/* Ensure content area images are at least 200px */
.page-cockfighting__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filters on images */
.page-cockfighting img {
  filter: none;
}