/* style/cockfighting.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-button-color: #EA7C07;
  --background-color-light: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
}

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

.page-cockfighting__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

.page-cockfighting__dark-bg h1,
.page-cockfighting__dark-bg h2,
.page-cockfighting__dark-bg h3,
.page-cockfighting__dark-bg h4,
.page-cockfighting__dark-bg h5,
.page-cockfighting__dark-bg h6 {
  color: var(--text-color-light);
}

.page-cockfighting__dark-bg a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-cockfighting__dark-bg a:hover {
  color: #f0f0f0;
}

.page-cockfighting__light-bg a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-cockfighting__light-bg a:hover {
  color: #1a7fb3;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  min-height: 200px;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  min-width: 180px;
}

.page-cockfighting__btn-primary {
  background-color: var(--login-button-color);
  color: var(--secondary-color);
  border: 2px solid var(--login-button-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: #c76706;
  border-color: #c76706;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

.page-cockfighting__content-wrapper p,
.page-cockfighting__content-wrapper ul,
.page-cockfighting__content-wrapper ol {
  max-width: 550px;
  flex: 1 1 45%;
  font-size: 1.1rem;
}

.page-cockfighting__image {
  flex: 1 1 45%;
  max-width: 550px;
  height: auto;
  border-radius: 8px;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__image--left {
  order: -1;
}

.page-cockfighting__content-wrapper--reverse .page-cockfighting__image--left {
  order: 1;
}

.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-cockfighting__guide-steps {
  flex: 1 1 45%;
  max-width: 550px;
}

.page-cockfighting__guide-subtitle {
  font-size: 1.4rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-cockfighting__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  text-align: left;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  color: var(--text-color-dark);
}

.page-cockfighting__faq-item[open] {
  background-color: #f9f9f9;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: var(--text-color-dark);
  list-style: none;
  user-select: none;
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1rem;
  color: #555555;
}

.page-cockfighting__conclusion-section .page-cockfighting__content-wrapper p {
  max-width: 100%;
  flex: 1 1 100%;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__content-wrapper p,
  .page-cockfighting__content-wrapper ul,
  .page-cockfighting__content-wrapper ol,
  .page-cockfighting__image,
  .page-cockfighting__guide-steps {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-cockfighting__image--left {
    order: 0; /* Reset order for smaller screens */
  }

  .page-cockfighting__content-wrapper--reverse .page-cockfighting__image--left {
    order: 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
  }

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

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__feature-grid {
    gap: 20px;
  }

  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__feature-grid,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 1rem;
  }
}