/* 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: var(--dark-bg-1); /* Inherited from shared.css */
}

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

.page-cockfighting__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #FFD700; /* Gold for main title */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #CC0000; /* Red for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-cockfighting__description,
.page-cockfighting__text-block,
.page-cockfighting__text-center,
.page-cockfighting__small-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-cockfighting__text-center {
  text-align: center;
}

.page-cockfighting__small-text {
  font-size: 0.9em;
  color: #cccccc;
}

.page-cockfighting__highlight-text {
  color: #FFD700;
  font-weight: bold;
}

.page-cockfighting a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting a:hover {
  color: #CC0000;
  text-decoration: underline;
}

/* --- Module 1: Introduction Section --- */
.page-cockfighting__introduction-section {
  padding: 120px 0 60px; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.8), rgba(255, 215, 0, 0.6));
  position: relative;
  z-index: 1;
}

.page-cockfighting__introduction-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:cockfighting_intro_bg:dagatructuyen,background,pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: -1;
}

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

.page-cockfighting__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__feature-text {
  font-size: 0.95em;
  color: #e0e0e0;
  text-align: center;
}

/* --- Module 2: Quick Access Section --- */
.page-cockfighting__quick-access-section {
  padding: 60px 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-cockfighting__access-button {
  display: block;
  padding: 15px 25px;
  background-color: #CC0000; /* Red button */
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #CC0000;
}

.page-cockfighting__access-button:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #333333; /* Dark text on gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border-color: #FFD700;
}

/* --- Module 3: Cockfighting Details Section --- */
.page-cockfighting__cockfighting-details-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__image-content-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

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

.page-cockfighting__image-caption {
  background-color: rgba(0, 0, 0, 0.7);
  color: #f0f0f0;
  padding: 10px 15px;
  font-size: 0.9em;
  text-align: center;
}

.page-cockfighting__styled-list {
  list-style: none;
  padding: 0;
  margin-left: 20px;
  color: #e0e0e0;
}

.page-cockfighting__styled-list li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 30px;
  font-size: 1.05em;
}

.page-cockfighting__styled-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #CC0000;
  font-weight: bold;
  font-size: 1.2em;
}

.page-cockfighting__list-highlight {
  color: #FFD700;
}

/* --- Module 4: Promotions Section --- */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
}

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

.page-cockfighting__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
  border: 1px solid rgba(204, 0, 0, 0.3);
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.5);
}

.page-cockfighting__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__promo-description {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-cockfighting__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #CC0000;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-cockfighting__promo-button:hover {
  background-color: #FFD700;
  color: #333333;
  transform: translateY(-2px);
}

/* --- Module 5: Security & Support Section --- */
.page-cockfighting__security-support-section {
  padding: 60px 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-cockfighting__security-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(204, 0, 0, 0.3);
}

.page-cockfighting__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(204, 0, 0, 0.7));
}

.page-cockfighting__security-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__security-text {
  font-size: 0.9em;
  color: #e0e0e0;
}

.page-cockfighting__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-cockfighting__contact-link {
  color: #CC0000;
  font-weight: bold;
}

.page-cockfighting__contact-link:hover {
  color: #FFD700;
}

/* --- Module 6: FAQ Section --- */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-cockfighting__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #CC0000;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #CC0000;
  border-radius: 50%;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #FFD700;
  transform: rotate(180deg);
  border-color: #FFD700;
}

.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 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  color: #e0e0e0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

/* --- Module 7: Blog Section --- */
.page-cockfighting__blog-section {
  padding: 60px 0 80px;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-cockfighting__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-cockfighting__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-cockfighting__blog-content {
  padding: 20px;
}

.page-cockfighting__blog-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__blog-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-cockfighting__blog-title a:hover {
  color: #CC0000;
  text-decoration: underline;
}

.page-cockfighting__blog-summary {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-cockfighting__read-more {
  display: inline-block;
  color: #CC0000;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__read-more:hover {
  color: #FFD700;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.6em;
  }
  .page-cockfighting__image-content-layout {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-wrapper {
    order: -1; /* Image appears first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__introduction-section {
    padding-top: 100px; /* Mobile padding-top for fixed header */
    padding-bottom: 40px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.4em;
  }
  .page-cockfighting__description,
  .page-cockfighting__text-block,
  .page-cockfighting__text-center,
  .page-cockfighting__small-text {
    font-size: 1em;
    margin-bottom: 15px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__security-item,
  .page-cockfighting__blog-card {
    padding: 20px;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__security-icon {
    width: 70px;
    height: 70px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__security-title {
    font-size: 1.2em;
  }
  .page-cockfighting__access-button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-cockfighting__image-wrapper {
    margin-bottom: 20px;
  }
  .page-cockfighting__styled-list li {
    font-size: 1em;
    margin-bottom: 10px;
  }
  .page-cockfighting__promo-image {
    height: 180px;
  }
  .page-cockfighting__promo-title {
    font-size: 1.3em;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
  .page-cockfighting__blog-image {
    height: 180px;
  }
  .page-cockfighting__blog-title {
    font-size: 1.2em;
  }
  /* Mobile image responsive styles (mandatory) */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__feature-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__security-item,
  .page-cockfighting__blog-card,
  .page-cockfighting__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}