/* style/cockfighting.css */

:root {
  --page-cockfighting-primary-color: #26A9E0;
  --page-cockfighting-secondary-color: #FFFFFF;
  --page-cockfighting-dark-text: #333333;
  --page-cockfighting-light-text: #FFFFFF;
  --page-cockfighting-background-dark: #1a1a1a; /* Body background from shared.css */
  --page-cockfighting-background-light: #f5f5f5;
  --page-cockfighting-login-color: #EA7C07;
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  color: var(--page-cockfighting-light-text);
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-cockfighting-light-text);
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background-light);
  color: var(--page-cockfighting-dark-text);
}

.page-cockfighting__about-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-dark-text);
}

.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block {
  flex: 1;
}

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

.page-cockfighting__image-block {
  flex: 1;
  text-align: center;
}

.page-cockfighting__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background-dark);
  color: var(--page-cockfighting-light-text);
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--page-cockfighting-light-text);
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
  background-color: rgba(38, 169, 224, 0.2);
}

.page-cockfighting__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.5;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background-light);
  color: var(--page-cockfighting-dark-text);
}

.page-cockfighting__benefits-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-dark-text);
}

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

.page-cockfighting__benefit-item {
  background-color: var(--page-cockfighting-secondary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-cockfighting-dark-text);
}

.page-cockfighting__benefit-icon {
  width: 80px; /* Increased size for icons */
  height: 80px;
  margin-bottom: 20px;
  min-width: 80px;
  min-height: 80px;
}

.page-cockfighting__benefit-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__benefit-item p {
  font-size: 0.95em;
  line-height: 1.5;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background-dark);
  color: var(--page-cockfighting-light-text);
}

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

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-cockfighting-light-text);
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__step-item p {
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--page-cockfighting-login-color);
  color: var(--page-cockfighting-light-text);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.9em;
}

.page-cockfighting__btn-small:hover {
  background-color: #d16b06;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background-light);
  color: var(--page-cockfighting-dark-text);
}

.page-cockfighting__tips-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-dark-text);
}

.page-cockfighting__tips-section .page-cockfighting__section-description {
  color: var(--page-cockfighting-dark-text);
}

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

.page-cockfighting__tips-section .page-cockfighting__card {
  background-color: var(--page-cockfighting-secondary-color);
  color: var(--page-cockfighting-dark-text);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__tips-section .page-cockfighting__card:hover {
  background-color: #f0f0f0;
  transform: translateY(-5px);
}

.page-cockfighting__tips-section .page-cockfighting__card-title {
  color: var(--page-cockfighting-primary-color);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background-dark);
  color: var(--page-cockfighting-light-text);
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-cockfighting-secondary-color);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.15);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-cockfighting-primary-color);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change to '−' */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-cockfighting-light-text);
}

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

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

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-primary-color);
  text-align: center;
  color: var(--page-cockfighting-light-text);
}

.page-cockfighting__cta-container {
  max-width: 800px;
}

.page-cockfighting__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--page-cockfighting-login-color);
  color: var(--page-cockfighting-light-text);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: var(--page-cockfighting-secondary-color);
  border: 2px solid var(--page-cockfighting-secondary-color);
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-secondary-color);
  color: var(--page-cockfighting-primary-color);
  transform: translateY(-2px);
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__image-block {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

  .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-large,
  .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__hero-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;
    margin-bottom: 30px;
  }

  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 50px 0;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__card img,
  .page-cockfighting__image-block img,
  .page-cockfighting__benefit-icon,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }

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

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

  .page-cockfighting__cta-description {
    font-size: 1em;
  }
  .page-cockfighting__content-area img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 12px 15px 12px;
  }
}