/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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: #1a1a2e; /* Inherit from body or a slightly different dark tone */
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting__centered-text {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: #1a1a2e;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
  margin-bottom: 40px; /* Space between image and text */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #26A9E0; /* Brand color */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  background-color: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
}

.page-cockfighting__btn-small:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
}

/* History and Culture Section */
.page-cockfighting__history-culture-section {
  padding: 80px 0;
}

.page-cockfighting__grid-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__text-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-cockfighting__image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: #0d0d1e;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
}

.page-cockfighting__numbered-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__numbered-list li {
  counter-increment: guide-counter;
  margin-bottom: 30px;
  position: relative;
  padding-left: 70px;
}

.page-cockfighting__numbered-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
}

.page-cockfighting__list-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Strategies and Tips Section */
.page-cockfighting__strategies-tips-section {
  padding: 80px 0;
  background-color: #0d0d1e;
}

.page-cockfighting__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__bullet-list li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #26A9E0;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 80px 0;
}

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Responsibility Section */
.page-cockfighting__responsibility-section {
  padding: 80px 0;
  background-color: #0d0d1e;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Lighter brand color background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary native styling */
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image {
    max-height: 500px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__grid-layout {
    flex-direction: column;
  }
  .page-cockfighting__image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__hero-section {
    min-height: 450px;
    padding: 10px 0 40px 0;
  }
  .page-cockfighting__hero-image {
    max-height: 400px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }
  .page-cockfighting__card-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__numbered-list li {
    padding-left: 60px;
  }
  .page-cockfighting__numbered-list li::before {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  .page-cockfighting__list-title {
    font-size: 1.4rem;
  }
  .page-cockfighting__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__feature-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    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-section,
  .page-cockfighting__grid-layout,
  .page-cockfighting__card-grid,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    min-height: 350px;
  }
  .page-cockfighting__hero-image {
    max-height: 300px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.2rem, 7vw, 2rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.5rem;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  .page-cockfighting__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-cockfighting__list-title {
    font-size: 1.2rem;
  }
}