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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--lc79-text-main);
  background-color: var(--lc79-bg-dark); /* Body background from shared.css, this is for content areas */
}

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  color: var(--lc79-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* clamp for responsive font size without fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.page-cockfighting__hero-description {
  color: var(--lc79-text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--lc79-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--lc79-glow-color-rgb), 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(var(--lc79-primary-color-rgb), 0.1);
  color: var(--lc79-glow-color);
  border-color: var(--lc79-glow-color);
  transform: translateY(-2px);
}

.page-cockfighting__btn-link {
  background: transparent;
  color: var(--lc79-glow-color);
  border: none;
  padding: 8px 0;
  font-size: 0.95rem;
  text-decoration: underline;
}

.page-cockfighting__btn-link:hover {
  color: var(--lc79-gold-color);
}

/* General Section Styling */
.page-cockfighting__about-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__advantages-section,
.page-cockfighting__strategy-section,
.page-cockfighting__video-section,
.page-cockfighting__commitment-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  position: relative;
}

.page-cockfighting__dark-section {
  background-color: var(--lc79-card-bg);
  color: var(--lc79-text-main);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--lc79-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--lc79-primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--lc79-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lc79-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.page-cockfighting p {
  color: var(--lc79-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Image Text Grid */
.page-cockfighting__image-text-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__image-text-grid .page-cockfighting__text-content {
  flex: 1;
}

.page-cockfighting__image-text-grid .page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image doesn't get too small */
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Grid Layouts */
.page-cockfighting__grid,
.page-cockfighting__steps-grid,
.page-cockfighting__advantage-grid,
.page-cockfighting__strategy-grid,
.page-cockfighting__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card,
.page-cockfighting__step-card,
.page-cockfighting__advantage-item,
.page-cockfighting__strategy-item,
.page-cockfighting__commitment-item {
  background-color: var(--lc79-card-bg);
  border: 1px solid var(--lc79-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__advantage-item:hover,
.page-cockfighting__strategy-item:hover,
.page-cockfighting__commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: var(--lc79-text-main);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-cockfighting__card-description {
  font-size: 0.95rem;
  color: var(--lc79-text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.page-cockfighting__step-icon,
.page-cockfighting__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 100px;
  min-height: 100px;
}

.page-cockfighting__step-title,
.page-cockfighting__advantage-title {
  font-size: 1.3rem;
  color: var(--lc79-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Video Section */
.page-cockfighting__video-section {
  background-color: var(--lc79-bg-dark);
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--lc79-card-bg);
  border: 1px solid var(--lc79-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--lc79-primary-color);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: var(--lc79-glow-color);
}

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

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  background-color: var(--lc79-deep-green);
  padding: 80px 0;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__image-text-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__image-text-grid .page-cockfighting__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__video-section,
  .page-cockfighting__commitment-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 50px 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-card,
  .page-cockfighting__advantage-item,
  .page-cockfighting__strategy-item,
  .page-cockfighting__commitment-item {
    padding: 25px;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

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

  .page-cockfighting__step-icon,
  .page-cockfighting__advantage-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for better mobile viewing */
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is a small decorative top margin */
  }

  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .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;
    overflow: hidden !important;
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    padding-bottom: 30px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

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

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