/* style/cockfighting.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #1a1a2e;
  --background-light: #f8f9fa;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherited from shared.css, set explicitly for clarity */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-cockfighting a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting a:hover {
  color: #ffda6a; /* Lighter shade for hover */
  text-decoration: underline;
}

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

.page-cockfighting__hero-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__main-title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-dark-bg);
}

.page-cockfighting__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.page-cockfighting__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-color-light-bg);
}

.page-cockfighting__btn-secondary:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light-bg);
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-dark-bg);
}

.page-cockfighting__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-light-bg);
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__description,
.page-cockfighting__light-bg .page-cockfighting__text-block p,
.page-cockfighting__light-bg .page-cockfighting__feature-title,
.page-cockfighting__light-bg .page-cockfighting__feature-item p,
.page-cockfighting__light-bg .page-cockfighting__checklist-item {
  color: var(--text-color-light-bg);
}

.page-cockfighting__light-bg a {
  color: var(--primary-color);
}

.page-cockfighting__light-bg a:hover {
  color: #0056b3;
}

.page-cockfighting__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid .page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__content-grid .page-cockfighting__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

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

.page-cockfighting__card {
  background: var(--card-bg-dark-mode);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-color-dark-bg);
}

.page-cockfighting__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-dark-bg);
}

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

.page-cockfighting__step-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-color-light-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__step-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-color-light-bg);
}

.page-cockfighting__step-button {
  margin-top: auto; /* Push button to bottom */
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__promo-card {
  background: var(--card-bg-dark-mode);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-color-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__promo-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-cockfighting__promo-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-dark-bg);
}

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

.page-cockfighting__feature-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-color-light-bg);
}

.page-cockfighting__feature-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-cockfighting__feature-item p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-color-light-bg);
}

.page-cockfighting__checklist {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-cockfighting__checklist-item {
  background: var(--card-bg-dark-mode);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 17px;
  display: flex;
  align-items: flex-start;
  color: var(--text-color-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__checklist-item::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 38px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__hero-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-cockfighting__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__card-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-item {
    padding: 25px;
  }
  .page-cockfighting__card-image {
    height: 180px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__step-icon {
    width: 100px;
    height: 100px;
  }
  .page-cockfighting__step-title {
    font-size: 20px;
  }
  .page-cockfighting__checklist-item {
    font-size: 15px;
    padding: 15px 20px;
  }
  .page-cockfighting__checklist-item::before {
    font-size: 18px;
    margin-right: 10px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__content-grid,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__card-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-grid,
  .page-cockfighting__promo-card,
  .page-cockfighting__features-grid,
  .page-cockfighting__feature-item,
  .page-cockfighting__checklist {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 28px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
  }
  .page-cockfighting__cta-button {
    font-size: 15px;
    padding: 10px 15px;
  }
  .page-cockfighting__card-title {
    font-size: 18px;
  }
  .page-cockfighting__step-title {
    font-size: 18px;
  }
  .page-cockfighting__promo-title {
    font-size: 20px;
  }
}