/* style/cockfighting.css */

/* Base Styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8;
}

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

.page-cockfighting__section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #0A192F;
  font-weight: bold;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

/* Color Contrast System */
.page-cockfighting__dark-bg {
  background-color: #0A192F;
  color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__section-subtitle,
.page-cockfighting__dark-bg .page-cockfighting__card-title,
.page-cockfighting__dark-bg .page-cockfighting__card-description,
.page-cockfighting__dark-bg .page-cockfighting__feature-title,
.page-cockfighting__dark-bg .page-cockfighting__feature-description,
.page-cockfighting__dark-bg .page-cockfighting__safety-card-title,
.page-cockfighting__dark-bg .page-cockfighting__safety-card-description {
  color: #ffffff;
}

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

.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color */
  color: #0A192F; /* Main color for contrast */
  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: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e0b800;
  color: #000000;
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700; /* Auxiliary color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border: 2px solid #FFD700;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 20px;
  cursor: pointer;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-cockfighting__btn-text {
  display: inline-block;
  color: #0A192F;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-text:hover {
  color: #FFD700;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header, as shared.css handles body padding */
}

.page-cockfighting__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
  display: block; /* Ensure it doesn't leave gaps */
}

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

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

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

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

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 100px 0;
}

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

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-cockfighting__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Bet Types Section */
.page-cockfighting__bet-types {
  padding: 100px 0;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-cockfighting__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-cockfighting__card-description {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: auto; /* Push image to bottom if content above is short */
  min-height: 200px; /* Ensure images are not too small */
  object-fit: cover;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 100px 0;
}

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

.page-cockfighting__step-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  background-color: #0A192F;
  color: #FFD700;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #0A192F;
}

.page-cockfighting__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
}

.page-cockfighting__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-cockfighting__feature-description {
  font-size: 1.05em;
  color: #f0f0f0;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 100px 0;
  text-align: left;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-cockfighting__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting__list-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  color: #555555;
  font-size: 1.05em;
}

/* Safety Section */
.page-cockfighting__safety-section {
  padding: 100px 0;
}

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

.page-cockfighting__safety-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
}

.page-cockfighting__safety-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__safety-card-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-cockfighting__safety-card-description {
  font-size: 1.05em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 100px 0;
  text-align: left;
}

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

.page-cockfighting__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

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

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

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 100px 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-secondary {
    margin-left: 0;
  }

  .page-cockfighting__section {
    padding: 60px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-subtitle {
    font-size: 1em;
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-cockfighting__image-block {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }

  .page-cockfighting__card-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__feature-grid,
  .page-cockfighting__safety-cards {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__feature-card,
  .page-cockfighting__safety-card {
    padding: 25px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__safety-card-title {
    font-size: 1.5em;
  }
  .page-cockfighting__card-description,
  .page-cockfighting__feature-description,
  .page-cockfighting__safety-card-description {
    font-size: 0.95em;
  }

  .page-cockfighting__tips-section {
    text-align: center;
  }
  .page-cockfighting__list-item {
    text-align: left;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-title {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile Responsive Images & Videos */
  .page-cockfighting img,
  .page-cockfighting video,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__bet-types,
  .page-cockfighting__guide-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  /* Mobile Buttons */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}