/* style/cockfighting.css */

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  padding: 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__subtitle {
  font-size: clamp(1em, 1.8vw, 1.3em);
  margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b0;
  border-color: #1e87b0;
}

.page-cockfighting__btn-primary--small,
.page-cockfighting__btn-secondary--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  text-align: center;
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-cockfighting__video-link {
  display: block;
  line-height: 0;
}

.page-cockfighting__main-video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-cockfighting__cta-buttons--video {
  margin-top: 30px;
}

/* General Content Styling */
.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-cockfighting__section-title--light {
  color: #ffffff;
}

.page-cockfighting__section-description {
  font-size: clamp(1em, 1.2vw, 1.1em);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__section-description--light {
  color: #f0f0f0;
}

/* Features Section */
.page-cockfighting__features-section {
  background-color: #26A9E0;
  padding: 80px 20px;
  color: #ffffff;
  text-align: center;
}

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

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

.page-cockfighting__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

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

/* Rules Section */
.page-cockfighting__rules-section {
  padding: 80px 20px;
  background-color: #ffffff;
  color: #333333;
  text-align: center;
}

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

.page-cockfighting__rule-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__rule-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-cockfighting__rule-text {
  font-size: 1em;
  color: #555555;
  text-align: left;
}

.page-cockfighting__rule-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 0;
  color: #555555;
  text-align: left;
}

.page-cockfighting__rule-list li {
  margin-bottom: 8px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: #26A9E0;
  padding: 80px 20px;
  color: #ffffff;
  text-align: center;
}

.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: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-cockfighting__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-cockfighting__promo-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-cockfighting__security-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  color: #333333;
  text-align: center;
}

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

.page-cockfighting__security-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.page-cockfighting__security-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__security-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__security-text {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__cta-buttons--bottom {
  margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #000000; /* Use black background for contrast with primary color text */
  padding: 80px 20px;
  color: #ffffff;
  text-align: center;
}

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

.page-cockfighting__faq-item {
  background-color: #222222;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  color: #ffffff;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0; /* Brand color for questions */
  background-color: #222222;
  border-bottom: 1px solid #333333;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    max-width: 700px;
  }
  .page-cockfighting__video-container,
  .page-cockfighting__content-area {
    max-width: 960px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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;
    padding-right: 15px;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section {
    padding: 40px 15px;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__rule-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__security-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-cockfighting__faq-list {
    margin-left: 0;
    margin-right: 0;
  }
  .page-cockfighting__security-icon {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    padding: 40px 10px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(0.85em, 3vw, 1em);
  }
  .page-cockfighting__cta-buttons {
    gap: 10px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.2em, 7vw, 1.8em);
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__rule-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__security-item {
    padding: 20px 10px;
  }
}