/* style/cockfighting.css */

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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--ae888co-text-main); /* Default text color for the page */
  background-color: var(--ae888co-background); /* Overall page background */
}

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for text readability */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ae888co-text-main);
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__subtitle {
  font-size: 1.15rem;
  color: var(--ae888co-text-secondary);
  margin-bottom: 30px;
  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-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: var(--ae888co-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
}

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

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

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

.page-cockfighting__section {
  padding: 80px 0;
  border-bottom: 1px solid var(--ae888co-divider);
}

.page-cockfighting__section:last-of-type {
  border-bottom: none;
}

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--ae888co-text-main);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

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

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

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

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

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

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--ae888co-text-secondary);
  line-height: 1.7;
}

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

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

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background: var(--ae888co-button-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 0 15px var(--ae888co-glow);
}

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

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

.page-cockfighting__btn-text {
  color: var(--ae888co-primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-text:hover {
  color: var(--ae888co-gold);
}

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

.page-cockfighting__feature-item {
  background-color: var(--ae888co-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ae888co-border);
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: var(--ae888co-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-cockfighting__promo-card {
  background-color: var(--ae888co-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ae888co-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__promo-description {
  font-size: 1rem;
  color: var(--ae888co-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__cta-center {
  text-align: center;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__tip-item {
  background-color: var(--ae888co-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ae888co-border);
}

.page-cockfighting__tip-title {
  font-size: 1.5rem;
  color: var(--ae888co-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__tip-text {
  font-size: 1rem;
  color: var(--ae888co-text-secondary);
  line-height: 1.7;
}

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

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

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

.page-cockfighting__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--ae888co-text-main);
  cursor: pointer;
  background-color: var(--ae888co-card-bg);
  position: relative;
  z-index: 1;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide marker for Webkit browsers */
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

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

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

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

.page-cockfighting__faq-answer a {
  color: var(--ae888co-primary);
  text-decoration: underline;
}

.page-cockfighting__faq-answer a:hover {
  color: var(--ae888co-gold);
}

.page-cockfighting__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__subtitle {
    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: 1rem;
  }
  .page-cockfighting__section {
    padding: 50px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 1rem;
  }
  .page-cockfighting__card-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__feature-grid,
  .page-cockfighting__promo-cards,
  .page-cockfighting__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__card,
  .page-cockfighting__step-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__tip-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
}

/* Ensure images maintain original color */
.page-cockfighting img {
  filter: none; /* Absolutely no CSS filters that change color */
}

/* Color contrast fixes for specific elements if needed */
.page-cockfighting__dark-bg {
  color: var(--ae888co-text-main); /* Deep green background, light text */
}

.page-cockfighting a {
  color: var(--ae888co-primary);
}

.page-cockfighting a:hover {
  color: var(--ae888co-gold);
}