/* style/cockfighting.css */

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

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

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* body already handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--page-bg-color);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

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

.page-cockfighting__hero-content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 40px;
}

.page-cockfighting__hero-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.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: var(--btn-gradient);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

/* General Section Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__registration-guide,
.page-cockfighting__strategies-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-banner {
  padding: 80px 0;
}

.page-cockfighting__dark-section {
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
}

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

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-cockfighting__card-title {
  font-size: 1.6rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

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

/* Registration Guide */
.page-cockfighting__steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--btn-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-cockfighting__step-content h3 {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-cockfighting__step-content p {
  color: var(--text-secondary-color);
  font-size: 1.05rem;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

/* Strategies Section */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__strategy-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__strategy-item p {
  color: var(--text-secondary-color);
  font-size: 1.05rem;
}

/* Advantages Section */
.page-cockfighting__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-cockfighting__advantage-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__advantage-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__advantage-item p {
  color: var(--text-secondary-color);
  font-size: 1.05rem;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.page-cockfighting__faq-qtext {
  color: var(--gold-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--glow-color);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

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

/* CTA Banner */
.page-cockfighting__cta-banner {
  background-color: var(--deep-green-color);
  text-align: center;
  padding: 80px 20px;
}

.page-cockfighting__cta-title {
  font-size: 2.8rem;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__cta-description {
  font-size: 1.3rem;
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content-wrapper {
    padding-top: 20px;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2rem;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }

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

  .page-cockfighting__text-block {
    font-size: 1rem;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__registration-guide,
  .page-cockfighting__strategies-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner {
    padding: 60px 0;
  }

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

  .page-cockfighting__card {
    padding: 25px;
  }

  .page-cockfighting__card-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-cockfighting__step-number {
    margin-bottom: 15px;
  }

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

  .page-cockfighting__faq-item summary {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 12px 20px 15px;
  }

  .page-cockfighting__cta-title {
    font-size: 2rem;
  }

  .page-cockfighting__cta-description {
    font-size: 1.1rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Mobile specific image and container rules */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__container,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__grid-layout,
  .page-cockfighting__steps,
  .page-cockfighting__strategy-list,
  .page-cockfighting__advantage-list,
  .page-cockfighting__faq-list,
  .page-cockfighting__cta-buttons {
    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 {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-cockfighting__faq-item summary {
    font-size: 1rem;
  }
}