/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Dark background #0a0a0a, so light text */
  background-color: transparent; /* 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: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-cockfighting__section-title--white {
  color: #FFFFFF;
}

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

.page-cockfighting__text-block--white {
  color: #FFFFFF;
}

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-title {
  font-size: 3.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-cta-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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

/* Introduction Section */
.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Ensure dark background for consistency */
  color: #f0f0f0;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__introduction-section .page-cockfighting__text-block,
.page-cockfighting__guide-section .page-cockfighting__text-block,
.page-cockfighting__faq-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #FFFFFF;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
}

.page-cockfighting__video-caption {
  font-size: 1.1em;
  margin-top: 20px;
  color: #f0f0f0;
}

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

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
  color: #f0f0f0;
}

.page-cockfighting__features-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.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: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1em;
  color: #cccccc;
}

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

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

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

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

.page-cockfighting__type-card .page-cockfighting__card-image {
  height: 200px;
}

.page-cockfighting__card-title--white {
  color: #FFFFFF;
}

.page-cockfighting__card-description--white {
  color: #cccccc;
}

/* Guide Section */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-cockfighting__guide-step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__guide-step-description {
  font-size: 1.1em;
  color: #cccccc;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #FFFFFF;
}

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

.page-cockfighting__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__strategy-item-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__strategy-item-title--white {
  color: #FFFFFF;
}

.page-cockfighting__strategy-item-description {
  font-size: 1em;
  color: #cccccc;
}

.page-cockfighting__strategy-item-description--white {
  color: #cccccc;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-title {
  font-size: 1.2em;
  color: #FFFFFF;
  margin: 0;
  font-weight: bold;
}

.page-cockfighting__faq-title a {
  color: #FFFFFF;
  text-decoration: none;
}

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

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

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

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px 25px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #cccccc;
}

/* CTA Banner */
.page-cockfighting__cta-banner {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-cockfighting__cta-banner .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__cta-banner .page-cockfighting__text-block {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-banner .page-cockfighting__text-block a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* 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__card-image {
    height: 200px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons--center {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-cockfighting__introduction-section,
  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner {
    padding: 50px 0;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__card-image {
    height: auto !important;
    min-height: 200px; /* Ensure minimum size */
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed, or keep 56.25% */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__strategy-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__faq-title {
    font-size: 1.1em;
  }

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

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons--center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}