/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--bg-dark-1);
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Space for fixed header */
  margin-top: 0;
}

.page-cockfighting__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin: 0;
}

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

.page-cockfighting__section {
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__section--dark-bg {
  background-color: var(--bg-dark-1);
  color: #ffffff;
}

.page-cockfighting__section--light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

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

.page-cockfighting__main-heading {
  font-size: 3.2em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  font-weight: 700;
}

.page-cockfighting__heading {
  font-size: 2.5em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-cockfighting__link {
  color: #008080; /* Teal for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
  color: #FF4500;
}

.page-cockfighting__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-cockfighting__btn--primary {
  background-color: #FF4500;
  color: #ffffff;
  border-color: #FF4500;
}

.page-cockfighting__btn--primary:hover {
  background-color: #e63900;
  border-color: #e63900;
}

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

.page-cockfighting__btn--secondary:hover {
  background-color: #008080;
  color: #ffffff;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-cockfighting__content-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-cockfighting__list-item {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05em;
}

.page-cockfighting__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF4500;
  font-weight: bold;
  font-size: 1.2em;
}

.page-cockfighting__list--icon .page-cockfighting__list-item::before {
  content: '★';
  color: #ffd700; /* Gold star for promotions */
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for dark bg */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__section--light-bg .page-cockfighting__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333333;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

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

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

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

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

.page-cockfighting__feature-card img {
  width: 100%; /* Ensure images are large enough */
  max-width: 250px; /* Adjust max-width as needed */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: #FF4500;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: 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 15px;
  opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #333333;
}

.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

.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: #333333;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-heading {
    font-size: 2.8em;
  }
  .page-cockfighting__heading {
    font-size: 2.2em;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__content-grid--reverse .page-cockfighting__content-image {
    order: -1; /* Image first on mobile */
  }
  .page-cockfighting__game-types-grid, .page-cockfighting__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__container {
    padding: 0 10px;
  }
  .page-cockfighting__main-heading {
    font-size: 2.2em;
    margin-bottom: 30px;
  }
  .page-cockfighting__heading {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-cockfighting__text-block {
    font-size: 1em;
  }
  .page-cockfighting__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
  }
  .page-cockfighting__card-image {
    height: 200px;
  }
  .page-cockfighting__card-content {
    padding: 20px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__feature-card {
    padding: 25px;
  }
  .page-cockfighting__feature-card img {
    max-width: 200px;
  }
  .page-cockfighting__feature-title {
    font-size: 1.2em;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-cockfighting__faq-toggle {
    margin-left: 10px;
    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;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__content-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}