/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000; /* Inherited from body, ensuring contrast */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for titles */
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__highlight {
  color: #FFD700;
}

/* Buttons */
.page-cockfighting__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

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

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

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

.page-cockfighting__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-cockfighting__btn--small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-cockfighting__btn--large {
  padding: 18px 40px;
  font-size: 20px;
}

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

.page-cockfighting__light-bg {
  background-color: #000;
  color: #f0f0f0;
}

/* Hero Banner Section */
.page-cockfighting__hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 40px;
  min-height: 550px;
}

.page-cockfighting__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-cockfighting__hero-title {
  font-size: 52px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-cockfighting__hero-actions {
  display: flex;
  gap: 20px;
}

.page-cockfighting__hero-image-wrapper {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-main-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-cockfighting__intro-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__intro-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__feature-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Types Section */
.page-cockfighting__types-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__types-section .page-cockfighting__text-block {
  color: #ffffff;
}

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

.page-cockfighting__type-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__type-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__type-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__type-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__type-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Guide Section */
.page-cockfighting__guide-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__guide-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__step-title {
  font-size: 26px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__step-item p {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-cockfighting__step-item .page-cockfighting__btn--small {
  display: inline-block;
}

/* Strategy Section */
.page-cockfighting__strategy-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__strategy-section .page-cockfighting__text-block {
  color: #ffffff;
}

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

.page-cockfighting__strategy-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__strategy-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__strategy-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__strategy-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__strategy-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Promo Section */
.page-cockfighting__promo-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__promo-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__promo-list {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 30px;
  color: #f0f0f0;
  font-size: 17px;
}

.page-cockfighting__promo-list li {
  margin-bottom: 10px;
}

.page-cockfighting__promo-list strong {
  color: #FFD700;
}

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

/* FAQ Section */
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ container styles */
.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* FAQ default state - answer hidden */
.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: #e0e0e0;
  font-size: 16px;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important ensure priority, value large enough */
  padding: 20px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
}

/* Question styles */
.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

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

/* Question title styles */
.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

/* Toggle icon */
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

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

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__cta-section .page-cockfighting__text-block {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-cockfighting__hero-content {
    text-align: center;
    max-width: 100%;
  }

  .page-cockfighting__hero-title {
    font-size: 44px;
  }

  .page-cockfighting__hero-description {
    font-size: 18px;
  }

  .page-cockfighting__hero-actions {
    justify-content: center;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-top: 40px;
    max-width: 80%;
  }

  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__text-block {
    font-size: 17px;
  }
}

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

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

  .page-cockfighting__hero-banner {
    padding: 50px 15px;
    min-height: auto;
  }

  .page-cockfighting__hero-title {
    font-size: 36px;
  }

  .page-cockfighting__hero-description {
    font-size: 16px;
  }

  .page-cockfighting__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn {
    width: 100%;
  }

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

  .page-cockfighting__text-block {
    font-size: 16px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__type-cards,
  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__strategy-card {
    padding: 25px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__type-title,
  .page-cockfighting__strategy-title {
    font-size: 22px;
  }

  .page-cockfighting__step-item {
    padding: 25px;
  }

  .page-cockfighting__step-title {
    font-size: 24px;
  }

  .page-cockfighting__step-item p {
    font-size: 16px;
  }

  .page-cockfighting__promo-list {
    padding-left: 20px;
    font-size: 16px;
  }

  /* FAQ Mobile */
  .page-cockfighting__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-cockfighting__faq-question h3 {
    font-size: 17px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-cockfighting__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  .page-cockfighting__cta-section {
    padding: 60px 15px;
  }

  .page-cockfighting__btn--large {
    padding: 16px 30px;
    font-size: 18px;
  }

  /* Ensure all images and containers adapt to mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-banner,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promo-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}