/* style/cockfighting-guide.css */

/* Custom Colors */
:root {
  --page-cockfighting-guide-primary-color: #11A84E;
  --page-cockfighting-guide-secondary-color: #22C768;
  --page-cockfighting-guide-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-guide-card-bg: #11271B;
  --page-cockfighting-guide-background: #08160F;
  --page-cockfighting-guide-text-main: #F2FFF6;
  --page-cockfighting-guide-text-secondary: #A7D9B8;
  --page-cockfighting-guide-border-color: #2E7A4E;
  --page-cockfighting-guide-glow-color: #57E38D;
  --page-cockfighting-guide-gold-color: #F2C14E;
  --page-cockfighting-guide-divider-color: #1E3A2A;
  --page-cockfighting-guide-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-cockfighting-guide {
  color: var(--page-cockfighting-guide-text-main); /* Light text on dark background */
  background-color: var(--page-cockfighting-guide-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-cockfighting-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting-guide__dark-section {
  background-color: var(--page-cockfighting-guide-background);
  color: var(--page-cockfighting-guide-text-main);
}

.page-cockfighting-guide__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--page-cockfighting-guide-text-main);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting-guide h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--page-cockfighting-guide-text-main);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting-guide p {
  margin-bottom: 20px;
  color: var(--page-cockfighting-guide-text-secondary);
}

.page-cockfighting-guide__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-cockfighting-guide-text-secondary);
}

.page-cockfighting-guide__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 800px;
  text-align: left;
}

.page-cockfighting-guide__list-item {
  background-color: var(--page-cockfighting-guide-card-bg);
  border: 1px solid var(--page-cockfighting-guide-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-guide__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-guide__list-title {
  color: var(--page-cockfighting-guide-text-main);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting-guide__list-text {
  color: var(--page-cockfighting-guide-text-secondary);
  margin-bottom: 0;
}

.page-cockfighting-guide__numbered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin: 0 auto 40px;
  max-width: 800px;
  text-align: left;
  color: var(--page-cockfighting-guide-text-secondary);
}

.page-cockfighting-guide__numbered-list .page-cockfighting-guide__list-item {
  padding-left: 0;
}

/* Hero Section */
.page-cockfighting-guide__hero-section {
  position: relative;
  padding: 0; /* Adjust padding later for content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting-guide__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

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

.page-cockfighting-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  color: var(--page-cockfighting-guide-text-main);
}

.page-cockfighting-guide__main-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--page-cockfighting-guide-text-main);
}

.page-cockfighting-guide__description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  color: var(--page-cockfighting-guide-text-secondary);
}

/* Buttons */
.page-cockfighting-guide__btn-primary {
  display: inline-block;
  background: var(--page-cockfighting-guide-button-gradient);
  color: #ffffff; /* White text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Image content */
.page-cockfighting-guide__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-cockfighting-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  width: 100%; /* Desktop width */
}

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

/* FAQ Section */
.page-cockfighting-guide__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-cockfighting-guide__faq-item {
  background-color: var(--page-cockfighting-guide-card-bg);
  border: 1px solid var(--page-cockfighting-guide-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-cockfighting-guide-text-secondary);
}

.page-cockfighting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--page-cockfighting-guide-text-main);
  background-color: var(--page-cockfighting-guide-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-guide-border-color);
  list-style: none; /* For details/summary */
}

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

.page-cockfighting-guide__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-cockfighting-guide__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting-guide__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-cockfighting-guide__faq-item[open] .page-cockfighting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-guide__faq-answer {
  padding: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--page-cockfighting-guide-divider-color);
  color: var(--page-cockfighting-guide-text-secondary);
  background-color: var(--page-cockfighting-guide-card-bg);
}

/* Bottom CTA */
.page-cockfighting-guide__cta-bottom {
  padding: 80px 0;
  background: var(--page-cockfighting-guide-deep-green);
}

.page-cockfighting-guide__cta-bottom .page-cockfighting-guide__section-title {
  color: var(--page-cockfighting-guide-gold-color);
}

.page-cockfighting-guide__cta-bottom .page-cockfighting-guide__text-block {
  color: var(--page-cockfighting-guide-text-secondary);
  margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting-guide__hero-content {
    padding: 30px 15px;
  }

  .page-cockfighting-guide__section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-guide {
    font-size: 15px;
  }

  .page-cockfighting-guide__section-title {
    font-size: 32px;
  }

  .page-cockfighting-guide__main-title {
    font-size: 48px;
  }

  .page-cockfighting-guide__description {
    font-size: 18px;
  }

  .page-cockfighting-guide__hero-section {
    min-height: 400px;
    padding-top: 10px !important;
  }

  .page-cockfighting-guide__container,
  .page-cockfighting-guide__faq-list,
  .page-cockfighting-guide__list {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-cockfighting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsiveness */
  .page-cockfighting-guide video,
  .page-cockfighting-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-cockfighting-guide__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-guide__main-title {
    font-size: 36px;
  }

  .page-cockfighting-guide__description {
    font-size: 16px;
  }

  .page-cockfighting-guide__btn-primary {
    font-size: 16px;
    padding: 12px 20px;
  }
}