/* style/cockfighting.css */

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background is dark */
}

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

/* Section common styles */
.page-cockfighting__hero-section,
.page-cockfighting__introduction-section,
.page-cockfighting__advantages-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting__text-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space below image */
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b9;
  border-color: #1e87b9;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Content Image */
.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Grid for advantages */
.page-cockfighting__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-cockfighting__card-description {
  font-size: 1em;
  line-height: 1.5;
}

/* List styles */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 4px solid #26A9E0;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__list-item {
  background-color: #f9f9f9;
  color: #333333;
  border-left-color: #26A9E0;
}

.page-cockfighting__list-item strong {
  color: #26A9E0;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  color: inherit;
}

.page-cockfighting__step-description {
  font-size: 0.95em;
  line-height: 1.5;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background-color: #f0f8ff;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

.page-cockfighting__light-bg .page-cockfighting__faq-question:hover {
  background-color: #d9edf7;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  text-align: left;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #555555;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 80%;
  }
  .page-cockfighting__grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card,
  .page-cockfighting__step-card {
    text-align: center;
    padding: 25px;
  }
  .page-cockfighting__step-number {
    position: static;
    margin: 0 auto 15px auto;
  }
  .page-cockfighting__list,
  .page-cockfighting__faq-list {
    padding: 0 15px;
  }
  .page-cockfighting__list-item,
  .page-cockfighting__faq-item {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }
  .page-cockfighting__hero-content {
    padding: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    gap: 10px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 90% !important; /* Ensure buttons fit */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-cockfighting__btn-large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  
  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }
  .page-cockfighting__video-section { /* If video section existed */
    padding-top: 10px !important;
  }

  /* Mobile button container for multiple buttons */
  .page-cockfighting__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}