/* style/cockfighting.css */

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

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

/* Buttons */
.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-secondary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #017439;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #005a2b;
  border-color: #005a2b;
}

.page-cockfighting__btn-small {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background-color: #005a2b;
}

.page-cockfighting__btn-large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_main:1920x1080:cockfighting,rooster,arena,betting,mcw87]') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none; /* Make sure the image doesn't block clicks to buttons */
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

.page-cockfighting__video-container {
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

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

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

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

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

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

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

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-cockfighting__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-cockfighting__step-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  color: #C30808;
  font-weight: bold;
  margin-bottom: 15px;
}

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

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

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-cockfighting__bet-type-card {
  background-color: #017439;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-cockfighting__bet-type-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-cockfighting__bet-type-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 80px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-cockfighting__strategy-item {
  background-color: #1a1a1a;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-cockfighting__strategy-item strong {
  color: #ffffff;
}

.page-cockfighting__strategy-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 10px;
  margin-top: 40px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

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

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

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

.page-cockfighting__promo-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

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

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

.page-cockfighting__faq-question:hover {
  background-color: #005a2b;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  background-color: #2a2a2a;
  color: #f0f0f0;
  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 */
  padding: 20px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    width: 100%;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
  }
  .page-cockfighting__features-grid, .page-cockfighting__guide-steps, .page-cockfighting__bet-types-grid, .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__feature-icon, .page-cockfighting__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .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__video-section, .page-cockfighting__video-container, .page-cockfighting__video-wrapper, .page-cockfighting__hero-section, .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;
  }
  .page-cockfighting video, .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for video section on mobile */
  }
  .page-cockfighting__cta-title {
    font-size: 2em;
  }
  .page-cockfighting__cta-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-section .page-cockfighting__btn-large {
    width: 100%;
    margin-bottom: 15px;
  }
  .page-cockfighting__cta-section .page-cockfighting__btn-large:last-child {
    margin-bottom: 0;
  }
  .page-cockfighting__cta-section .page-cockfighting__btn-primary, .page-cockfighting__cta-section .page-cockfighting__btn-secondary {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary, .page-cockfighting__btn-small, .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;
  }
  .page-cockfighting__cta-buttons, .page-cockfighting__button-group, .page-cockfighting__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
}