/* style/cockfighting.css */

/* Variables for colors and spacing */
:root {
  --lucky8-gold: #FFD700;
  --lucky8-black: #000000;
  --lucky8-dark-bg: #0a0a0a; /* Body background from shared.css */
  --lucky8-light-text: #ffffff;
  --lucky8-dark-text: #333333;
  --lucky8-grey-border: #e0e0e0;
  --lucky8-padding-section: 60px 20px;
  --lucky8-max-width-content: 1200px;
}

/* Base styles for the page content */
.page-cockfighting {
  color: var(--lucky8-light-text); /* Default text color for dark body background */
  background-color: var(--lucky8-dark-bg); /* Ensure consistency */
}

.page-cockfighting__container {
  max-width: var(--lucky8-max-width-content);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  color: var(--lucky8-gold);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2em;
  color: var(--lucky8-light-text);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-block p {
  line-height: 1.8;
  margin-bottom: 1em;
  color: var(--lucky8-light-text);
}

.page-cockfighting__text-block--center {
  text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding: var(--lucky8-padding-section);
  padding-top: calc(var(--header-offset, 120px) + 60px); /* Adjust for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 70vh;
}

.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.4); /* Darken video for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-cockfighting__hero-title {
  font-size: 3.8em;
  color: var(--lucky8-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  color: var(--lucky8-light-text);
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting__btn-promo {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: var(--lucky8-gold);
  color: var(--lucky8-black);
  border: 2px solid var(--lucky8-gold);
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  color: var(--lucky8-black);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--lucky8-gold);
  border: 2px solid var(--lucky8-gold);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--lucky8-gold);
  color: var(--lucky8-black);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
  background-color: var(--lucky8-gold);
  color: var(--lucky8-black);
  border: 1px solid var(--lucky8-gold);
}

.page-cockfighting__btn-small:hover {
  background-color: #e6c200;
  color: var(--lucky8-black);
}

.page-cockfighting__btn-promo {
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 7px;
  background-color: var(--lucky8-gold);
  color: var(--lucky8-black);
  border: 1px solid var(--lucky8-gold);
}

.page-cockfighting__btn-promo:hover {
  background-color: #e6c200;
  color: var(--lucky8-black);
}

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

.page-cockfighting__cta-buttons--center {
  text-align: center;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: var(--lucky8-padding-section);
}

.page-cockfighting__light-bg {
  background-color: var(--lucky8-light-text);
  color: var(--lucky8-dark-text);
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: var(--lucky8-black);
}

.page-cockfighting__light-bg .page-cockfighting__section-subtitle,
.page-cockfighting__light-bg .page-cockfighting__text-block p,
.page-cockfighting__light-bg .page-cockfighting__card-title {
  color: var(--lucky8-dark-text);
}

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

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  padding: var(--lucky8-padding-section);
  background-color: var(--lucky8-dark-bg);
}

.page-cockfighting__dark-bg {
  background-color: var(--lucky8-dark-bg);
  color: var(--lucky8-light-text);
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
  color: var(--lucky8-gold);
}

.page-cockfighting__dark-bg .page-cockfighting__section-subtitle,
.page-cockfighting__dark-bg .page-cockfighting__text-block p,
.page-cockfighting__dark-bg .page-cockfighting__card-title {
  color: var(--lucky8-light-text);
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 215, 0, 0.1);
}

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--lucky8-gold);
}

.page-cockfighting__feature-card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--lucky8-light-text);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: var(--lucky8-padding-section);
}

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

.page-cockfighting__type-card {
  background-color: var(--lucky8-light-text);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__type-card .page-cockfighting__card-title {
  padding: 20px 20px 0;
  color: var(--lucky8-black);
  text-align: left;
}

.page-cockfighting__type-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--lucky8-dark-text);
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: var(--lucky8-padding-section);
  background-color: var(--lucky8-dark-bg);
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__guide-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-cockfighting__list-item-title {
  font-size: 1.6em;
  color: var(--lucky8-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__guide-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--lucky8-light-text);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: var(--lucky8-padding-section);
}

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

.page-cockfighting__strategy-card {
  background-color: var(--lucky8-light-text);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__strategy-card .page-cockfighting__card-title {
  padding: 20px 20px 0;
  color: var(--lucky8-black);
  text-align: left;
}

.page-cockfighting__strategy-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--lucky8-dark-text);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: var(--lucky8-padding-section);
  background-color: var(--lucky8-dark-bg);
}

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  padding: 20px 20px 0;
  color: var(--lucky8-gold);
  text-align: left;
}

.page-cockfighting__promo-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--lucky8-light-text);
  flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-promo {
  margin: 0 20px 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: var(--lucky8-padding-section);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--lucky8-light-text);
  color: var(--lucky8-black);
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  border-bottom: 1px solid var(--lucky8-grey-border);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question-text {
  margin: 0;
  color: var(--lucky8-black);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--lucky8-gold);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: var(--lucky8-gold);
}

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Ensure it expands */
  padding: 15px 20px 20px;
}

.page-cockfighting__faq-answer p {
  color: var(--lucky8-dark-text);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: var(--lucky8-padding-section);
  text-align: center;
  background-color: var(--lucky8-dark-bg);
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: var(--lucky8-gold);
}

.page-cockfighting__conclusion-section .page-cockfighting__section-subtitle {
  color: var(--lucky8-light-text);
  margin-bottom: 30px;
}

/* Image styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@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;
  }

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .page-cockfighting__btn-promo,
  .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: 1.8em;
  }

  .page-cockfighting__section-subtitle {
    font-size: 1em;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 15px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__content-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__guide-list,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-icon,
  .page-cockfighting__type-image,
  .page-cockfighting__strategy-image,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !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 video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    padding: 15px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 15px 15px;
  }

  .page-cockfighting__faq-question-text {
    font-size: 1em;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
}