/* style/cockfighting.css */

/* Root variables and body padding are handled by shared.css */
/* Ensure body has padding-top: var(--header-offset); from shared.css */

/* General styles for the cockfighting page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__section.page-cockfighting__dark-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.page-cockfighting__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__list-item::before {
  content: '✔';
  color: #2AD16F; /* Button top color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-cockfighting .highlight-keyword {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Fallback for image */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  position: relative; /* Not absolute, to ensure it's below the image */
  z-index: 2;
  max-width: 900px;
  margin-top: 40px; /* Space between image and text */
  padding: 0 15px;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.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; /* Crucial for responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%;
  width: auto; /* Default width */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button top color */
  border: 2px solid #2AD16F; /* Button top color */
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2AD16F; /* Button top color */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

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

/* Content Images */
.page-cockfighting__content-image-wrapper {
  margin: 40px auto;
  max-width: 1000px; /* Example max width */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

/* Video Section */
.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for video */
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background-color: #000; /* Fallback background for video */
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer; /* Indicate it's clickable */
}

.page-cockfighting__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Make sure it's above the video */
    cursor: pointer;
}


/* Steps List */
.page-cockfighting__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

/* Card Grid */
.page-cockfighting__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px; /* Min height for cards */
}

.page-cockfighting__card-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-cockfighting__feature-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__feature-text {
  font-size: 1em;
  color: #F2FFF6; /* Text Main */
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  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: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for WebKit */
}

.page-cockfighting__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Button top color */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__faq-answer .page-cockfighting__paragraph {
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__cta-block {
  max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.6em;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 15px;
  }

  /* Mobile: Images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__content-image-wrapper,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Video wrapper needs to adjust padding-bottom for aspect ratio */
  .page-cockfighting__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      padding-left: 15px;
      padding-right: 15px;
  }

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small padding, body handles header offset */
    padding-bottom: 40px;
  }
  
  .page-cockfighting__hero-content {
    margin-top: 30px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

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

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

  .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;
  }

  .page-cockfighting__steps-list,
  .page-cockfighting__card-grid,
  .page-cockfighting__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }

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

@media (max-width: 480px) {
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.4em;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(1.5em, 9vw, 2em);
  }
  .page-cockfighting__paragraph {
    font-size: 0.95em;
  }
}