/* 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-color: #2E7A4E;
  --page-cockfighting-glow-color: #57E38D;
  --page-cockfighting-gold-color: #F2C14E;
  --page-cockfighting-divider-color: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

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

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-cockfighting__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--page-cockfighting-gold-color);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__sub-title {
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__sub-title {
  color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__sub-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-cockfighting__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-cockfighting__text-block strong {
  color: var(--page-cockfighting-gold-color);
}

/* Lists */
.page-cockfighting__list,
.page-cockfighting__ordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__list-item {
  font-size: 17px;
  margin-bottom: 10px;
  color: inherit;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 80px; /* Small top padding, more bottom padding for content */
  min-height: 600px;
  overflow: hidden;
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--page-cockfighting-text-main);
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 4.5vw, 56px); /* Use clamp for H1 */
  font-weight: 800;
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

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

.page-cockfighting__btn-full-width {
  width: 100%;
  max-width: 350px;
  margin-top: 20px;
}

/* Images within content */
.page-cockfighting__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

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

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  border-top: 1px solid var(--page-cockfighting-border-color);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-section {
    padding: 10px 15px 60px;
    min-height: 400px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

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

  .page-cockfighting__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
  }

  .page-cockfighting__sub-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__list-item {
    font-size: 15px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__image-inline {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* FAQ on mobile */
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
    font-size: 14px;
  }
}

/* Ensure no small images and proper sizing for content images */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space */
}

/* No filter on images */
.page-cockfighting img {
  filter: none; /* Reset any potential filter */
}

/* Specific filter for hero image for readability */
.page-cockfighting__hero-image {
  filter: brightness(0.5);
}