/* style/cockfighting.css */

:root {
  --page-cockfighting-primary-color: #E44D26;
  --page-cockfighting-secondary-color: #336699;
  --page-cockfighting-text-light: #ffffff;
  --page-cockfighting-text-dark: #333333;
  --page-cockfighting-bg-dark: #121212;
  --page-cockfighting-card-bg: rgba(255, 255, 255, 0.08);
  --page-cockfighting-border-color: rgba(255, 255, 255, 0.15);
  --page-cockfighting-highlight-color: #ffd700; /* Gold for highlights */
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-light); /* Body background is dark, so text is light */
  background-color: var(--page-cockfighting-bg-dark);
}

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

/* Fixed navigation bar spacing for the first content module */
.page-cockfighting__intro-section {
  padding-top: 10px; /* Ensures content is not hidden by fixed header */
  margin-top: 0; /* Use padding-top, not margin-top */
  padding-bottom: 40px;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-cockfighting-primary-color);
  line-height: 1.2;
}

.page-cockfighting__main-title {
  font-size: 3em;
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-cockfighting-primary-color);
  line-height: 1.1;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-cockfighting-text-light);
}

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

.page-cockfighting__text-link {
  color: var(--page-cockfighting-highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: var(--page-cockfighting-primary-color);
  text-decoration: underline;
}

.page-cockfighting__highlight {
  color: var(--page-cockfighting-highlight-color);
  font-weight: bold;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-cockfighting__btn-primary {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
  box-shadow: 0 4px 15px rgba(228, 77, 38, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background-color: #ff6a40;
  box-shadow: 0 6px 20px rgba(228, 77, 38, 0.6);
  transform: translateY(-2px);
}

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

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

.page-cockfighting__mt-40 {
  margin-top: 40px;
}

/* Section Specific Styles */
.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-secondary-color);
  color: var(--page-cockfighting-text-light);
  padding: 60px 20px;
}

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

.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__feature-grid, .page-cockfighting__promo-grid, .page-cockfighting__blog-grid, .page-cockfighting__steps-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, .page-cockfighting__blog-card, .page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-cockfighting-border-color);
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-cockfighting__feature-title, .page-cockfighting__promo-title, .page-cockfighting__blog-title, .page-cockfighting__step-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-cockfighting-highlight-color);
}

.page-cockfighting__feature-description, .page-cockfighting__promo-description, .page-cockfighting__blog-excerpt, .page-cockfighting__step-description {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
  flex-grow: 1;
}

.page-cockfighting__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Step Cards Specific Styles */
.page-cockfighting__step-card {
  position: relative;
  padding-top: 50px; /* Space for step number */
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid var(--page-cockfighting-secondary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Styles */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--page-cockfighting-border-color);
  background-color: var(--page-cockfighting-card-bg);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--page-cockfighting-text-light);
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--page-cockfighting-highlight-color);
  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: 30px;
  height: 30px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--page-cockfighting-primary-color);
  transform: rotate(45deg); /* Changed from '-' to rotate '+' */
}

.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 25px;
  opacity: 0;
  background-color: var(--page-cockfighting-card-bg);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-cockfighting__faq-answer p {
  color: var(--page-cockfighting-text-light);
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

/* Blog Section Styles */
.page-cockfighting__blog-card {
  text-align: left;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

.page-cockfighting__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__blog-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-cockfighting__blog-title a {
  color: var(--page-cockfighting-highlight-color);
  text-decoration: none;
}

.page-cockfighting__blog-title a:hover {
  color: var(--page-cockfighting-primary-color);
  text-decoration: underline;
}

.page-cockfighting__blog-excerpt {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-light);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-cockfighting__read-more-link {
  display: inline-block;
  color: var(--page-cockfighting-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-cockfighting__read-more-link:hover {
  color: var(--page-cockfighting-highlight-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.5em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__container {
    padding: 30px 15px;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__promo-grid, .page-cockfighting__blog-grid, .page-cockfighting__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-cockfighting__intro-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__main-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 1em;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__promo-grid, .page-cockfighting__blog-grid, .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-card, .page-cockfighting__promo-card, .page-cockfighting__blog-card, .page-cockfighting__step-card {
    padding: 25px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__promo-title, .page-cockfighting__blog-title, .page-cockfighting__step-title {
    font-size: 1.3em;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting__blog-image {
    height: 180px;
  }
  .page-cockfighting__blog-content {
    padding: 15px;
  }
  .page-cockfighting__blog-title {
    font-size: 1.1em;
  }
  .page-cockfighting__blog-excerpt {
    font-size: 0.9em;
  }
  /* Mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__container,
  .page-cockfighting__intro-section,
  .page-cockfighting__advantage-section,
  .page-cockfighting__types-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotion-section,
  .page-cockfighting__security-section,
  .page-cockfighting__get-started-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-cockfighting__intro-section {
    padding-top: 10px !important; /* Mobile fixed header spacing */
  }
}