/* 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;
  color: var(--page-cockfighting-text-main);
  background-color: var(--page-cockfighting-background);
}

.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, 2.5vw, 2.8rem);
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

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

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

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

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  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(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--page-cockfighting-glow);
}

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

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

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__feature-title {
  color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__feature-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-cockfighting-border);
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__feature-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--page-cockfighting-border);
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__step-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__cta-buttons--centered {
  margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-deep-green);
}

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

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

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

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

.page-cockfighting__faq-question:hover {
  background-color: rgba(var(--page-cockfighting-primary-color), 0.1);
}

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

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

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

/* Final CTA Section */
.page-cockfighting__cta-final {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background);
  text-align: center;
}

.page-cockfighting__cta-final-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Global image rules for content area - minimum size */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 0;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 300px; /* Constrain width on tablets */
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding: 20px 0;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* Responsive Images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Image and content containers */
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__intro-section .page-cockfighting__container,
  .page-cockfighting__features-section .page-cockfighting__container,
  .page-cockfighting__guide-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__cta-final .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Responsive Buttons */
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
  .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__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
}

/* Ensure min-width for all images in content area */
.page-cockfighting__hero-image,
.page-cockfighting__feature-icon {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast Fixes - Apply if needed */
.page-cockfighting__dark-bg {
  color: var(--page-cockfighting-text-main);
  background: var(--page-cockfighting-background);
}

.page-cockfighting__light-bg {
  color: #333333; /* Default dark text for light backgrounds */
  background: #ffffff;
}

.page-cockfighting__dark-section {
  background: var(--page-cockfighting-deep-green);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card {
  background: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-text-secondary);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting p,
.page-cockfighting li {
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__main-title,
.page-cockfighting__section-title,
.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__faq-qtext {
  color: var(--page-cockfighting-text-main);
}