/* style/cockfighting.css */

:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #22C768;
  --page-cockfighting-bg-dark: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border-color: #2E7A4E;
  --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-glow-color: #57E38D;
  --page-cockfighting-gold-color: #F2C14E;
  --page-cockfighting-divider-color: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-main); /* Default text color for dark background */
  background-color: var(--page-cockfighting-bg-dark); /* Default dark background for the page */
}

.page-cockfighting h1, .page-cockfighting h2, .page-cockfighting h3, .page-cockfighting h4, .page-cockfighting h5, .page-cockfighting h6 {
  color: var(--page-cockfighting-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting p {
  margin-bottom: 15px;
}

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

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

/* Section common styles */
.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-cockfighting-gold-color); /* Gold for main titles */
}

.page-cockfighting__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--page-cockfighting-text-secondary);
}

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

/* Color themes for sections */
.page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-bg-dark);
  color: var(--page-cockfighting-text-main);
  padding: 60px 0;
}

.page-cockfighting__light-bg {
  background-color: #11271B; /* Card BG color for light sections to ensure contrast */
  color: var(--page-cockfighting-text-main);
  padding: 60px 0;
}

.page-cockfighting__light-bg .page-cockfighting__section-description {
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__light-bg h3 {
  color: var(--page-cockfighting-text-main);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles main offset */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over the bottom of the image for visual flow */
  background: linear-gradient(to top, var(--page-cockfighting-bg-dark) 0%, rgba(8, 22, 15, 0.7) 70%, rgba(8, 22, 15, 0) 100%);
  padding-top: 100px; /* Compensate for the gradient */
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--page-cockfighting-gold-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  margin-bottom: 20px;
}

.page-cockfighting__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: var(--page-cockfighting-text-main);
  border: 2px solid var(--page-cockfighting-primary-color);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Feature Grid & Card Styles */
.page-cockfighting__feature-grid, .page-cockfighting__steps-grid, .page-cockfighting__type-grid, .page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-cockfighting__feature-icon, .page-cockfighting__type-image, .page-cockfighting__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__type-title, .page-cockfighting__promo-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 15px;
}

.page-cockfighting__feature-text, .page-cockfighting__step-text, .page-cockfighting__type-text, .page-cockfighting__promo-text {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

/* Safety & Support Section */
.page-cockfighting__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block {
  text-align: left;
}

.page-cockfighting__sub-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--page-cockfighting-gold-color);
  margin-top: 30px;
}

.page-cockfighting__paragraph {
  font-size: 17px;
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--page-cockfighting-border-color);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
  background-color: #1a3528; /* Slightly lighter than card bg */
  color: var(--page-cockfighting-gold-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question:hover {
  background-color: #2e4a3c;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: normal;
  line-height: 1;
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.6;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding-top: 80px;
  }

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

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

  .page-cockfighting__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding-top: 60px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-cockfighting__subtitle {
    font-size: 16px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-cockfighting__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__type-title, .page-cockfighting__promo-title {
    font-size: 20px;
  }

  .page-cockfighting__feature-text, .page-cockfighting__step-text, .page-cockfighting__type-text, .page-cockfighting__promo-text {
    font-size: 15px;
  }

  .page-cockfighting__sub-title {
    font-size: 24px;
  }

  .page-cockfighting__paragraph {
    font-size: 15px;
  }

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

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

  /* Mobile image and video responsive adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__info-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__safety-support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for aesthetic spacing */
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}