/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Inherit from shared.css body */
}

.page-cockfighting__hero-content {
  padding: 120px 0 60px; /* Adjusted for fixed header */
  background: linear-gradient(135deg, #0A2463 0%, #1A3B70 100%);
  text-align: center;
  color: #ffffff;
  box-shadow: inset 0 -5px 15px rgba(0,0,0,0.2);
}

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

.page-cockfighting__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #E0B14A;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.page-cockfighting__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__intro-text a {
  color: #E0B14A;
  text-decoration: underline;
  font-weight: bold;
}

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

.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;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: #E0B14A;
  color: #0A2463;
  border-color: #E0B14A;
}

.page-cockfighting__btn-primary:hover {
  background: #F0C46B;
  border-color: #F0C46B;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #E0B14A;
  border-color: #E0B14A;
}

.page-cockfighting__btn-secondary:hover {
  background: #E0B14A;
  color: #0A2463;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
  padding: 80px 0;
  background-color: rgba(0,0,0,0.1); /* Slightly transparent for visual depth */
  color: #f0f0f0; /* Light text for dark background */
}

.page-cockfighting__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #E0B14A;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.page-cockfighting__section-title a {
  color: #E0B14A;
  text-decoration: none;
}

.page-cockfighting__section-title a:hover {
  text-decoration: underline;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(224, 177, 74, 0.3);
}

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

.page-cockfighting__feature-image,
.page-cockfighting__promo-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E0B14A;
}

.page-cockfighting__card-title a {
  color: #E0B14A;
  text-decoration: none;
}

.page-cockfighting__card-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__feature-card p,
.page-cockfighting__promo-card p {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__feature-card p a,
.page-cockfighting__promo-card p a {
  color: #E0B14A;
  text-decoration: underline;
}

.page-cockfighting__list,
.page-cockfighting__ordered-list {
  list-style: disc;
  margin: 20px auto;
  padding-left: 40px;
  max-width: 900px;
  color: #cccccc;
}

.page-cockfighting__ordered-list {
  list-style: decimal;
}

.page-cockfighting__list li,
.page-cockfighting__ordered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-cockfighting__list li strong,
.page-cockfighting__ordered-list li strong {
  color: #E0B14A;
}

.page-cockfighting__list li a,
.page-cockfighting__ordered-list li a {
  color: #E0B14A;
  text-decoration: underline;
}

.page-cockfighting__promo-note {
  text-align: center;
  margin-top: 50px;
  font-size: 0.95em;
  color: #aaaaaa;
}

.page-cockfighting__promo-note a {
  color: #E0B14A;
  text-decoration: underline;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background: #E0B14A;
  color: #0A2463;
  border-color: #E0B14A;
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  background: #F0C46B;
  border-color: #F0C46B;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__call-to-action {
  background: linear-gradient(90deg, #0A2463, #1A3B70);
  text-align: center;
  padding: 80px 0;
  border-top: 5px solid #E0B14A;
}

.page-cockfighting__call-to-action .page-cockfighting__section-title {
  color: #E0B14A;
  margin-bottom: 20px;
}

.page-cockfighting__call-to-action p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #ffffff;
}

.page-cockfighting__call-to-action p a {
  color: #E0B14A;
  text-decoration: underline;
  font-weight: bold;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: rgba(0,0,0,0.2);
  padding: 80px 0;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(224, 177, 74, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A2463;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #E0B14A;
}

.page-cockfighting__faq-question:hover {
  background: #1A3B70;
  border-color: #F0C46B;
}

.page-cockfighting__faq-question:active {
  background: #071E4A;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #E0B14A;
}

.page-cockfighting__faq-question h3 a {
  color: #E0B14A;
  text-decoration: none;
}

.page-cockfighting__faq-question h3 a:hover {
  text-decoration: underline;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #E0B14A;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #E0B14A;
  border-radius: 50%;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #0A2463;
  background-color: #E0B14A;
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #cccccc;
}

.page-cockfighting__faq-answer p a {
  color: #E0B14A;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__promo-grid {
    gap: 20px;
  }
  .page-cockfighting__feature-image, .page-cockfighting__promo-image {
    height: 200px;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-cockfighting__hero-content {
    padding-top: 100px; /* Adjust for smaller header on tablet */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    padding: 100px 0 40px; /* Mobile padding for fixed header */
  }
  .page-cockfighting__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-cockfighting__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small, .page-cockfighting__btn-large {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-cockfighting__section {
    padding: 50px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-image, .page-cockfighting__promo-image {
    height: 180px;
  }
  .page-cockfighting__list, .page-cockfighting__ordered-list {
    padding-left: 25px;
    font-size: 0.95em;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__feature-card,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__list li, .page-cockfighting__ordered-list li {
    font-size: 0.9em;
  }
}