/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #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;
  line-height: 1.6;
  color: var(--page-cockfighting-text-main); /* Default text color for dark background */
  background-color: var(--page-cockfighting-background); /* Default background */
}

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp for responsiveness if needed, but not fixed large */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: var(--page-cockfighting-text-main);
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(var(--page-cockfighting-primary-color), 0.4);
}

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

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

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__section-title {
  font-size: 2.2rem;
  color: var(--page-cockfighting-primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Ensure minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-cockfighting__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

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

.page-cockfighting__btn-text {
  color: var(--page-cockfighting-gold);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-text:hover {
  color: var(--page-cockfighting-glow);
}

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

.page-cockfighting__step-item {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
}

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

.page-cockfighting__step-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

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

.page-cockfighting__cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--page-cockfighting-deep-green);
  border-radius: 12px;
  padding: 30px 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
  flex-wrap: wrap;
}

.page-cockfighting__cta-content {
  flex: 1;
  padding-right: 30px;
}

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

.page-cockfighting__cta-text {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 25px;
}

.page-cockfighting__cta-image {
  width: 250px;
  height: auto;
  border-radius: 8px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__promo-item {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__promo-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

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

.page-cockfighting__center-button {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

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

.page-cockfighting__assurance-item {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__assurance-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-cockfighting-primary-color);
  margin-bottom: 10px;
}

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

.page-cockfighting__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

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

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

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

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

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

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

/* Ensure images meet minimum size requirements */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    max-width: 700px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__cta-content {
    padding-right: 0;
    margin-bottom: 20px;
  }
}

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

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset, small top padding for section */
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

  .page-cockfighting__content-area {
    padding: 30px 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__paragraph {
    font-size: 0.95rem;
  }

  .page-cockfighting__card-grid,
  .page-cockfighting__steps,
  .page-cockfighting__assurance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__assurance-item {
    padding: 20px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__cta-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-cockfighting__cta-banner {
    padding: 25px 20px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .page-cockfighting__cta-content {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .page-cockfighting__cta-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__promo-item {
    padding: 15px;
  }

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

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

  /* Image and container responsive overrides */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent overflow on containers */
  }
  
  .page-cockfighting__hero-section,
  .page-cockfighting__cta-banner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-cockfighting__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}