/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #22C768;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-background: #08160F;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border: #2E7A4E;
  --page-cockfighting-glow: #57E38D;
  --page-cockfighting-gold: #F2C14E;
  --page-cockfighting-divider: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color for dark background */
  background-color: var(--page-cockfighting-background); /* Default background color */
  line-height: 1.6;
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--page-cockfighting-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--page-cockfighting-background);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--page-cockfighting-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
  background: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-glow);
  border: 2px solid var(--page-cockfighting-glow);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-card-bg);
  transform: translateY(-3px);
}

/* Section Backgrounds */
.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-background);
  padding: 60px 0;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__light-bg {
  background-color: #0d1e15; /* A slightly lighter dark green for contrast */
  padding: 60px 0;
  color: var(--page-cockfighting-text-main);
}

/* Intro Section */
.page-cockfighting__intro-section {
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%; /* Ensure video does not overflow */
  display: block;
}

/* Rules Section */
.page-cockfighting__rules-section .page-cockfighting__text-block,
.page-cockfighting__rules-section .page-cockfighting__list {
  color: var(--page-cockfighting-text-secondary);
}

/* Tips Section */
.page-cockfighting__tips-section .page-cockfighting__text-block,
.page-cockfighting__tips-section .page-cockfighting__list {
  color: var(--page-cockfighting-text-secondary);
}

/* Benefits Section */
.page-cockfighting__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__benefit-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__benefit-title {
  font-size: 24px;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__benefit-description {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
}

/* Promotions Section */
.page-cockfighting__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--page-cockfighting-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure images are responsive */
  display: block;
}

.page-cockfighting__card-title {
  font-size: 22px;
  color: var(--page-cockfighting-gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-cockfighting__card-description {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__card .page-cockfighting__btn-secondary {
  margin-top: auto; /* Push button to bottom */
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-cockfighting-border);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-cockfighting-text-main);
  list-style: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-cockfighting-glow);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 800px;
  margin: 20px auto 40px;
}

/* Global Image Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(26px, 3.5vw, 40px);
  }
  .page-cockfighting__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px !important;
  }

  /* Images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Videos */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Content containers */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .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;
  }

  /* Buttons */
  .page-cockfighting__cta-button,
  .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 {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 30px;
    padding-top: 10px !important;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
  }
  .page-cockfighting__sub-title {
    font-size: 22px;
  }
  .page-cockfighting__text-block, .page-cockfighting__list li, .page-cockfighting__benefit-description {
    font-size: 16px;
  }
  .page-cockfighting__benefits-list, .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__benefit-item, .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 14px;
  }
}