/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  background-color: #111; /* Matching body background */
  line-height: 1.6;
}

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

.page-cockfighting__dark-bg {
  background-color: #111;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #222;
  color: #ffffff;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px; /* Adjust as needed */
}

.page-cockfighting__hero-section > .page-cockfighting__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.page-cockfighting__hero-content {
  max-width: 800px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Yellow for prominence */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

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

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

/* General Section Styling */
.page-cockfighting__section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  color: #017439; /* Brand green */
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-cockfighting__paragraph strong {
  color: #FFFF00;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting__btn-large {
  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;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Red for Register */
  color: #FFFF00; /* Yellow text */
  border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e01c1c;
  border-color: #e01c1c;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFF00;
  color: #111; /* Dark text on yellow hover */
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-cockfighting__btn-small:hover {
  background-color: #02944b;
  border-color: #02944b;
  transform: translateY(-1px);
}

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

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

.page-cockfighting__card {
  background-color: #222;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

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

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

.page-cockfighting__guide-item {
  background-color: #222;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-cockfighting__list {
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
  list-style: disc inside;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
}

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

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

.page-cockfighting__promotion-card {
  background-color: #017439; /* Brand green background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__promotion-description {
  font-size: 1em;
  margin-bottom: 20px;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  cursor: pointer;
  background-color: #017439; /* Brand green for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.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: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px !important;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: #017439; /* Brand green */
  color: #ffffff;
}

.page-cockfighting__cta-title {
  font-size: 3em;
  color: #FFFF00;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .page-cockfighting__btn-large {
    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__btn-large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-cockfighting__section {
    padding: 60px 0;
  }
  .page-cockfighting__section-title,
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting__paragraph,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }
  .page-cockfighting__grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card,
  .page-cockfighting__guide-item,
  .page-cockfighting__promotion-card {
    padding: 25px;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__guide-item,
  .page-cockfighting__promotion-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__hero-section > .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting__cta-section {
    padding: 60px 0;
  }
}