/* style/cockfighting.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-dark: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Ensure consistency if body background is not inherited */
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding: 0;
  margin-bottom: 40px;
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-dark);
}

.page-cockfighting__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__cta-single {
  text-align: center;
  margin-top: 20px;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-dark);
  border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__content-area:last-of-type {
  border-bottom: none;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--text-main);
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-cockfighting__text-block h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-cockfighting__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__numbered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin: 20px 0;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  list-style: decimal;
}

.page-cockfighting__section-why-choose-us {
  background-color: var(--primary-color);
  color: #ffffff; /* Forced white text for dark section */
  padding: 60px 20px;
  margin-bottom: 0;
  border-bottom: none;
}

.page-cockfighting__section-why-choose-us .page-cockfighting__section-title {
  color: #ffffff;
}

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

.page-cockfighting__features-item {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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;
}

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

.page-cockfighting__features-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__features-item p {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-cockfighting__section-faq {
  background-color: var(--background-dark);
  padding-bottom: 60px;
}

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

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

.page-cockfighting__faq-item summary {
  list-style: none;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--secondary-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 18px;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.7;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #2a2d3a;
  color: var(--secondary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: var(--secondary-color);
}

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

.highlight {
  color: var(--glow-color);
  font-weight: bold;
}

/* --- Responsive Styles --- */

/* Tablet */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }

  .page-cockfighting__features-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__video-section {
    padding: 20px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .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,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .page-cockfighting__section-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__content-area {
    padding: 20px 15px;
  }

  .page-cockfighting__text-block h3 {
    font-size: 1.3rem;
  }

  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__list-item,
  .page-cockfighting__numbered-list .page-cockfighting__list-item {
    padding: 15px;
  }

  .page-cockfighting__list-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__features-item {
    padding: 20px;
  }

  .page-cockfighting__features-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__section-faq {
    padding-bottom: 30px;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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