/* style/cockfighting.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --dark-bg: #0d0d0d; /* Assuming a dark background from shared.css */
  --light-text: #ffffff;
  --dark-text: #333333;
}

.page-cockfighting {
  color: var(--light-text); /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Ensure consistency if main content area has its own bg */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px; /* Adjust padding as needed */
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: var(--primary-color);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--secondary-color);
  z-index: 1;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-cockfighting__description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: var(--login-color); /* Use specific login color */
  color: var(--secondary-color);
  border: 2px solid var(--login-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: darken(var(--login-color), 10%);
  border-color: darken(var(--login-color), 10%);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  color: var(--dark-text); /* Dark text for light background */
}

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

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

.page-cockfighting__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__inline-link {
  color: var(--login-color);
  text-decoration: none;
  font-weight: 600;
}

.page-cockfighting__inline-link:hover {
  text-decoration: underline;
}

.page-cockfighting__types-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for card on dark section */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--light-text);
}

.page-cockfighting__types-section .page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
}

.page-cockfighting__advantages-section .page-cockfighting__card {
  background-color: var(--secondary-color);
  color: var(--dark-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__card-title,
.page-cockfighting__advantage-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-cockfighting__card-text,
.page-cockfighting__advantage-text {
  font-size: 1rem;
  line-height: 1.6;
  color: inherit;
}

.page-cockfighting__guide-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__steps-list {
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  color: var(--dark-text);
}

.page-cockfighting__step-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__step-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark-text);
}

.page-cockfighting__grid-layout--advantages {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-cockfighting__advantage-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: var(--dark-text);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--light-text);
  background-color: rgba(255, 255, 255, 0.05);
  list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

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

  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 50px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__advantage-text,
  .page-cockfighting__step-text,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .page-cockfighting__grid-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__card,
  .page-cockfighting__advantage-item,
  .page-cockfighting__step-item {
    padding: 25px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__advantage-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.5rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }

  /* Mobile image responsiveness */
  .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__hero-image-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__steps-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-cockfighting__hero-section .page-cockfighting__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  /* Video responsiveness (if any) */
  .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__video-section {
    padding-top: 10px !important;
  }
}