/* style/cockfighting.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --register-login-font-color: #FFFF00;
  --background-color-light: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-color-light);
}

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

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

.page-cockfighting__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
  color: var(--text-color-dark);
}

.page-cockfighting__paragraph {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-cockfighting__action-buttons--center {
  justify-content: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: #005a2e; /* Darken primary color */
  border-color: #005a2e; 
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
}

.page-cockfighting__btn-small:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

/* Custom button colors */
.page-cockfighting__btn-register {
  background-color: var(--register-button-color);
  color: var(--register-login-font-color);
  border-color: var(--register-button-color);
}

.page-cockfighting__btn-register:hover {
  background-color: #9c0606; /* Darken register color */
  border-color: #9c0606; 
}

.page-cockfighting__btn-login {
  background-color: var(--login-button-color);
  color: var(--register-login-font-color);
  border-color: var(--login-button-color);
}

.page-cockfighting__btn-login:hover {
  background-color: #9c0606; /* Darken login color */
  border-color: #9c0606;
}

/* Image styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-cockfighting__image-container {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__image-container--center {
  text-align: center;
}

.page-cockfighting__image-container img {
  object-fit: cover;
  width: 100%;
}

/* Section background colors for contrast */
.page-cockfighting__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__feature-title,
.page-cockfighting__dark-bg .page-cockfighting__step-title,
.page-cockfighting__dark-bg .page-cockfighting__safety-title {
  color: var(--text-color-light);
}

.page-cockfighting__dark-bg .page-cockfighting__section-description,
.page-cockfighting__dark-bg .page-cockfighting__paragraph,
.page-cockfighting__dark-bg .page-cockfighting__feature-description,
.page-cockfighting__dark-bg .page-cockfighting__step-description,
.page-cockfighting__dark-bg .page-cockfighting__safety-description {
  color: rgba(255, 255, 255, 0.9);
}

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

/* 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); /* Ensures content is not hidden by fixed header */
  min-height: 600px;
  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;
  z-index: 1;
}

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

.page-cockfighting__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

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

.page-cockfighting__hero-description {
  font-size: 20px;
  color: var(--text-color-light);
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-cockfighting__cta-button {
  padding: 18px 40px;
  font-size: 20px;
  border-radius: 10px;
}

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

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  padding: 80px 0;
}

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  line-height: 1.7;
}

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

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