/* style/cockfighting.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background #1a1a1a */
  background-color: #1a1a1a; /* Inherited from shared, but explicit for context */
}

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

.page-cockfighting__section {
  padding: 60px 0;
}

/* Specific background and text colors based on brightness */
.page-cockfighting__hero-section {
  background-color: #26A9E0; /* Brand color for hero background */
  color: #ffffff;
}

.page-cockfighting__introduction-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__tips-strategies-section,
.page-cockfighting__cta-section {
  background-color: #ffffff; /* Explicitly set light background */
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__download-guide-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 1;
}

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

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

.page-cockfighting__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

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

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

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

.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: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
}

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

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

/* Section titles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

/* Text blocks */
.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

/* Card styles */
.page-cockfighting__card {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for cards */  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__content-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-cockfighting__feature-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05em;
  color: inherit;
}

.page-cockfighting__feature-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #26A9E0;
}

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

/* Download Guide Section */
.page-cockfighting__download-guide-section {
  padding: 60px 0;
}

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

.page-cockfighting__step-item {
  text-align: center;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color */
}

.page-cockfighting__step-description {
  font-size: 1em;
  color: inherit;
}

.page-cockfighting__step-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

.page-cockfighting__betting-card {
  text-align: center;
}

.page-cockfighting__betting-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__betting-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0; /* Brand color */
}

.page-cockfighting__betting-description {
  font-size: 1em;
  color: inherit;
}

.page-cockfighting__betting-steps {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
  font-size: 1.1em;
  color: inherit;
}

.page-cockfighting__betting-steps li {
  margin-bottom: 10px;
}

.page-cockfighting__betting-steps li strong {
  color: #26A9E0;
}

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

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

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

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

.page-cockfighting__benefit-description {
  font-size: 1em;
  color: inherit;
}

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

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

.page-cockfighting__strategy-card {
  text-align: left;
}

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

.page-cockfighting__strategy-description {
  font-size: 1em;
  color: inherit;
}


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

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  color: #ffffff; /* Light text for dark cards */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
  -webkit-touch-callout: none; /* Disable text selection on iOS */
  -webkit-user-select: none; /* Disable text selection on iOS */
  -moz-user-select: none; /* Disable text selection on Firefox */
  -ms-user-select: none; /* Disable text selection on IE/Edge */
  user-select: none; /* Disable text selection */
}

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

.page-cockfighting__faq-qtext {
  color: #26A9E0; /* Brand color for question text */
  flex-grow: 1;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* CTA Section at the bottom */
.page-cockfighting__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

/* General image styling for content area */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Ensure content images meet minimum size requirements */
.page-cockfighting__content-image,
.page-cockfighting__step-image,
.page-cockfighting__betting-image {
  min-width: 200px;
  min-height: 200px;
}

/* Video specific styling - if a video were to be added */
.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Indicate it's clickable */
}

/* Ensure no CSS filter is used on images */
.page-cockfighting img {
  filter: none !important;
}