/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
  background-color: #003366; /* Fallback for video */
}

.page-cockfighting__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 51, 102, 0.6); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFCC00; /* Use accent color for title */
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

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

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

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

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

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

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

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

.page-cockfighting__types-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

.page-cockfighting__grid-cards {
  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.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 15px;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-cockfighting__benefit-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__benefit-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.page-cockfighting__benefit-title::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #FFCC00;
  font-size: 1.2em;
  font-weight: bold;
}

.page-cockfighting__benefit-item p {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

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

.page-cockfighting__guide-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-cockfighting__step-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__step-icon {
  font-size: 2.5em;
  color: #FFCC00;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
  border: 3px solid #FFCC00;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  line-height: 64px;
  text-align: center;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-cockfighting__btn-link {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-link:hover {
  background-color: #e6b800;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #003366;
}

.page-cockfighting__tip-item:last-child {
  margin-bottom: 0;
}

.page-cockfighting__tip-title {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
}

.page-cockfighting__tip-item p {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

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

.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Reset h3 default size */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px 20px 20px;
}

.page-cockfighting__faq-answer p {
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.6;
}

/* Contact CTA Section */
.page-cockfighting__contact-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__contact-cta .page-cockfighting__section-title {
  color: #003366;
}

.page-cockfighting__contact-cta .page-cockfighting__section-description {
  color: #555555;
}

.page-cockfighting__contact-cta .page-cockfighting__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-wrapper {
    order: -1;
    margin-bottom: 30px;
  }
}

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

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    min-height: 600px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-link,
  .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;
  }

  .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-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__contact-cta {
    padding: 50px 0;
  }

  .page-cockfighting__card-image {
    height: 200px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__benefit-title {
    font-size: 1.2em;
  }
  .page-cockfighting__step-title {
    font-size: 1.4em;
  }
  .page-cockfighting__tip-title {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  /* Image responsiveness for mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video responsiveness for mobile */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-video-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}