/* style/cockfighting.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-card-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-cockfighting {
  color: var(--text-light); /* Body background is dark, so text is light */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }
}

.page-cockfighting__section {
  padding: 60px 0;
  position: relative;
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-light);
}

.page-cockfighting__text-block .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

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

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px; /* Desktop: Adjust for navbar, minimal padding */
  background: var(--bg-dark);
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
}

.page-cockfighting__cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.6);
}

.page-cockfighting__cta-button--small {
  padding: 14px 35px;
  font-size: 18px;
}

.page-cockfighting__cta-button--large {
  padding: 22px 55px;
  font-size: 24px;
}

/* Introduction Section */
.page-cockfighting__introduction {
  background: var(--bg-dark);
  color: var(--text-light);
}

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

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

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-icon {
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
  min-height: 200px !important;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  border-radius: 5px;
}

.page-cockfighting__feature-icon img {
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
  min-height: 200px !important;
  object-fit: contain;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Types Section */
.page-cockfighting__dark-section {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  color: var(--text-light);
}

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

.page-cockfighting__type-card {
  background: var(--bg-card-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__type-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__type-card h3 {
  font-size: 26px;
  color: var(--primary-color);
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-cockfighting__type-description {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(139, 0, 0, 0.4);
  text-transform: uppercase;
  text-align: center;
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
}

/* Guide Section */
.page-cockfighting__guide {
  background: var(--bg-dark);
  color: var(--text-light);
}

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

.page-cockfighting__step-item {
  background: var(--bg-card-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
}

.page-cockfighting__step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-cockfighting__step-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__step-item a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Advantages Section */
.page-cockfighting__advantages {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  color: var(--text-light);
}

.page-cockfighting__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-cockfighting__advantage-list li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: var(--text-light);
  background: var(--bg-card-dark);
  padding: 15px 20px 15px 50px;
  border-radius: 8px;
  border: 1px solid var(--border-color-dark);
}

.page-cockfighting__advantage-list li::before {
  content: '✓';
  color: var(--primary-color);
  font-size: 22px;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Tips Section */
.page-cockfighting__tips {
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-cockfighting__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tip-list li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
  color: var(--text-light);
}

.page-cockfighting__tip-list li strong {
  color: var(--primary-color);
}

.page-cockfighting__tip-list li::before {
  content: counter(item) '. ';
  counter-increment: item;
  color: var(--secondary-color);
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* FAQ Section */
.page-cockfighting__faq {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  color: var(--text-light);
}

.page-cockfighting__faq-list {
  margin-top: 50px;
}

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

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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: 32px;
  height: 32px;
}

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

.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: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-top: 1px solid var(--border-color-dark);
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Call to Action Section */
.page-cockfighting__call-to-action {
  background: var(--bg-dark);
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__hero-title {
    font-size: 42px;
  }
  .page-cockfighting__hero-description {
    font-size: 18px;
  }
  .page-cockfighting__cta-button {
    padding: 16px 40px;
    font-size: 18px;
  }
  .page-cockfighting__cta-button--large {
    padding: 20px 50px;
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px !important; /* Mobile: Ensure padding top for fixed header */
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image {
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }
  .page-cockfighting__hero-title {
    font-size: 36px;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
  }
  .page-cockfighting__cta-button {
    padding: 14px 30px;
    font-size: 16px;
    margin-top: 15px;
  }
  .page-cockfighting__cta-button--large {
    padding: 18px 40px;
    font-size: 20px;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 15px;
  }
  .page-cockfighting__features-grid, .page-cockfighting__types-grid, .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-item, .page-cockfighting__type-card, .page-cockfighting__step-item {
    padding: 20px;
  }
  .page-cockfighting__feature-title {
    font-size: 20px;
  }
  .page-cockfighting__type-img {
    height: 200px;
  }
  .page-cockfighting__type-card h3 {
    font-size: 22px;
    margin: 15px 15px 8px;
  }
  .page-cockfighting__type-description {
    padding: 0 15px 15px;
  }
  .page-cockfighting__btn-secondary {
    margin: 0 15px 15px;
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-cockfighting__step-title {
    font-size: 18px;
  }
  .page-cockfighting__advantage-list li {
    font-size: 15px;
    padding: 12px 15px 12px 45px;
  }
  .page-cockfighting__advantage-list li::before {
    font-size: 20px;
    left: 10px;
  }
  .page-cockfighting__tip-list li {
    font-size: 15px;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  /* All images responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__feature-icon img {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 30px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
  }
  .page-cockfighting__cta-button--large {
    font-size: 18px;
    padding: 15px 35px;
  }
}