/* style/cockfighting.css */

/* Custom Colors */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--deep-navy); /* Body background is dark, so page content should use light text */
}

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

.page-cockfighting__dark-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

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

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  z-index: 1;
  text-align: center;
  color: var(--text-main);
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

.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: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text on dark button */
  border-color: var(--secondary-color);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: #ffffff; /* White text on dark button */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.page-cockfighting__introduction-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-cockfighting__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  grid-area: text;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
  grid-area: image;
}

.page-cockfighting__text-block h3 {
  color: var(--gold-color);
  font-size: 1.8rem;
  margin-top: 20px;
}

.page-cockfighting__text-block p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-cockfighting__betting-types-section {
  background-color: var(--card-bg);
}

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

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

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

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

.page-cockfighting__guide-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

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

.page-cockfighting__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-icon {
  font-size: 2.5rem;
  color: var(--gold-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-cockfighting__image-full-width {
  margin-top: 50px;
}

.page-cockfighting__image-full-width img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-cockfighting__strategy-section {
  background-color: var(--card-bg);
}

.page-cockfighting__strategy-section h3 {
  color: var(--gold-color);
  font-size: 1.6rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-cockfighting__strategy-section p {
  color: var(--text-secondary);
  text-align: left;
}

.page-cockfighting__promotions-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

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

.page-cockfighting__promotion-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-cockfighting__promotion-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__promotion-card .page-cockfighting__card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-cockfighting__promotion-card .page-cockfighting__card-text {
  flex-grow: 1;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-cockfighting__promotion-card .page-cockfighting__btn-primary,
.page-cockfighting__promotion-card .page-cockfighting__btn-secondary {
  align-self: flex-start;
  margin-top: auto; /* Push button to the bottom */
}

.page-cockfighting__faq-section {
  background-color: var(--card-bg);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-cockfighting__conclusion-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

.page-cockfighting__conclusion-section .page-cockfighting__description {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.page-cockfighting__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-cockfighting__text-link:hover {
  color: var(--gold-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

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

  .page-cockfighting__section-subtitle {
    font-size: 1rem;
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__content-grid--reverse {
    grid-template-areas: "text" "image";
  }

  .page-cockfighting__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

  .page-cockfighting__promotion-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-cockfighting__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    margin-bottom: 10px; /* Space between stacked buttons */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-block,
  .page-cockfighting__image-full-width,
  .page-cockfighting__promotion-card,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  .page-cockfighting__text-block h3 {
    font-size: 1.5rem;
  }

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