/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Body background is light */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero */
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: #26A9E0; /* Brand primary color for hero background */
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10; /* Ensure content is above image if any overlap */
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-cockfighting__subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__text-emphasis {
  font-weight: bold;
  color: #ffffff;
}

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

/* General Section Styling */
.page-cockfighting__section {
  padding: 80px 0;
}

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

.page-cockfighting__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
}

.page-cockfighting__highlight {
  font-weight: bold;
  color: #26A9E0;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-cockfighting__list-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-cockfighting__text-center {
  text-align: center;
  margin-top: 40px;
}

/* Card Styles */
.page-cockfighting__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

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

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Grid Layouts */
.page-cockfighting__grid-2-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

/* Step-by-step Guide */
.page-cockfighting__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.page-cockfighting__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-cockfighting__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-cockfighting__btn-link:hover {
  background-color: #d16b00;
}

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

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 8px 18px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  background-color: #1e87b3;
}

/* Dark Background Sections */
.page-cockfighting__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__sub-title {
  color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__paragraph,
.page-cockfighting__dark-bg .page-cockfighting__list-item,
.page-cockfighting__dark-bg .page-cockfighting__highlight {
  color: #f0f0f0;
}

.page-cockfighting__dark-bg .page-cockfighting__list-item::before {
  color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.page-cockfighting__dark-bg .page-cockfighting__card-title {
  color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__card-text {
  color: #f0f0f0;
}

.page-cockfighting__dark-bg .page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.page-cockfighting__dark-bg .page-cockfighting__step-title {
  color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__step-number {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Light Background Sections */
.page-cockfighting__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__light-bg .page-cockfighting__sub-title {
  color: #26A9E0;
}

.page-cockfighting__light-bg .page-cockfighting__highlight {
  color: #26A9E0;
}

/* App Download Section */
.page-cockfighting__app-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__app-info {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  position: relative;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87b3;
  border-color: #1e87b3;
}

.page-cockfighting__btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2.2rem;
  }
  .page-cockfighting__sub-title {
    font-size: 1.6rem;
  }
  .page-cockfighting__paragraph,
  .page-cockfighting__list-item {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .page-cockfighting__subtitle {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-link,
  .page-cockfighting__btn-small,
  .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 !important;
    padding-right: 15px !important;
  }
  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__section {
    padding: 60px 0;
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.4rem;
  }
  .page-cockfighting__paragraph,
  .page-cockfighting__list-item,
  .page-cockfighting__card-text {
    font-size: 0.95rem;
  }
  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__grid-2-columns,
  .page-cockfighting__grid-3-columns,
  .page-cockfighting__step-by-step,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__app-download {
    flex-direction: column;
  }
  .page-cockfighting__app-info, .page-cockfighting__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  
  /* Image and Video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__app-image-wrapper,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__subtitle {
    font-size: 0.9rem;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
}

/* Ensure contrast for dark background elements */
.page-cockfighting__dark-bg .page-cockfighting__highlight {
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__highlight {
  color: #26A9E0;
}