/* style/index-popular-cockfighting-matches.css */

/* Base styles for the page content */
.page-index-popular-cockfighting-matches {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d0d0d; /* Slightly lighter than #000 for sections */
}

.page-index-popular-cockfighting-matches__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-popular-cockfighting-matches__section-title {
  font-size: 2.5em;
  color: #FFCC00; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-popular-cockfighting-matches__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index-popular-cockfighting-matches__highlight {
  color: #FFCC00;
  font-weight: bold;
}

.page-index-popular-cockfighting-matches__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-index-popular-cockfighting-matches__btn--primary {
  background-color: #CC3300;
  color: #ffffff;
  border: 2px solid #CC3300;
}

.page-index-popular-cockfighting-matches__btn--primary:hover {
  background-color: #e63900;
  border-color: #e63900;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-index-popular-cockfighting-matches__btn--secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-index-popular-cockfighting-matches__btn--secondary:hover {
  background-color: #FFCC00;
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-index-popular-cockfighting-matches__btn--text {
  background: none;
  border: none;
  color: #FFCC00;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-index-popular-cockfighting-matches__btn--text:hover {
  color: #e6b800;
}

/* HERO Section */
.page-index-popular-cockfighting-matches__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Fixed nav bar spacing */
  margin-top: 0;
  background-color: #000;
}

.page-index-popular-cockfighting-matches__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-index-popular-cockfighting-matches__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Products Section */
.page-index-popular-cockfighting-matches__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #1a1a1a; /* Dark background for contrast */
  border-bottom: 1px solid #333;
}

.page-index-popular-cockfighting-matches__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Front 4 occupy 4 columns, back 2 occupy 2 columns */
  gap: 20px;
}

.page-index-popular-cockfighting-matches__products-grid {
  display: grid;
  gap: 20px;
}

.page-index-popular-cockfighting-matches__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-index-popular-cockfighting-matches__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-index-popular-cockfighting-matches__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a; /* Darker card background */
  border: 3px solid #FFCC00; /* Golden border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-popular-cockfighting-matches__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.page-index-popular-cockfighting-matches__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index-popular-cockfighting-matches__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-index-popular-cockfighting-matches__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Must use cover to fill the box */
  display: block;
}

/* Intro Section */
.page-index-popular-cockfighting-matches__intro-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  text-align: center;
}

.page-index-popular-cockfighting-matches__main-heading {
  font-size: 3.2em;
  color: #FFCC00;
  margin-bottom: 30px;
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-index-popular-cockfighting-matches__cta-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Quick Links Section */
.page-index-popular-cockfighting-matches__quick-links-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.page-index-popular-cockfighting-matches__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-index-popular-cockfighting-matches__link-card {
  display: block;
  padding: 25px;
  background-color: #2a2a2a;
  border: 2px solid #CC3300;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.page-index-popular-cockfighting-matches__link-card:hover {
  background-color: #CC3300;
  border-color: #FFCC00;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Services Section */
.page-index-popular-cockfighting-matches__services-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-index-popular-cockfighting-matches__service-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  border: 1px solid #333;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-index-popular-cockfighting-matches__service-item:hover {
  transform: translateY(-8px);
  border-color: #FFCC00;
}

.page-index-popular-cockfighting-matches__service-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index-popular-cockfighting-matches__service-description {
  font-size: 1.05em;
  color: #cccccc;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index-popular-cockfighting-matches__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
}

.page-index-popular-cockfighting-matches__promotion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-popular-cockfighting-matches__promotion-item {
  background-color: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #CC3300;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.page-index-popular-cockfighting-matches__promotion-item:hover {
  transform: scale(1.02);
  border-color: #FFCC00;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
}

.page-index-popular-cockfighting-matches__promotion-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-popular-cockfighting-matches__promotion-description {
  color: #cccccc;
  font-size: 1em;
}

.page-index-popular-cockfighting-matches__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Safety Section */
.page-index-popular-cockfighting-matches__safety-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  border-top: 1px solid #333;
}

.page-index-popular-cockfighting-matches__safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-popular-cockfighting-matches__safety-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-index-popular-cockfighting-matches__safety-item:hover {
  transform: translateY(-8px);
  border-color: #FFCC00;
}

.page-index-popular-cockfighting-matches__safety-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-popular-cockfighting-matches__safety-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index-popular-cockfighting-matches__safety-description {
  color: #cccccc;
  font-size: 1em;
}

/* FAQ Section */
.page-index-popular-cockfighting-matches__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
}

.page-index-popular-cockfighting-matches__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-popular-cockfighting-matches__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a;
  border: 1px solid #333;
}

.page-index-popular-cockfighting-matches__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a;
  border-bottom: 1px solid #333;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-popular-cockfighting-matches__faq-question:hover {
  background: #3a3a3a;
  border-color: #CC3300;
}

.page-index-popular-cockfighting-matches__faq-question:active {
  background: #4a4a4a;
}

.page-index-popular-cockfighting-matches__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFCC00;
  pointer-events: none;
}

.page-index-popular-cockfighting-matches__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFCC00;
  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: 32px;
  height: 32px;
}

.page-index-popular-cockfighting-matches__faq-item.active .page-index-popular-cockfighting-matches__faq-toggle {
  color: #CC3300;
  transform: rotate(45deg);
}

.page-index-popular-cockfighting-matches__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
}

.page-index-popular-cockfighting-matches__faq-item.active .page-index-popular-cockfighting-matches__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #3a3a3a;
  border-radius: 0 0 8px 8px;
}

/* Blog Section */
.page-index-popular-cockfighting-matches__blog-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  border-top: 1px solid #333;
}

.page-index-popular-cockfighting-matches__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-popular-cockfighting-matches__blog-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-popular-cockfighting-matches__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.page-index-popular-cockfighting-matches__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index-popular-cockfighting-matches__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index-popular-cockfighting-matches__blog-content {
  padding: 20px;
}

.page-index-popular-cockfighting-matches__blog-title {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-popular-cockfighting-matches__blog-excerpt {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.page-index-popular-cockfighting-matches__blog-read-more {
  color: #CC3300;
  font-weight: bold;
  text-decoration: none;
}

.page-index-popular-cockfighting-matches__blog-read-more:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-popular-cockfighting-matches__products-container {
    grid-template-columns: 1fr; /* Mobile: two grids vertically */
  }
  
  .page-index-popular-cockfighting-matches__products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-index-popular-cockfighting-matches__main-heading {
    font-size: 2.8em;
  }

  .page-index-popular-cockfighting-matches__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-popular-cockfighting-matches {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-popular-cockfighting-matches__container {
    padding: 0 15px;
  }

  .page-index-popular-cockfighting-matches__hero-section {
    padding-top: 10px; /* Mobile fixed nav bar spacing */
  }

  .page-index-popular-cockfighting-matches__main-heading {
    font-size: 2em;
  }

  .page-index-popular-cockfighting-matches__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-popular-cockfighting-matches__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-popular-cockfighting-matches__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-index-popular-cockfighting-matches__products-section,
  .page-index-popular-cockfighting-matches__intro-section,
  .page-index-popular-cockfighting-matches__quick-links-section,
  .page-index-popular-cockfighting-matches__services-section,
  .page-index-popular-cockfighting-matches__promotions-section,
  .page-index-popular-cockfighting-matches__safety-section,
  .page-index-popular-cockfighting-matches__faq-section,
  .page-index-popular-cockfighting-matches__blog-section {
    padding: 40px 0;
  }

  .page-index-popular-cockfighting-matches__products-container {
    grid-template-columns: 1fr; /* Mobile: two grids vertically */
    gap: 15px;
  }
  
  /* Front 4 images - 2x2 grid, square */
  .page-index-popular-cockfighting-matches__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-index-popular-cockfighting-matches__products-grid--small .page-index-popular-cockfighting-matches__product-card {
    aspect-ratio: 1 / 1; /* Square */
  }
  
  .page-index-popular-cockfighting-matches__products-grid--small .page-index-popular-cockfighting-matches__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square */
  }
  
  .page-index-popular-cockfighting-matches__products-grid--small .page-index-popular-cockfighting-matches__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Must use cover to fill the box */
  }
  
  /* Back 2 large images - each on its own line, square */
  .page-index-popular-cockfighting-matches__products-grid--large {
    grid-template-columns: 1fr; /* Each card on its own line */
    gap: 15px;
  }
  
  .page-index-popular-cockfighting-matches__products-grid--large .page-index-popular-cockfighting-matches__product-card {
    aspect-ratio: 1 / 1; /* Square */
  }
  
  .page-index-popular-cockfighting-matches__products-grid--large .page-index-popular-cockfighting-matches__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square */
  }
  
  .page-index-popular-cockfighting-matches__products-grid--large .page-index-popular-cockfighting-matches__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Must use cover to fill the box */
  }

  .page-index-popular-cockfighting-matches__link-card {
    font-size: 1em;
    padding: 20px;
  }

  .page-index-popular-cockfighting-matches__service-grid,
  .page-index-popular-cockfighting-matches__promotion-list,
  .page-index-popular-cockfighting-matches__safety-grid,
  .page-index-popular-cockfighting-matches__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-popular-cockfighting-matches__service-title,
  .page-index-popular-cockfighting-matches__promotion-title,
  .page-index-popular-cockfighting-matches__safety-title,
  .page-index-popular-cockfighting-matches__blog-title {
    font-size: 1.4em;
  }

  .page-index-popular-cockfighting-matches__faq-question {
    padding: 15px;
  }

  .page-index-popular-cockfighting-matches__faq-question h3 {
    font-size: 1.1em;
  }

  .page-index-popular-cockfighting-matches__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-index-popular-cockfighting-matches__faq-item.active .page-index-popular-cockfighting-matches__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive and don't cause horizontal scroll */
  .page-index-popular-cockfighting-matches img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-popular-cockfighting-matches__section,
  .page-index-popular-cockfighting-matches__card,
  .page-index-popular-cockfighting-matches__container,
  .page-index-popular-cockfighting-matches__product-card,
  .page-index-popular-cockfighting-matches__service-item,
  .page-index-popular-cockfighting-matches__promotion-item,
  .page-index-popular-cockfighting-matches__safety-item,
  .page-index-popular-cockfighting-matches__blog-card,
  .page-index-popular-cockfighting-matches__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-popular-cockfighting-matches__hero-section .page-index-popular-cockfighting-matches__hero-container,
  .page-index-popular-cockfighting-matches__products-section .page-index-popular-cockfighting-matches__products-container {
    padding-left: 0;
    padding-right: 0;
  }
}