/* 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; /* Body background is handled by shared.css */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding: 0;
  padding-top: 100px; /* Adjust for fixed header */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFCC00;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-cockfighting__text-block a {
  color: #FFCC00;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-block a:hover {
  text-decoration: underline;
}

.page-cockfighting__image-content {
  margin: 40px 0;
  text-align: center;
}

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

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

.page-cockfighting__light-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

.page-cockfighting__light-section .page-cockfighting__section-title {
  color: #FFCC00;
}

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

.page-cockfighting__features-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__blog-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-cockfighting__feature-card,
.page-cockfighting__step-card,
.page-cockfighting__blog-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

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

.page-cockfighting__feature-icon,
.page-cockfighting__step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #FFCC00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 204, 0, 0.4);
}

.page-cockfighting__feature-icon img,
.page-cockfighting__step-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__blog-title {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description,
.page-cockfighting__step-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

.page-cockfighting__blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-cockfighting__blog-card {
  text-align: left;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 204, 0, 0.2);
  overflow: hidden;
}

.page-cockfighting__blog-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.page-cockfighting__blog-content {
  padding: 25px;
}

.page-cockfighting__blog-title a {
  color: #FFCC00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__blog-title a:hover {
  color: #e6b800;
  text-decoration: underline;
}

.page-cockfighting__blog-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-cockfighting__read-more {
  display: inline-block;
  color: #FFCC00;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.page-cockfighting__read-more:hover {
  color: #e6b800;
  transform: translateX(5px);
}

.page-cockfighting__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 204, 0, 0.1);
  border-radius: 10px;
  border: 1px solid #FFCC00;
}

.page-cockfighting__cta-text {
  font-size: 1.4em;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: bold;
}

.page-cockfighting__cta-text a {
  color: #FFCC00;
  text-decoration: none;
}

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

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 204, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #003366; /* Dark background for question */
  border-bottom: 1px solid rgba(255, 204, 0, 0.2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background: #004080; /* Slightly lighter on hover */
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* Light text for question */
  pointer-events: none; /* Prevent h3 from blocking click */
}

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: #ffffff;
}

.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;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 204, 0, 0.1);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-cockfighting__faq-answer a {
  color: #FFCC00;
  text-decoration: none;
  font-weight: bold;
}

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

.text-accent {
  color: #FFCC00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__container {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 80px; /* Adjust for mobile fixed header */
    min-height: 400px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
    max-width: 300px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__text-block {
    font-size: 1em;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__blog-card {
    padding: 25px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__blog-title {
    font-size: 1.3em;
  }
  .page-cockfighting__cta-block {
    padding: 30px 20px;
  }
  .page-cockfighting__cta-text {
    font-size: 1.2em;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image adaptation */
  .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-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}