/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

/* HERO Section Styles */
.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, header offset handled by body */
  background: linear-gradient(135deg, #26A9E0, #5ac8fa);
  color: #FFFFFF;
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0F7FA;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-cockfighting__cta-button:hover {
  background: #ff8c1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
  color: #26A9E0; /* Primary color */
}

.page-cockfighting__section.page-cockfighting__dark-section {
  background-color: #F0F8FF; /* Light blue tint for contrast */
  color: #333333;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #26A9E0;
}

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

.page-cockfighting p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555555;
}

.page-cockfighting ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  display: inline-block; /* Center the list */
}

.page-cockfighting ul li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #555555;
}

.page-cockfighting ul li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-cockfighting__type-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.page-cockfighting__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.page-cockfighting__step-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1;
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333333;
}

.page-cockfighting__link-button {
  display: inline-block;
  margin-top: 15px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__link-button:hover {
  color: #1a7bbd;
  text-decoration: underline;
}

.page-cockfighting__button-group {
  margin-top: 50px;
  text-align: center;
}

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

.page-cockfighting__benefit-item {
  background: #F0F8FF;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-cockfighting__benefit-item:hover {
  background-color: #e6f7ff;
}

.page-cockfighting__benefit-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__image-center {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.page-cockfighting__image-center img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.page-cockfighting__promo-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* FAQ Styles */
.page-cockfighting__faq-section {
  background-color: #F0F8FF;
  color: #333333;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #26A9E0;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
}

.page-cockfighting__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  text-align: left;
}

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

.page-cockfighting__faq-image {
    margin-top: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__section {
    padding: 60px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(26px, 5vw, 42px);
  }
  .page-cockfighting__intro-text {
    font-size: clamp(15px, 2.5vw, 18px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(22px, 4vw, 34px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-cockfighting__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__container,
  .page-cockfighting__grid-2-cols,
  .page-cockfighting__step-list,
  .page-cockfighting__grid-benefits,
  .page-cockfighting__promotion-list,
  .page-cockfighting__faq-list,
  .page-cockfighting__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting p, .page-cockfighting ul li {
    font-size: 16px;
  }
  .page-cockfighting__card-title, .page-cockfighting__step-title, .page-cockfighting__benefit-title {
    font-size: 20px;
  }
  .page-cockfighting__step-number {
    font-size: 40px;
  }
  .page-cockfighting__image-wrapper img, .page-cockfighting__image-center img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
  .page-cockfighting__cta-buttons, .page-cockfighting__button-group, .page-cockfighting__btn-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-cockfighting__intro-text {
    font-size: clamp(14px, 3vw, 16px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(20px, 5vw, 30px);
  }
  .page-cockfighting__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
}