/* style/cockfighting.css */

/* Base Styles & Typography */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
}

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

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

/* Intro Section */
.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-cockfighting__dark-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-cockfighting__light-bg {
  padding: 80px 0;
  background-color: #222222; /* Another dark shade for contrast */
  color: #ffffff;
}

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-10px);
  border-color: #FFD700;
}

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size for images */
  min-height: 200px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-heading {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__feature-text {
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-cockfighting__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.page-cockfighting__advantage-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
  transition: background-color 0.3s ease;
}

.page-cockfighting__advantage-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__advantage-item strong {
  color: #FFD700;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

/* Guide Section */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: -60px auto 20px auto; /* Position above card */
  border: 3px solid #0d0d0d;
}

.page-cockfighting__step-heading {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  color: #f0f0f0;
}

/* Bet Types Section */
.page-cockfighting__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: #ffffff;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

.page-cockfighting__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* Strategies Section */
.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__strategy-card {
  /* Inherits styles from .page-cockfighting__card */
}

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

.page-cockfighting__promo-card {
  /* Inherits styles from .page-cockfighting__card */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size for images */
  min-height: 200px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary,
.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
  margin-top: 20px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  background-color: rgba(255, 255, 255, 0.02);
  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: #FFD700;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Global Image Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__feature-heading,
  .page-cockfighting__card-title,
  .page-cockfighting__step-heading {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    height: auto;
    min-height: 70vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }
  .page-cockfighting__section-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-us,
  .page-cockfighting__guide-section,
  .page-cockfighting__bet-types,
  .page-cockfighting__strategies-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__advantage-list,
  .page-cockfighting__steps-grid,
  .page-cockfighting__card-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-cockfighting__step-icon {
    margin-top: -45px;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__card,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-cockfighting__container {
    padding: 0 15px !important;
  }

  /* Content area images */
  .page-cockfighting__feature-image,
  .page-cockfighting__promo-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__feature-heading,
  .page-cockfighting__card-title,
  .page-cockfighting__step-heading {
    font-size: 1.3em;
  }
}