/* style/cockfighting.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --accent-color: #C30808; /* For registration/login buttons */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-text-yellow: #FFFF00;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color); /* Body background is white */
}

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

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

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

.page-cockfighting__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section background */
}

.page-cockfighting__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  padding: 20px;
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image slightly */
  color: var(--text-color-light);
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  color: var(--text-color-light);
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--accent-color); /* Registration/Login button color */
  color: var(--button-text-yellow); /* Registration/Login button text color */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button:hover {
  background: #a80707; /* Darker red on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Buttons */
.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 15px;
}

.page-cockfighting__btn-primary:hover {
  background: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  margin-top: 20px;
}

.page-cockfighting__btn-secondary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__card {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: var(--primary-color);
}

.page-cockfighting__card-description {
  font-size: 15px;
  padding: 0 15px;
  text-align: justify;
}

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

.page-cockfighting__step-item {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}