/* style/cockfighting.css */

/* Custom CSS Variables for Color Scheme */
:root {
  --pc-primary-color: #C91F17;
  --pc-secondary-color: #E53935;
  --pc-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --pc-card-bg: #D32F2F;
  --pc-page-bg: #B71C1C;
  --pc-text-main: #FFF5E1;
  --pc-border-color: #F2B544;
  --pc-glow-color: #FFCC66;
  --pc-gold-color: #F4D34D;
  --pc-deep-red: #7A0E0E;
  --pc-light-text: #FFF5E1; /* Explicitly light text for dark backgrounds */
  --pc-dark-text: #333333; /* Explicitly dark text for light backgrounds */
  --pc-light-bg-section: #f8f8f8; /* A lighter background for contrast sections */
  --pc-dark-bg-section: var(--pc-page-bg); /* Default dark background for sections */
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--pc-text-main); /* Default text color for the page */
  background-color: var(--pc-page-bg); /* Default page background */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  margin-bottom: 40px;
  background-color: var(--pc-page-bg); /* Ensure consistent background */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--pc-page-bg); /* Content block background */
  color: var(--pc-text-main); /* Content block text color */
}

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--pc-gold-color); /* H1 color */
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--pc-light-text);
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-cockfighting__btn-primary {
  background: var(--pc-button-gradient);
  color: var(--pc-dark-text); /* Dark text on gold gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--pc-gold-color);
  color: var(--pc-dark-text);
}

/* General Section Styling */
.page-cockfighting__about-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-cockfighting__about-section,
.page-cockfighting__faq-section {
  background-color: var(--pc-dark-bg-section);
  color: var(--pc-light-text);
}

.page-cockfighting__guide-section {
  background-color: var(--pc-light-bg-section); /* Lighter background for contrast */
  color: var(--pc-dark-text); /* Dark text for light background */
}

.page-cockfighting__section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--pc-gold-color); /* Consistent title color */
}
.page-cockfighting__guide-section .page-cockfighting__section-title {
  color: var(--pc-deep-red); /* Darker title for light background */
}

.page-cockfighting__about-section p,
.page-cockfighting__faq-section p {
  color: var(--pc-light-text);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}
.page-cockfighting__guide-section p {
  color: var(--pc-dark-text);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Feature Grid */
.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  background-color: var(--pc-card-bg); /* Card background */
  color: var(--pc-light-text); /* Card text color */
}

.page-cockfighting__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--pc-gold-color); /* Feature title color */
}

.page-cockfighting__feature-item p {
  font-size: 16px;
  padding: 0 20px 20px;
  margin: 0;
  color: var(--pc-light-text);
}

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

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-cockfighting__guide-item {
  background-color: #ffffff; /* Guide item background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--pc-dark-text); /* Guide item text color */
}

.page-cockfighting__guide-step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--pc-deep-red); /* Guide step title color */
}

.page-cockfighting__guide-item p {
  font-size: 16px;
  text-align: left;
  margin: 0;
  color: var(--pc-dark-text);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--pc-border-color); /* FAQ border color */
  overflow: hidden;
  background: var(--pc-card-bg); /* FAQ item background */
  color: var(--pc-light-text);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: var(--pc-deep-red); /* Darker red on hover */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--pc-gold-color); /* FAQ question text color */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--pc-gold-color); /* FAQ toggle icon color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}