/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is #000 from shared.css */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  background-color: #B22222; /* Primary brand color for hero */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Auxiliary color for section titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__intro-section,
.page-cockfighting__rules-tips-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section {
  background-color: #1a1a1a; /* Dark background for content sections */
  color: #ffffff;
}

.page-cockfighting__dark-bg {
  background-color: #B22222; /* Primary brand color for dark sections */
  color: #ffffff;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-cockfighting__text-block a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
}

.page-cockfighting__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-cockfighting__image-aside {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-cockfighting__guide-steps {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 40px;
}

.page-cockfighting__step-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

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

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

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

.page-cockfighting__guide-image {
  display: block;
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  background-color: #B22222; /* Primary brand color */
  padding-top: var(--header-offset, 120px);
}

.page-cockfighting__video-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

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

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__faq-section {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #333333; /* Slightly lighter dark for question header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #FFD700;
}

.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); /* Change '+' to 'x' or '-' */
}

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

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

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

.page-cockfighting__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #B22222; /* Primary brand color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-cockfighting__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  position: relative;
  z-index: 1;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Auxiliary color for CTA button */
  color: #B22222; /* Primary color for button text */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
  border: none;
}

.page-cockfighting__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Buttons common styles */
.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #B22222;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__image-aside {
    width: 40%;
  }
  .page-cockfighting__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-cockfighting__image-aside {
    width: 100%;
    margin-top: 30px;
  }
  .page-cockfighting__cta-image {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 60px 15px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }
  .page-cockfighting__grid-container {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }
  .page-cockfighting__image-aside {
    width: 100%;
    margin-top: 30px;
  }
  .page-cockfighting__guide-image {
    max-width: 100%;
  }
  .page-cockfighting__video-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-cockfighting__video-title {
    font-size: 2em;
  }
  .page-cockfighting__video-description {
    font-size: 1em;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-cockfighting__cta-section {
    padding: 60px 15px;
  }
  .page-cockfighting__cta-title {
    font-size: 2.2em;
  }
  .page-cockfighting__cta-description {
    font-size: 1.1em;
  }
  .page-cockfighting__cta-image {
    width: 200px;
    bottom: -20px;
    right: -20px;
  }
  
  /* Mobile image responsiveness */
  .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__grid-container,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__guide-steps,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__faq-container,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !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;
  }
  /* Mobile button responsiveness */
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .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: 0;
    padding-right: 0;
  }
  .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: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting__cta-description {
    font-size: 0.9em;
  }
  .page-cockfighting__video-wrapper {
    padding-bottom: 75%; /* Adjust for smaller screens, e.g., 4:3 aspect ratio if needed */
  }
}