/* style/cockfighting.css */

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

/* Base styles for the page */
.page-cockfighting {
  background-color: var(--bg-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-cockfighting__hero-video-link {
  display: block;
  width: 100%;
  max-width: 1920px; /* Adjust based on hero image max width */
  cursor: pointer;
  margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure width for flex layout */
  max-width: 600px; /* Limit button group width */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0 15px; /* Add padding for desktop too */
}

.page-cockfighting__cta-buttons--inline {
  justify-content: flex-start;
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  min-width: 150px; /* Ensure minimum button width */
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
}

/* General Sections */
.page-cockfighting__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__section-subtitle {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-cockfighting__text-block p {
  margin-bottom: 1em;
  color: var(--text-secondary-color);
}

.page-cockfighting__text-block ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: var(--text-secondary-color);
}

.page-cockfighting__text-block ul li {
  margin-bottom: 0.5em;
}

.page-cockfighting__image-wrapper {
  margin: 40px auto;
  text-align: center;
  max-width: 1000px; /* Max width for content images */
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--divider-color);
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__faq-item details {
  background-color: transparent;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  list-style: none; /* For details summary */
}

.page-cockfighting__faq-question::-webkit-details-marker,
.page-cockfighting__faq-question::marker {
  display: none; /* Hide default marker for details summary */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding-bottom: 20px;
  color: var(--text-secondary-color);
  font-size: 1em;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cockfighting__main-title {
    font-size: 2em; /* Adjust H1 size for mobile */
  }

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

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

  .page-cockfighting__cta-buttons--inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-cockfighting__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

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

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

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Ensure all content containers adapt to mobile */
  .page-cockfighting__section,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__hero-content,
  .page-cockfighting__faq-list,
  .page-cockfighting__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px 0;
  }

  .page-cockfighting__faq-answer {
    font-size: 0.95em;
  }
}