/* style/cockfighting.css */

:root {
  --page-cockfighting-bg: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-border: #2E7A4E;
  --page-cockfighting-glow: #57E38D;
  --page-cockfighting-gold: #F2C14E;
  --page-cockfighting-divider: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
  background-color: var(--page-cockfighting-bg);
  color: var(--page-cockfighting-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.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 as body handles header offset */
  overflow: hidden;
  background-color: var(--page-cockfighting-deep-green);
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  z-index: 10;
  position: relative;
  max-width: 800px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

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

.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;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--page-cockfighting-gold);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: var(--page-cockfighting-text-main);
  margin-top: 40px;
  margin-bottom: 25px;
  border-left: 5px solid var(--page-cockfighting-glow);
  padding-left: 15px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure images are responsive by default */
}

.page-cockfighting__intro-section,
.page-cockfighting__types-section,
.page-cockfighting__benefits-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-card-bg);
  padding: 60px 0;
  border-bottom: 1px solid var(--page-cockfighting-divider);
}

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__card-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__benefit-list,
.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1em;
  color: var(--page-cockfighting-text-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-item strong {
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__list-item::before {
  content: '✔';
  color: var(--page-cockfighting-glow);
  font-size: 1.2em;
  font-weight: bold;
}

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

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-bg);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

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

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

  .page-cockfighting__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-answer {
    font-size: 0.95em;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__grid-layout,
  .page-cockfighting__steps-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__registration-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  .page-cockfighting__list-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  .page-cockfighting__list-item::before {
    margin-right: 0;
  }

  .page-cockfighting__step-number {
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
}