/* style/cockfighting.css */

/* Base Styles */
.page-cockfighting {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* inherited from body */
}

.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__section:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-cockfighting__dark-section {
  background-color: #017439; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-cockfighting__heading {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: bold;
}

.page-cockfighting__sub-heading {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-cockfighting__paragraph a,
.page-cockfighting__list a {
  color: #FFFF00; /* Yellow for links to stand out */
  text-decoration: underline;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  text-align: left;
  color: #f0f0f0;
}

.page-cockfighting__list ol {
  list-style: decimal;
  margin-left: 20px;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
}

.page-cockfighting__keyword {
  color: #FFFF00; /* Highlight keywords */
  font-weight: bold;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsiveness */
}

.page-cockfighting__btn-primary {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-cockfighting__btn-primary:hover {
  background-color: #005a2e; /* Darker green on hover */
  border-color: #005a2e;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Specific button styles */
.page-cockfighting__hero-buttons .page-cockfighting__btn-primary,
.page-cockfighting__hero-buttons .page-cockfighting__btn-secondary,
.page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
.page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-cockfighting__btn-primary.page-cockfighting__large-btn,
.page-cockfighting__btn-secondary.page-cockfighting__large-btn {
  padding: 15px 30px;
  font-size: 1.2em;
}

.page-cockfighting__btn-primary.page-cockfighting__small-btn {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Custom colors for Register/Login buttons, apply to specific elements if needed */
.page-cockfighting__hero-buttons .page-cockfighting__btn-primary,
.page-cockfighting__cta-buttons .page-cockfighting__btn-primary {
    background-color: #C30808; /* Register/Login red */
    border-color: #C30808;
    color: #FFFF00; /* Register/Login yellow font */
}

.page-cockfighting__hero-buttons .page-cockfighting__btn-primary:hover,
.page-cockfighting__cta-buttons .page-cockfighting__btn-primary:hover {
    background-color: #a30606; /* Darker red on hover */
    border-color: #a30606;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

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

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-cockfighting__hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

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

.page-cockfighting__grid-2-col {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Cards */
.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards in a row have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum image size */
}

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

.page-cockfighting__card-text {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-primary {
  margin-top: 20px;
  width: auto;
}

/* Content Flex for Betting Guide */
.page-cockfighting__content-flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

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

.page-cockfighting__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-block .page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

/* Advantages Section */
.page-cockfighting__advantage-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-cockfighting__advantage-icon {
  width: 150px; /* Larger icon-like images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

/* Call to Action */
.page-cockfighting__center-buttons {
  margin-top: 40px;
}

.page-cockfighting__center-text {
  text-align: center;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  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;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00; /* Yellow for toggle icon */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.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: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px;
}

.page-cockfighting__faq-answer .page-cockfighting__paragraph {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__heading {
    font-size: 2em;
  }
  .page-cockfighting__sub-heading {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  /* Mobile general styles */
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens for better stacking */
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Specific button groups mobile adaptation */
  .page-cockfighting__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
  .page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-cockfighting__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__sub-heading {
    font-size: 1.4em;
    margin-top: 20px;
  }
  .page-cockfighting__paragraph {
    font-size: 1em;
  }

  /* Image responsiveness for mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
 }}