/* style/cockfighting.css */

/* Global styles for page-cockfighting */
.page-cockfighting {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F; /* Button top color */
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-block strong {
  color: #F2FFF6; /* Emphasize keywords */
}

/* Card base style */
.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__step-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button top color */
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Background */
}

.page-cockfighting__step-link {
  background-color: #2E7A4E; /* Border color */
  color: #F2FFF6; /* Text Main */
  border: none;
  margin-top: 15px;
  display: block;
}

.page-cockfighting__step-link:hover {
  background-color: #13994A; /* Darker green from button gradient */
}

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

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit hero image height */
  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; /* Ensure content is above image but not overlapping it via position absolute */
  max-width: 900px;
  margin-top: 40px; /* Space between image and content */
  padding: 0 20px;
}

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

.page-cockfighting__main-description {
  font-size: clamp(1.1em, 1.5vw + 0.5rem, 1.3em); /* Responsive font size */
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
}

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

.page-cockfighting__type-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__type-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__type-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__type-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  flex-grow: 1; /* Ensure cards have similar height */
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 0;
}

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

.page-cockfighting__benefit-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__benefit-icon {
  font-size: 3em;
  margin-bottom: 20px;
  color: #57E38D; /* Glow */
}

.page-cockfighting__benefit-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__benefit-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-cockfighting__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px; /* Ensure space for link */
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  border: 3px solid #F2C14E;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(242, 193, 78, 0.1);
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-cockfighting__guide-illustration {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 60px 0;
}

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

.page-cockfighting__strategy-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__strategy-heading {
  font-size: 1.7em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__strategy-description {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
}

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

.page-cockfighting__promotion-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promotion-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__promotion-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px 25px;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Remove default summary marker */
  cursor: pointer;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  padding-top: 15px;
  line-height: 1.6;
  border-top: 1px solid #1E3A2A; /* Divider */
  margin-top: 15px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 4.5vw + 1rem, 3em);
  }
  .page-cockfighting__main-description {
    font-size: clamp(1em, 1.8vw + 0.5rem, 1.2em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* Mobile image, video, button adaptations */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__types-grid,
  .page-cockfighting__benefits-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__container,
  .page-cockfighting__card,
  .page-cockfighting__section,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
    padding-bottom: 40px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-top: 20px;
  }

  .page-cockfighting__main-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Adjust padding for buttons */
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"],
  .page-cockfighting__step-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-cockfighting__type-image,
  .page-cockfighting__promotion-image {
    height: auto; /* Allow height to adjust */
    max-height: 180px; /* Max height for small images */
  }

  .page-cockfighting__step-number {
    font-size: 2em;
    width: 60px;
    height: 60px;
  }
  
  .page-cockfighting__faq-question {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__main-description {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__cta-buttons {
    gap: 10px;
  }
}