/* style/cockfighting.css */

/* Base Styles for the Page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for content width */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
  padding-top: 0; /* Hero should not have double padding if main has it */
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

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

.page-cockfighting__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E6B325; /* Gold for main title */
  line-height: 1.2;
}

.page-cockfighting__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #E6B325; /* Gold background */
  color: #0A2239; /* Dark blue text for contrast */
  border: 2px solid #E6B325;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d4a41f;
  border-color: #d4a41f;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #E6B325; /* Gold text */
  border: 2px solid #E6B325;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #E6B325;
  color: #0A2239;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 0;
  background-color: #0A2239; /* Dark blue background */
  text-align: center;
}

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

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

.page-cockfighting__video-description {
  font-size: 1.1em;
  margin-top: 20px;
  color: #f0f0f0;
}

/* Content Area */
.page-cockfighting__content-area {
  padding: 80px 0;
  background-color: #000; /* Use body background color */
  color: #ffffff; /* White text for black background */
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #E6B325; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E6B325;
  border-radius: 2px;
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #E6B325;
  font-weight: bold;
}

.page-cockfighting__numbered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  counter-reset: my-counter;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: counter(my-counter) ".";
  counter-increment: my-counter;
  position: absolute;
  left: 0;
  color: #E6B325;
  font-weight: bold;
  font-size: 1.2em;
  width: 30px;
  text-align: right;
}

.page-cockfighting__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 50px;
}

.page-cockfighting__faq-item {
  background-color: #0A2239; /* Dark blue background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #E6B325; /* Gold text for question */
  cursor: pointer;
  background-color: #0A2239;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Light text for answer */
  background-color: #0A2239;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important;
  padding: 20px !important;
  padding-top: 0 !important;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-cockfighting__faq-answer a {
  color: #E6B325; /* Gold link in FAQ answer */
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

/* Links within content */
.page-cockfighting__paragraph a,
.page-cockfighting__list-item a {
  color: #E6B325; /* Gold links within paragraphs and lists */
  text-decoration: none;
}

.page-cockfighting__paragraph a:hover,
.page-cockfighting__list-item a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

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

  .page-cockfighting__hero-section {
    height: 500px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting__intro-text {
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__paragraph,
  .page-cockfighting__list-item {
    font-size: 1em;
  }

  /* 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 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; /* Ensure video section top padding is correct on mobile */
  }

  .page-cockfighting__hero-section {
    padding-top: 0 !important; /* Hero should not have double padding if main has it */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__hero-section {
    height: 400px;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
}