/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default light text for dark body background */
  background-color: #000;
}

/* Fixed navigation bar spacing for main content */
.page-cockfighting__hero-section {
  padding-top: 120px; /* Adjust for fixed header */
}

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-cockfighting__section-subtitle {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__dark-section {
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  background: linear-gradient(135deg, #1A1A1A, #000000);
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* How-To Section */
.page-cockfighting__how-to-section {
  background-color: #000;
  padding: 60px 0;
}

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

.page-cockfighting__step-item {
  background-color: #1A1A1A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.page-cockfighting__step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFD700;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__step-icon img {
  width: 60px; /* Adjusted icon size within the circle */
  height: 60px; /* Adjusted icon size within the circle */
  object-fit: contain;
}

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

.page-cockfighting__step-item p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-cockfighting__btn-small {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-cockfighting__btn-small:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  padding: 60px 0;
}

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

.page-cockfighting__bet-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__bet-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__bet-card-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__bet-card p {
  font-size: 16px;
  color: #cccccc;
}

/* Tips Section */
.page-cockfighting__tips-section {
  background-color: #000;
  padding: 60px 0;
}

.page-cockfighting__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__tip-list li {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-cockfighting__tip-list li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  padding: 60px 0;
}

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

.page-cockfighting__advantage-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__advantage-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-card p {
  font-size: 16px;
  color: #cccccc;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #000;
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1A1A1A;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background: #2a2a2a;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Plus becomes an X */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #0d0d0d;
  color: #cccccc;
  border-top: 1px solid #333;
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Quick Links Section */
.page-cockfighting__quick-links-section {
  padding: 60px 0;
}

.page-cockfighting__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-cockfighting__quick-link-btn {
  display: block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__quick-link-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 40px;
  }
  .page-cockfighting__hero-description {
    font-size: 18px;
  }
  .page-cockfighting__section-title {
    font-size: 30px;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-wrapper {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 100px; /* Adjust for mobile fixed header */
    min-height: 400px;
  }
  .page-cockfighting__container {
    padding: 30px 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 32px;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
  }
  .page-cockfighting__hero-btn {
    padding: 12px 25px;
    font-size: 18px;
  }
  .page-cockfighting__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block p,
  .page-cockfighting__tip-list li,
  .page-cockfighting__bet-card p,
  .page-cockfighting__advantage-card p,
  .page-cockfighting__faq-answer p {
    font-size: 15px;
  }
  .page-cockfighting__step-item {
    padding: 20px;
  }
  .page-cockfighting__step-icon {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__step-icon img {
    width: 50px;
    height: 50px;
  }
  .page-cockfighting__step-title {
    font-size: 19px;
  }
  .page-cockfighting__btn-small {
    padding: 8px 20px;
    font-size: 15px;
  }
  .page-cockfighting__bet-card-title,
  .page-cockfighting__advantage-title {
    font-size: 19px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting__quick-link-btn {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* Mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__how-to-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__quick-links-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}