/* style/cockfighting.css */

/* Variables for consistency */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
}

/* Base styles for the page content */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Dark body background #121212, so light text */
  background-color: var(--bg-dark);
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-cockfighting__text-block {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1em;
  line-height: 1.7;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  color: var(--bg-dark);
  border-color: #e6c200;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  max-width: 800px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

/* About Section */
.page-cockfighting__about-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-cockfighting__content-wrapper {
  color: var(--text-light);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-cockfighting__type-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  color: var(--text-light);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__card-description {
  font-size: 0.95em;
  color: var(--text-light);
  padding: 0 15px;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

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

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

.page-cockfighting__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__step-item .page-cockfighting__btn-primary,
.page-cockfighting__step-item .page-cockfighting__btn-secondary {
  margin-top: auto;
  width: 100%;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__list-item {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-light);
}

.page-cockfighting__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__list-text {
  font-size: 1em;
  color: var(--text-light);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.page-cockfighting__promo-card .page-cockfighting__card-image {
  height: 200px;
  margin-bottom: 15px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  flex-grow: 1;
  padding: 0 15px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin: 15px auto 0 auto;
  width: calc(100% - 30px);
}

/* Safety Section */
.page-cockfighting__safety-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__safety-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__safety-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__safety-text {
  flex: 1;
  color: var(--text-light);
}

.page-cockfighting__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__safety-list .page-cockfighting__list-item {
  background-color: transparent;
  box-shadow: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__safety-list .page-cockfighting__list-item:last-child {
  border-bottom: none;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--text-light);
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 25px 25px;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__safety-content {
    flex-direction: column;
  }
  .page-cockfighting__safety-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__hero-section {
    height: 500px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-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__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__grid-layout,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__safety-image {
    max-width: 100%;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size is maintained */
    min-height: 200px !important; /* Ensure min size is maintained */
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__type-card,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    height: 400px;
  }
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
}