/* style/cockfighting.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --page-bg: #0A0A0A;
  --text-main-dark-bg: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --dark-text: #333333;
  --light-text: #ffffff;
  --body-bg: #f8f8f8; /* Body background from shared.css */
}

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

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

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-bg); /* Use dark page bg for hero */
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width on desktop */
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-main-dark-bg); /* Light text on dark hero background */
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 2.5em); /* Responsive font size for H1 */
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

/* General Section Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__rules-section,
.page-cockfighting__strategies-section,
.page-cockfighting__security-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-cockfighting__section-title--light {
  color: var(--secondary-color); /* Light title on dark background */
}

.page-cockfighting__section-title--light::after {
  background-color: var(--primary-color);
}

.page-cockfighting__sub-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__sub-title--light {
  color: var(--secondary-color);
}

.page-cockfighting p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Background variations */
.page-cockfighting__light-bg {
  background-color: var(--body-bg);
  color: var(--dark-text);
}

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

.page-cockfighting__text-main {
  color: var(--text-main-dark-bg); /* Specific for text on dark backgrounds */
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 1em;
}

.page-cockfighting__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-cockfighting__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-cockfighting__list--light li::before {
  color: var(--secondary-color);
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main-dark-bg);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: var(--card-bg);
  border-radius: 0 0 5px 5px;
  color: var(--text-main-dark-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }
  
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

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

  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__cta-button--large {
    padding: 15px 40px;
    font-size: 18px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__security-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.4em;
  }

  .page-cockfighting p,
  .page-cockfighting__list li,
  .page-cockfighting__faq-qtext {
    font-size: 1em;
  }

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

  .page-cockfighting__introduction-section .page-cockfighting__container,
  .page-cockfighting__rules-section .page-cockfighting__container,
  .page-cockfighting__strategies-section .page-cockfighting__container,
  .page-cockfighting__security-section .page-cockfighting__container,
  .page-cockfighting__why-choose-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  .page-cockfighting__faq-toggle { font-size: 20px; width: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
}