/* style/cockfighting.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-cockfighting {
  color: #ffffff; /* Light text for dark background */
  background-color: transparent; /* Body background is handled by shared.css (#0a0a0a) */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Container for consistent spacing */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E0B34F; /* Gold color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-cockfighting__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Main Title (H1) */
.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #E0B34F; /* Gold color for main title */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Intro Text */
.page-cockfighting__intro-text {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* Assuming shared.css handles body padding-top for header offset */
  margin-top: 0;
  overflow: hidden;
  background-color: #1A2E44; /* Fallback background color */
}

.page-cockfighting__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin: 0;
  display: block;
}

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

/* Dark background sections */
.page-cockfighting__dark-bg {
  background-color: #1A2E44; /* Main brand color for dark sections */
  color: #ffffff;
}

/* Button Group */
.page-cockfighting__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Primary Button */
.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: #E0B34F; /* Gold */
  color: #1A2E44; /* Dark blue */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
  background-color: #f0c26b; /* Lighter gold */
  transform: translateY(-2px);
}

/* Secondary Button */
.page-cockfighting__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #E0B34F; /* Gold */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #E0B34F; /* Gold border */
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(224, 179, 79, 0.1); /* Light gold transparent */
  transform: translateY(-2px);
}

/* Small Buttons */
.page-cockfighting__btn-small {
  display: inline-block;
  background-color: #E0B34F;
  color: #1A2E44;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background-color: #f0c26b;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Body background color */
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

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

.page-cockfighting__type-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__type-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__type-title {
  font-size: 24px;
  color: #E0B34F;
  margin-bottom: 15px;
}

.page-cockfighting__type-card p {
  color: #cccccc;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Body background color */
}

.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.05);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background-color: #E0B34F;
  color: #1A2E44;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 22px;
  color: #E0B34F;
  margin-bottom: 15px;
}

.page-cockfighting__step-card p {
  color: #cccccc;
  flex-grow: 1; /* Ensure paragraphs take available space */
}

.page-cockfighting__btn-link {
  display: inline-block;
  color: #E0B34F;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-link:hover {
  color: #f0c26b;
}

.page-cockfighting__betting-process-image {
  margin-top: 60px;
  text-align: center;
}

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

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__promo-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__promo-title {
  font-size: 24px;
  color: #E0B34F;
  margin-bottom: 15px;
}

.page-cockfighting__promo-card p {
  color: #cccccc;
  flex-grow: 1;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Body background color */
}

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

.page-cockfighting__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-cockfighting__benefit-title {
  font-size: 22px;
  color: #E0B34F;
  margin-bottom: 15px;
}

.page-cockfighting__benefit-item p {
  color: #cccccc;
  flex-grow: 1;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 60px 0;
}

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

.page-cockfighting__tip-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-cockfighting__tip-title {
  font-size: 22px;
  color: #E0B34F;
  margin-bottom: 15px;
}

.page-cockfighting__tip-card p {
  color: #cccccc;
  flex-grow: 1;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Body background color */
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1A2E44; /* Dark blue for question */
  border: 1px solid rgba(224, 179, 79, 0.3); /* Goldish border */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: rgba(26, 46, 68, 0.8); /* Slightly lighter dark blue */
  border-color: #E0B34F; /* Gold border on hover */
}

.page-cockfighting__faq-question:active {
  background: rgba(26, 46, 68, 0.9);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #E0B34F; /* Gold color for question text */
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #E0B34F; /* Gold color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #f0c26b; /* Lighter gold when active */
  transform: rotate(45deg); /* Change to X */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__main-title {
    font-size: 40px;
  }

  .page-cockfighting__intro-text {
    font-size: 18px;
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  /* Ensure page content does not cause horizontal scroll */
  .page-cockfighting {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__container {
    padding: 30px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

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

  .page-cockfighting__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-cockfighting__main-title {
    font-size: 32px;
  }
}