/* style/cockfighting.css */

.page-cockfighting {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--background-color, #ffffff);
  font-size: 16px;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background-color: #26A9E0; /* Fallback */
  padding-top: var(--header-offset, 120px); /* Desktop and mobile, controlled by shared var */
  box-sizing: border-box;
}

.page-cockfighting__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Darken background image for text readability */
}

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

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

.page-cockfighting__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-cockfighting__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-cockfighting__cta-button:hover {
  background-color: #d16b06;
}

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

.page-cockfighting__section--dark {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: 3em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__section-title--light {
  color: #ffffff;
}

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

.page-cockfighting__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.page-cockfighting__content-area p {
  margin-bottom: 1em;
  color: inherit;
}

.page-cockfighting__content-area ul,
.page-cockfighting__content-area ol {
  margin-bottom: 1em;
  padding-left: 20px;
  color: inherit;
}

.page-cockfighting__content-area li {
  margin-bottom: 0.5em;
  color: inherit;
}

.page-cockfighting__content-area h3 {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__content-area--light h3,
.page-cockfighting__content-area--light p,
.page-cockfighting__content-area--light ul,
.page-cockfighting__content-area--light li {
  color: #ffffff;
}

.page-cockfighting__content-area--light .page-cockfighting__card-link {
  color: #ffffff;
}

.page-cockfighting__content-area--light .page-cockfighting__card-link:hover {
  color: #f0f0f0;
}

.page-cockfighting__video-section {
  padding: 60px 20px;
  background-color: #f0f0f0;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background-color: #000;
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  display: block;
}

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

.page-cockfighting__content-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-cockfighting__card-content {
  padding: 25px;
  flex-grow: 1;
}

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

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-cockfighting__card-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__card-link:hover {
  color: #1a7bb2;
}

.page-cockfighting__faq-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #26A9E0;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 25px 25px;
}

.page-cockfighting__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__btn--primary {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-cockfighting__btn--secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-cockfighting__btn--secondary:hover {
    background-color: #f0f8ff;
    color: #1a7bb2;
    border-color: #1a7bb2;
}

/* Ensure content area images are not too small */
.page-cockfighting__section img,
.page-cockfighting__content-card img {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-subtitle {
    font-size: 1.3em;
  }
  .page-cockfighting__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 15px;
  }
  .page-cockfighting__hero-section {
    min-height: 450px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-subtitle {
    font-size: 1em;
  }
  .page-cockfighting__section {
    padding: 30px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-cockfighting__section-description {
    margin-bottom: 30px;
  }
  .page-cockfighting__cta-button {
    font-size: 1em;
    padding: 10px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-cockfighting__card-image {
    height: 180px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__card-content {
    padding: 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px 18px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 18px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 18px 18px 18px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__content-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile video responsiveness */
  .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: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__button-group {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}