/* style/cockfighting.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }
}

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

.page-cockfighting__heading {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
  color: var(--text-light);
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed navigation bar */
  background: linear-gradient(135deg, var(--secondary-color), var(--bg-dark));
  border-bottom: 5px solid var(--primary-color);
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 3px solid var(--primary-color);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-cockfighting__video-link:hover .page-cockfighting__video-overlay {
  opacity: 1;
}

.page-cockfighting__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 8px;
  white-space: nowrap;
  border: 2px solid #ffffff;
}

.page-cockfighting__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-cockfighting__play-now-button:hover {
  background: #ffc107; /* Slightly darker gold */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Module 1: H1 Title + CTA Buttons */
.page-cockfighting__title-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(to right, var(--secondary-color), var(--bg-dark));
  color: var(--text-light);
  border-bottom: 5px solid var(--primary-color);
}

.page-cockfighting__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__title-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.page-cockfighting__cta-button:nth-child(2) {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Module 2: FAQ */
.page-cockfighting__faq-section {
  padding: 80px 20px;
  background-color: var(--bg-light); /* Light background for FAQ */
  color: var(--text-dark); /* Dark text for light background */
  border-bottom: 5px solid var(--primary-color);
}

.page-cockfighting__faq-section .page-cockfighting__heading {
  color: var(--secondary-color);
  text-shadow: none;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: var(--primary-color);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fff;
  color: var(--text-dark);
  border-top: 1px dashed var(--border-color);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 10px 10px;
  background: #fefefe;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Module 3: Brand Introduction */
.page-cockfighting__brand-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-dark), var(--secondary-color));
  color: var(--text-light);
  text-align: center;
  border-bottom: 5px solid var(--primary-color);
}

.page-cockfighting__brand-section .page-cockfighting__heading {
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__brand-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__brand-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__brand-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__brand-title-item {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__brand-description {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.7;
}

/* Module 4: Blog List */
.page-cockfighting__blog-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-bottom: 5px solid var(--primary-color);
}

.page-cockfighting__blog-section .page-cockfighting__heading {
  color: var(--secondary-color);
  text-shadow: none;
}

.page-cockfighting__blog-section .page-cockfighting__text-block {
  color: var(--text-dark);
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.page-cockfighting__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__blog-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-cockfighting__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 25px;
}

.page-cockfighting__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-cockfighting__blog-item-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.4;
}

.page-cockfighting__blog-item-excerpt {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-cockfighting__blog-item-date {
  font-size: 14px;
  color: #888;
  display: block;
  text-align: right;
  font-style: italic;
}

.page-cockfighting__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__view-all-button {
  display: inline-block;
  padding: 14px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.page-cockfighting__view-all-button:hover {
  background: #a00000; /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* General card styling for dark background */
.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.08); /* Transparent white on dark bg */
  color: var(--text-light);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__card h3 {
  color: var(--primary-color);
}

.page-cockfighting__card p {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 40px;
  }
  .page-cockfighting__heading {
    font-size: 32px;
  }
  .page-cockfighting__video-cta {
    margin-top: 30px;
  }
  .page-cockfighting__play-now-button {
    padding: 15px 40px;
    font-size: 20px;
  }
  .page-cockfighting__title-description {
    font-size: 18px;
  }
  .page-cockfighting__cta-button {
    padding: 14px 35px;
    font-size: 18px;
  }
  .page-cockfighting__brand-image {
    max-width: 200px;
  }
  .page-cockfighting__blog-image {
    height: 180px;
  }
  .page-cockfighting__blog-item-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 10px !important; /* Mobile: Adjust for fixed navigation bar */
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-cockfighting__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 16px;
  }

  /* Video Section Mobile */
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed navigation bar */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .page-cockfighting__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden !important;
  }
  
  .page-cockfighting__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    overflow-x: hidden !important;
  }
  
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain; /* Ensure video fits within container */
  }
  
  .page-cockfighting__video-click-hint {
    font-size: 16px;
    padding: 10px 20px;
  }

  .page-cockfighting__video-cta {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-cockfighting__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 30px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* H1 Title Section Mobile */
  .page-cockfighting__title-section {
    padding: 60px 15px;
  }

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

  .page-cockfighting__title-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ Section Mobile */
  .page-cockfighting__faq-section {
    padding: 60px 15px;
  }

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

  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }

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

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

  /* Brand Section Mobile */
  .page-cockfighting__brand-section {
    padding: 60px 15px;
  }

  .page-cockfighting__brand-content {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__brand-item {
    padding: 25px;
  }

  .page-cockfighting__brand-image {
    max-width: 180px;
    margin: 0 auto 20px auto;
  }

  .page-cockfighting__brand-title-item {
    font-size: 20px;
  }

  /* Blog Section Mobile */
  .page-cockfighting__blog-section {
    padding: 60px 15px;
  }

  .page-cockfighting__blog-list {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__blog-link {
    padding: 20px;
  }

  .page-cockfighting__blog-image {
    height: 160px;
    margin-bottom: 15px;
  }

  .page-cockfighting__blog-item-title {
    font-size: 18px;
  }

  .page-cockfighting__blog-item-excerpt {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .page-cockfighting__view-all-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General image responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__blog-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

/* Ensure all images and video elements are responsive */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting video {
  max-width: 100%;
  height: auto;
  display: block;
}