/* style/cockfighting.css */

/* Base Styles for Page Cockfighting */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000; /* Assuming body background from shared.css is #000 */
  padding-top: 0; /* HERO section handles top spacing */
}

.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__heading {
  color: #ffc107; /* Gold for headings */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-cockfighting__heading--h1 {
  font-size: 36px;
  color: #ffc107; /* Gold for main heading */
}

.page-cockfighting__heading--h2 {
  font-size: 30px;
  color: #ffc107;
}

.page-cockfighting__heading--h3 {
  font-size: 24px;
  color: #ffc107;
}

.page-cockfighting__heading--light {
  color: #ffffff;
}

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

.page-cockfighting__text--light {
  color: #ffffff;
}

.page-cockfighting__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
  border: none;
}

.page-cockfighting__button--primary {
  background-color: #007bff; /* Primary blue */
  color: #ffffff; /* White text */
}

.page-cockfighting__button--primary:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.page-cockfighting__button--secondary {
  background-color: #ffc107; /* Secondary gold */
  color: #000000; /* Black text */
}

.page-cockfighting__button--secondary:hover {
  background-color: #e0a800;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-cockfighting__button--small {
  padding: 8px 18px;
  font-size: 14px;
}

.page-cockfighting__button--center {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: #000; /* Ensure dark background */
}

.page-cockfighting__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Products Showcase Section */
.page-cockfighting__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #0d0d0d; /* Slightly lighter dark background for contrast */
}

.page-cockfighting__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: First 4 cards take 4fr, last 2 take 2fr */
  gap: 20px;
}

.page-cockfighting__products-grid {
  display: grid;
  gap: 20px;
}

.page-cockfighting__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-cockfighting__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-cockfighting__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white for dark background */
  border: 3px solid #ffd700; /* Gold border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.page-cockfighting__product-card-image {
  width: 100%;
  height: 100%; /* Take full height of card */
  overflow: hidden;
}

.page-cockfighting__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Section */
.page-cockfighting__intro-section {
  background-color: #000;
  color: #f0f0f0;
}

.page-cockfighting__image-block {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  display: block;
}

/* Quick Access Section */
.page-cockfighting__quick-access-section {
  background-color: #007bff; /* Brand blue background */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-cockfighting__quick-link-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  text-align: left;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-cockfighting__quick-link-title {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #ffc107;
}

.page-cockfighting__quick-link-description {
  font-size: 15px;
  color: #f0f0f0;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  background-color: #000;
  color: #f0f0f0;
}

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

.page-cockfighting__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  padding-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-cockfighting__game-title {
  font-size: 22px;
  color: #ffc107;
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-cockfighting__game-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: #ffc107; /* Brand gold background */
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-cockfighting__promotions-section .page-cockfighting__heading--h2 {
  color: #000000; /* Black heading on gold background */
}

.page-cockfighting__promotions-section .page-cockfighting__text {
  color: #333333;
}

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

.page-cockfighting__promo-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  padding-bottom: 20px;
  color: #333333;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-cockfighting__promo-title {
  font-size: 22px;
  color: #007bff;
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-cockfighting__promo-description {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Security & Support Section */
.page-cockfighting__security-support-section {
  background-color: #000; /* Dark background */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-cockfighting__info-block {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__info-block img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Adjust icon color for dark background if needed, but not changing original image color. Assuming these are vector icons that can be recolored */
}

.page-cockfighting__info-title {
  font-size: 22px;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-cockfighting__info-description {
  font-size: 15px;
  color: #cccccc;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  color: #f0f0f0;
  padding: 80px 0;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.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 15px;
  opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
  text-align: left;
}

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

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

.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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffc107; /* Gold for FAQ questions */
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  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;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Blog Section */
.page-cockfighting__blog-section {
  background-color: #000;
  color: #f0f0f0;
  padding: 80px 0;
}

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

.page-cockfighting__blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  padding-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-cockfighting__blog-title {
  font-size: 20px;
  color: #ffc107;
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-cockfighting__blog-link {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__blog-link:hover {
  color: #ffd700;
  text-decoration: underline;
}

.page-cockfighting__blog-excerpt {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-cockfighting__blog-date {
  font-size: 13px;
  color: #999999;
  padding: 0 20px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__heading--h1 {
    font-size: 32px;
  }

  .page-cockfighting__heading--h2 {
    font-size: 26px;
  }

  .page-cockfighting__heading--h3 {
    font-size: 20px;
  }

  .page-cockfighting__products-container {
    grid-template-columns: 1fr; /* Stack product grids vertically */
  }
  
  .page-cockfighting__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-cockfighting__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-cockfighting__quick-links-grid,
  .page-cockfighting__game-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__info-grid,
  .page-cockfighting__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-cockfighting__hero-section,
  .page-cockfighting__products-section,
  .page-cockfighting__section {
    padding: 40px 0;
  }
  
  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__heading--h1 {
    font-size: 28px;
  }

  .page-cockfighting__heading--h2 {
    font-size: 24px;
  }

  .page-cockfighting__heading--h3 {
    font-size: 18px;
  }

  .page-cockfighting__text {
    font-size: 15px;
  }

  .page-cockfighting__button {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Mobile HERO */
  .page-cockfighting__hero-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  
  /* Mobile Products Showcase */
  .page-cockfighting__products-container {
    grid-template-columns: 1fr; /* Stack product grids vertically */
    gap: 15px;
  }
  
  .page-cockfighting__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-cockfighting__products-grid--small .page-cockfighting__product-card {
    aspect-ratio: 1 / 1; /* Square cards */
  }
  
  .page-cockfighting__products-grid--small .page-cockfighting__product-card-image {
    height: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
  
  .page-cockfighting__products-grid--large {
    grid-template-columns: 1fr; /* Each large card takes full width */
    gap: 15px;
  }
  
  .page-cockfighting__products-grid--large .page-cockfighting__product-card {
    aspect-ratio: 1 / 1; /* Square cards */
  }
  
  .page-cockfighting__products-grid--large .page-cockfighting__product-card-image {
    height: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .page-cockfighting__image-block {
    margin: 20px auto;
  }

  .page-cockfighting__quick-links-grid,
  .page-cockfighting__game-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__info-grid,
  .page-cockfighting__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__game-card img,
  .page-cockfighting__promo-card img,
  .page-cockfighting__blog-card img {
    height: 180px;
  }

  /* FAQ Mobile */
  .page-cockfighting__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-cockfighting__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-cockfighting__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  /* General mobile image and container fix */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__products-section,
  .page-cockfighting__quick-access-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Contrast Fixes (if needed) */
.page-cockfighting__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-cockfighting__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}