/* style/cockfighting.css */

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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color for the page */
  background-color: var(--page-cockfighting-background); /* Body background handled by shared.css */
}

.page-cockfighting__section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--page-cockfighting-card-bg);
}

.page-cockfighting__hero-video-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-cockfighting__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size for H1 */
}

.page-cockfighting__subtitle {
  font-size: 1.2rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__sub-title {
  font-size: 1.6rem;
  color: var(--page-cockfighting-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__content-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

.page-cockfighting__highlight {
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__text-link {
  color: var(--page-cockfighting-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: var(--page-cockfighting-secondary);
}

/* Grid Layouts */
.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__grid-layout--reversed {
  grid-template-columns: 1fr 1fr;
}

.page-cockfighting__grid-layout--reversed .page-cockfighting__image-wrapper {
  order: 2;
}

.page-cockfighting__grid-layout--reversed .page-cockfighting__content-block {
  order: 1;
}

.page-cockfighting__image-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
}

/* Dark sections for contrast */
.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__dark-section .page-cockfighting__content-block,
.page-cockfighting__dark-section p {
  color: var(--page-cockfighting-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-background);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item[open] {
  background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  position: relative;
  list-style: none; /* For details/summary */
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  color: var(--page-cockfighting-text-secondary);
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__cta-final-section .page-cockfighting__content-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive Design --- */

@media (max-width: 1024px) {
  .page-cockfighting__section {
    padding: 60px 0;
  }

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

  .page-cockfighting__subtitle {
    font-size: 1.1rem;
  }

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

  .page-cockfighting__sub-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__content-block {
    font-size: 1rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1rem;
  }

  .page-cockfighting__faq-answer {
    font-size: 1rem;
  }
}

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-cockfighting__grid-layout,
  .page-cockfighting__grid-layout--reversed {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .page-cockfighting__grid-layout--reversed .page-cockfighting__image-wrapper {
    order: unset !important; /* Reset order for mobile */
  }

  .page-cockfighting__grid-layout--reversed .page-cockfighting__content-block {
    order: unset !important; /* Reset order for mobile */
  }

  .page-cockfighting__image-wrapper,
  .page-cockfighting__content-block {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important; /* Add padding to content blocks */
  }

  /* Images responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-cockfighting__image-wrapper {
    padding: 0 15px !important;
  }

  /* Video responsiveness */
  .page-cockfighting video,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px !important; /* Add padding to video wrapper */
  }

  /* Button responsiveness */
  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !important;
  }

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

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

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

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.95rem !important;
  }
  
  .page-cockfighting__faq-toggle {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .page-cockfighting__subtitle {
    font-size: 1rem;
  }

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

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

  .page-cockfighting__content-block,
  .page-cockfighting__faq-answer p {
    font-size: 0.9rem;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}