/* style/cockfighting.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color: #000000;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
}

/* Base styles for the page, assuming a dark body background from shared.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default text color for dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
}

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--light-text-color); /* Default for dark sections */
}

.page-cockfighting__text-block p,
.page-cockfighting__list-item {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--black-color);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 40px;
}

.page-cockfighting__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--light-text-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-cockfighting__intro-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a7ea8; /* Darken primary color */
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  transform: translateY(-2px);
}

/* Section Backgrounds and Text Colors for Contrast */
.page-cockfighting__dark-bg {
  background-color: var(--black-color);
  color: var(--light-text-color);
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
  color: var(--light-text-color);
}

.page-cockfighting__light-bg {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: var(--primary-color);
}

.page-cockfighting__light-bg .page-cockfighting__text-block p,
.page-cockfighting__light-bg .page-cockfighting__list-item {
  color: var(--dark-text-color);
}

/* Content Sections */
.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__benefits-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
}

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

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

.page-cockfighting__benefit-card {
  background-color: var(--light-text-color);
  color: var(--dark-text-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__benefit-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Steps List (Guide) */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-cockfighting__steps-list .page-cockfighting__list-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-cockfighting__steps-list .page-cockfighting__list-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--light-text-color); /* For dark background */
}

.page-cockfighting__light-bg .page-cockfighting__step-title {
  color: var(--primary-color);
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for dark sections */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--light-text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background-color: var(--light-text-color);
  color: var(--dark-text-color);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-cockfighting__faq-item[open] > summary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.page-cockfighting__faq-item[open] > summary .page-cockfighting__faq-toggle {
  color: var(--light-text-color);
}

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

.page-cockfighting__light-bg .page-cockfighting__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

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

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: inherit;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .page-cockfighting__intro-text {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-cockfighting__text-block p,
  .page-cockfighting__list-item {
    font-size: 1rem;
  }

  .page-cockfighting__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__steps-list .page-cockfighting__list-item {
    padding-left: 50px;
  }

  .page-cockfighting__steps-list .page-cockfighting__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.1rem;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

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