/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #ffffff; /* Default light background */
}

/* Container for consistent content width */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section titles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Section descriptions */
.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent; /* Consistent border for both */
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box; /* For responsiveness */
  white-space: normal; /* For responsiveness */
  word-wrap: break-word; /* For responsiveness */
}

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border-color: #C30808;
}

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

.page-cockfighting__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  border-color: #017439;
  margin-left: 15px; /* Spacing between buttons */
}

.page-cockfighting__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-cockfighting__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* CTA Buttons group */
.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px; /* Spacing between buttons */
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* 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;
  color: #FFFFFF;
  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;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 80px 0;
}

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

.page-cockfighting__grid-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-cockfighting__content-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__grid-text {
  font-size: 1em;
  color: #555555;
}

/* Why Choose Section (Dark Background) */
.page-cockfighting__why-choose-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF; /* White text for dark background */
}

.page-cockfighting__why-choose-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__why-choose-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

.page-cockfighting__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-cockfighting__feature-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 80px 0;
}

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

.page-cockfighting__card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333; /* Dark text for light card background */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto; /* Push image to bottom if content is short */
}

/* Guide Section (Dark Background) */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-cockfighting__guide-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__guide-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

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

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #C30808; /* Accent color for step numbers */
  color: #FFFF00;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-cockfighting__guide-cta {
  margin-top: 60px;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
}

.page-cockfighting__tips-grid {
  margin-top: 50px;
}

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

/* Promotions Section (Dark Background) */
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__promotions-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  color: #FFFFFF;
}

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

.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 0;
}