/* style/cockfighting.css */

/* Thiết kế chung cho trang Đá gà */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Màu chữ nhạt trên nền tối */
  background-color: #0A192F; /* Nền tối theo body */
}

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

.page-cockfighting__section {
  padding: 60px 0;
}

.page-cockfighting__dark-section {
  background-color: #0A192F;
  color: #f0f0f0;
}

.page-cockfighting__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-cockfighting__heading-primary {
  font-size: 3.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.page-cockfighting__heading-secondary {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
  font-weight: 600;
}

.page-cockfighting__heading-tertiary {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__paragraph a {
  color: #FFD700;
  text-decoration: underline;
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-cockfighting__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-cockfighting__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-cockfighting__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; 
  margin-top: 0;
  background-color: #0A192F;
}

.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;
}

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

.page-cockfighting__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 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: #0A192F;
  border: 3px solid #FFD700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-cockfighting__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
  background-color: #f8f9fa;
  color: #333333;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-8px);
}

.page-cockfighting__feature-icon {
  width: 120px; /* Increased size for content images */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Quick Links Section */
.page-cockfighting__quick-links-section {
  background-color: #0A192F;
}

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

/* Game Details Section */
.page-cockfighting__game-details-section {
  background-color: #f8f9fa;
  color: #333333;
}

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

.page-cockfighting__game-type-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-cockfighting__game-type-card:hover {
  transform: translateY(-8px);
}

.page-cockfighting__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-cockfighting__game-type-title {
  font-size: 1.6em;
  color: #0A192F;
  padding: 15px 20px 0;
}

.page-cockfighting__game-type-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: #0A192F;
}

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

.page-cockfighting__promo-card {
  background-color: #1a2a44;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-8px);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-cockfighting__promo-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  padding: 0 20px;
}

/* Safety & Support Section */
.page-cockfighting__safety-support-section {
  background-color: #f8f9fa;
  color: #333333;
}

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

.page-cockfighting__info-card {
  text-align: center;
  padding: 25px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__info-card:hover {
  transform: translateY(-8px);
}

.page-cockfighting__info-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__info-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-cockfighting__info-description {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__call-to-action {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #0A192F;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a2a44; /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0; /* Light text on dark answer background */
}

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

.page-cockfighting__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a2a44;
  border: 1px solid #FFD700;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #f0f0f0;
}

.page-cockfighting__faq-question:hover {
  background: #2a3a54;
  border-color: #e6c200;
}

.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: #f0f0f0;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  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;
  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: #f8f9fa;
  color: #333333;
}

.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-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-cockfighting__blog-card:hover {
  transform: translateY(-8px);
}

.page-cockfighting__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

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

.page-cockfighting__blog-title a {
  text-decoration: none;
  color: #0A192F;
  transition: color 0.3s ease;
}

.page-cockfighting__blog-title a:hover {
  color: #FFD700;
}

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

.page-cockfighting__blog-date {
  font-size: 0.85em;
  color: #888888;
}

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

  .page-cockfighting__heading-secondary {
    font-size: 2.2em;
  }

  .page-cockfighting__products-container {
    grid-template-columns: 1fr; /* Stack product grids */
  }

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

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px; 
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__heading-primary {
    font-size: 2.2em;
  }

  .page-cockfighting__heading-secondary {
    font-size: 1.8em;
  }

  .page-cockfighting__heading-tertiary {
    font-size: 1.5em;
  }

  .page-cockfighting__paragraph,
  .page-cockfighting__list-item,
  .page-cockfighting__feature-description,
  .page-cockfighting__game-type-description,
  .page-cockfighting__promo-description,
  .page-cockfighting__info-description,
  .page-cockfighting__blog-excerpt {
    font-size: 1em;
  }

  .page-cockfighting__products-section {
    padding: 40px 15px;
  }
  
  .page-cockfighting__products-container {
    grid-template-columns: 1fr;
    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;
  }
  
  .page-cockfighting__products-grid--small .page-cockfighting__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  
  .page-cockfighting__products-grid--small .page-cockfighting__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .page-cockfighting__products-grid--large {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .page-cockfighting__products-grid--large .page-cockfighting__product-card {
    aspect-ratio: 1 / 1;
  }
  
  .page-cockfighting__products-grid--large .page-cockfighting__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  
  .page-cockfighting__products-grid--large .page-cockfighting__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__feature-title {
    font-size: 1.3em;
  }

  .page-cockfighting__links-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__game-types {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__promo-grid,
  .page-cockfighting__info-grid,
  .page-cockfighting__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__promo-image,
  .page-cockfighting__blog-image {
    height: 180px;
  }

  /* FAQ Mobile */
  .page-cockfighting__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
    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;
  }

  /* Ensure all images are responsive and do not cause horizontal scroll */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__feature-item,
  .page-cockfighting__game-type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__info-card,
  .page-cockfighting__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}