/* style/cockfighting.css */

/* Custom Colors */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --background-color: #0D0E12;
  --card-background: #17191F;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

/* Base styles for page-cockfighting */
.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color); /* Dark background */
  line-height: 1.6;
}

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

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

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

.page-cockfighting__light-bg {
  background-color: #1a1c22; /* Slightly lighter dark background for contrast */
  color: var(--text-main-color);
}

.page-cockfighting__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles main offset */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 0.05em;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.3);
}

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

/* Section Titles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
}

/* Text Blocks and Lists */
.page-cockfighting__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-main-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-cockfighting__text-block:last-child {
  margin-bottom: 0;
}

.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
  list-style-position: inside;
  margin: 20px auto;
  padding-left: 0;
  max-width: 900px;
  text-align: left;
  color: var(--text-main-color);
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-cockfighting__unordered-list li::marker {
  color: var(--secondary-color);
}

.page-cockfighting__ordered-list li::marker {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Image Content */
.page-cockfighting__image-content {
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-cockfighting__card-text {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 25px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  background-color: #242730; /* Slightly different background for question */
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: none;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--secondary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--primary-color);
  line-height: 1;
  user-select: none;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: var(--text-main-color);
}

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

/* Final CTA Section */
.page-cockfighting__cta-final {
  padding: 80px 0;
}

.page-cockfighting__flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-cockfighting__hero-content {
    margin-top: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }

  .page-cockfighting__description {
    font-size: 0.95em;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__ordered-list li,
  .page-cockfighting__unordered-list li,
  .page-cockfighting__card-text {
    font-size: 0.9em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__promo-card {
    padding: 25px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Mobile container padding and overflow */
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__section,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__promo-grid,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__cta-final {
    padding: 60px 0;
  }
}