/* style/cockfighting.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-cockfighting {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Assuming body handles the main background */
}

/* Section general styling */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark sections */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  box-sizing: border-box; /* Ensure padding doesn't affect width calculations */
}

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

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Primary brand color for text */
  border: 2px solid #26A9E0;
}

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

/* Image content */
.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.page-cockfighting__about-section {
  background-color: #0d0d0d; /* Dark background for this section, contrasting with default body */
  padding: 60px 0;
}
.page-cockfighting__about-section .page-cockfighting__section-title {
  color: #26A9E0;
}
.page-cockfighting__about-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  padding: 60px 0;
}
.page-cockfighting__how-to-play-section .page-cockfighting__section-title {
  color: #26A9E0;
}
.page-cockfighting__how-to-play-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__ordered-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-cockfighting__ordered-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-cockfighting__ordered-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
}

.page-cockfighting__list-heading {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 5px;
}
.page-cockfighting__ordered-list li p {
  color: #cccccc;
}

.page-cockfighting__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
}

/* Types of Bets Section */
.page-cockfighting__types-of-bets-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}
.page-cockfighting__types-of-bets-section .page-cockfighting__section-title {
  color: #26A9E0;
}
.page-cockfighting__types-of-bets-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__unordered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-cockfighting__unordered-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting__unordered-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #26A9E0;
  font-size: 1.2em;
  font-weight: bold;
}
.page-cockfighting__unordered-list li p {
  color: #cccccc;
}

/* Tips Section */
.page-cockfighting__tips-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}
.page-cockfighting__tips-section .page-cockfighting__section-title {
  color: #26A9E0;
}
.page-cockfighting__tips-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  background-color: #0d0d0d;
  padding: 60px 0;
  text-align: center;
}
.page-cockfighting__advantages-section .page-cockfighting__section-title {
  color: #26A9E0;
}

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

.page-cockfighting__advantage-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__advantage-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__advantage-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  padding: 0;
  background: none;
}

.page-cockfighting__advantage-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__advantage-item p {
  font-size: 1em;
  color: #cccccc;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #26A9E0;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Plus to Minus */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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


/* CTA Section */
.page-cockfighting__cta-section {
  background-color: #26A9E0; /* Primary brand color for CTA */
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  justify-content: center;
  text-align: left;
}

.page-cockfighting__cta-content {
  flex: 1;
  max-width: 600px;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
}

.page-cockfighting__cta-image {
  flex: 1;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it's a block element */
}
.page-cockfighting__cta-section .page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA button */
  border-color: #EA7C07;
}
.page-cockfighting__cta-section .page-cockfighting__btn-primary:hover {
  background-color: #c96806;
  border-color: #c96806;
}
.page-cockfighting__cta-section .page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}
.page-cockfighting__cta-section .page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #26A9E0;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__cta-title {
    font-size: 2.2em;
  }
  .page-cockfighting__cta-container {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__cta-content {
    max-width: 100%;
  }
  .page-cockfighting__cta-image {
    max-width: 600px;
  }
  .page-cockfighting__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-cockfighting__container {
    padding: 20px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__text-block {
    font-size: 1em;
  }
  .page-cockfighting__ordered-list li,
  .page-cockfighting__unordered-list li {
    padding-left: 45px;
  }
  .page-cockfighting__ordered-list li::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
  .page-cockfighting__list-heading {
    font-size: 1.3em;
  }
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__advantage-item {
    padding: 20px;
  }
  .page-cockfighting__advantage-title {
    font-size: 1.5em;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-title {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
  .page-cockfighting__cta-section {
    padding: 40px 0;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting__cta-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__cta-image {
    max-width: 100%;
  }

  /* Mobile image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__cta-container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__hero-buttons .page-cockfighting__btn-primary,
  .page-cockfighting__hero-buttons .page-cockfighting__btn-secondary,
  .page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
  .page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
    padding-left: 0; /* Handled by container padding */
    padding-right: 0; /* Handled by container padding */
  }
}