/* style/cockfighting.css */

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

.page-cockfighting {
  color: var(--text-main-color);
  background-color: var(--bg-color); /* Inherited from shared.css body */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  background-color: var(--deep-green-color);
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 40px 20px 0;
  margin-top: -100px; /* Adjust to slightly overlap image for visual flow */
  position: relative;
  z-index: 2;
}

.page-cockfighting__main-title {
  color: var(--gold-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
  font-size: 1.15rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--card-bg-color);
  transform: translateY(-2px);
}

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--divider-color);
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--gold-color);
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__card {
  background-color: var(--deep-green-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__card .page-cockfighting__btn-secondary {
  align-self: flex-start;
  margin: 0 20px 20px;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-cockfighting__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background-color: var(--deep-green-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  background: var(--button-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__step-item .page-cockfighting__btn-primary,
.page-cockfighting__step-item .page-cockfighting__btn-secondary {
  padding: 10px 25px;
  font-size: 0.95rem;
}

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

.page-cockfighting__feature-item {
  background-color: var(--deep-green-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--glow-color));
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
}

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

.page-cockfighting__promo-list li {
  background-color: var(--deep-green-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--glow-color);
}

.page-cockfighting__promo-title {
  font-size: 1.3rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__promo-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
}

.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
}

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

.page-cockfighting__strategy-item {
  background-color: var(--deep-green-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--border-color);
}

.page-cockfighting__strategy-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__strategy-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
}

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

.page-cockfighting__faq-item {
  background-color: var(--deep-green-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  color: var(--gold-color);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--divider-color);
}

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

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

.page-cockfighting__faq-item details > summary {
  list-style: none;
}

.page-cockfighting__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  text-align: center;
}

.page-cockfighting__cta-content {
  max-width: 900px;
}

.page-cockfighting__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold-color);
  margin-bottom: 25px;
  font-weight: 700;
}

.page-cockfighting__cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
  }
}

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

  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 30px 15px 0;
  }

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

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

  .page-cockfighting__section {
    padding: 40px 0;
  }

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

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

  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }

  .page-cockfighting__grid-layout,
  .page-cockfighting__step-by-step,
  .page-cockfighting__features-grid,
  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    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;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__strategy-title {
    font-size: 1.25rem;
  }

  .page-cockfighting__card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__feature-text,
  .page-cockfighting__promo-text,
  .page-cockfighting__strategy-text,
  .page-cockfighting__faq-answer p {
    font-size: 0.9rem;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }

  .page-cockfighting__cta-section {
    padding: 60px 0;
  }

  .page-cockfighting__cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-cockfighting__cta-text {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* Mobile image, video, button responsiveness (mandatory) */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    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: 10px !important; /* body already handles --header-offset */
  }

  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}