/* style/cockfighting.css */

/* Body background is dark from shared.css, so main text color should be light */
.page-cockfighting {
  color: #F2FFF6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

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

.page-cockfighting__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #13994A 0%, #2AD16F 100%);
  border-radius: 2px;
}

.page-cockfighting__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__text-block p,
.page-cockfighting__list li,
.page-cockfighting__numbered-list li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 1em;
}

.page-cockfighting__text-block strong {
  color: #F2FFF6; /* Text Main */
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F; /* From Button color */
  border: 2px solid #2AD16F;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  border-color: #2AD16F;
  transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  background-color: #08160F; /* Background color */
  padding: 60px 0;
  padding-top: 10px; /* Small top padding for hero section */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-cockfighting__hero-content .page-cockfighting__description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* General Content Sections */
.page-cockfighting__about-section,
.page-cockfighting__types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  background-color: #11271B; /* Card B G */
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
  order: 2;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  order: 1;
}

.page-cockfighting__image-block {
  text-align: center;
}

.page-cockfighting__image-item {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__list li::before {
  content: '✔';
  color: #2AD16F; /* From Button color */
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
}

.page-cockfighting__numbered-list li {
  counter-increment: list-counter;
  margin-bottom: 15px;
  padding-left: 2em;
  position: relative;
}

.page-cockfighting__numbered-list li::before {
  content: counter(list-counter);
  color: #F2FFF6; /* Text Main */
  background-color: #13994A; /* From Button color */
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  position: absolute;
  left: 0;
  top: 0;
}

/* Promotions Section */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-cockfighting__promo-card {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin: 20px 15px 10px 15px;
}

.page-cockfighting__promo-text {
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 20px 15px;
  font-size: 0.95em;
}

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

.page-cockfighting__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item details > summary {
  list-style: none;
}

.page-cockfighting__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  font-size: 1.15em;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(42, 209, 111, 0.1); /* Lighter green tint */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F; /* From Button color */
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px; /* For JS fallback */
  transition: max-height 0.5s ease-in;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
    order: initial;
  }

  .page-cockfighting__image-block {
    margin-bottom: 30px;
  }
}

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

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-cockfighting__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-image,
  .page-cockfighting__image-item,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-block,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__content-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-cockfighting__hero-content .page-cockfighting__btn-primary {
    margin-bottom: 0;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

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

  .page-cockfighting__promo-card {
    margin-bottom: 20px;
  }

  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
  }
}