/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f9fa;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  color: #ffffff;
  background-color: #007bff;
  overflow: hidden;
}

.page-cockfighting__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Làm tối video để chữ dễ đọc */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f8f9fa;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #ffc107;
  color: #007bff;
  border-color: #ffc107;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border-color: #ffc107;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #ffc107;
  color: #007bff;
  transform: translateY(-2px);
}

.page-cockfighting__btn-tertiary {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.page-cockfighting__btn-tertiary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__dark-bg {
  background-color: #007bff;
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-cockfighting__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  grid-area: text;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-wrapper {
  grid-area: image;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: inherit;
}

.page-cockfighting__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-cockfighting__image:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px 20px;
  color: #007bff;
}

.page-cockfighting__card-description {
  font-size: 1em;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__card .page-cockfighting__btn-tertiary {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__guide-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-cockfighting__guide-item:hover {
  transform: translateX(5px);
}

.page-cockfighting__guide-step-title {
  font-size: 1.3em;
  color: #007bff;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__guide-step-title a {
  color: #007bff;
  text-decoration: none;
}

.page-cockfighting__guide-step-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__guide-item p {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-cockfighting__feature-item {
  background-color: #ffffff;
  border-left: 5px solid #ffc107;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  border-color: #007bff;
}

.page-cockfighting__feature-title {
  font-size: 1.3em;
  color: #007bff;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-cockfighting__feature-item a {
  color: #007bff;
  text-decoration: none;
}

.page-cockfighting__feature-item a:hover {
  text-decoration: underline;
}

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

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f0f8ff;
  color: #007bff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #e0f2ff;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__faq-answer a {
  color: #007bff;
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

.page-cockfighting__cta-final-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 100px 20px;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: #ffc107;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-subtitle {
  color: #f8f9fa;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-cockfighting__content-grid--reverse {
    grid-template-areas: unset;
  }
  .page-cockfighting__text-block, .page-cockfighting__image-wrapper {
    grid-area: unset;
  }
  .page-cockfighting__text-block {
    order: 2;
  }
  .page-cockfighting__image-wrapper {
    order: 1;
  }
  .page-cockfighting__card-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 {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary, .page-cockfighting__btn-tertiary, .page-cockfighting a[class*="button"], .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__cta-buttons, .page-cockfighting__button-group, .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__section {
    padding: 60px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-subtitle {
    font-size: 1em;
  }
  .page-cockfighting__image, .page-cockfighting__card-image, .page-cockfighting video, .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container, .page-cockfighting__video-section, .page-cockfighting__video-container, .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__guide-step-title, .page-cockfighting__feature-title {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.5em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__card-title {
    font-size: 1.2em;
  }
}