/* style/cockfighting.css */
/* 
  Global styles for the .page-cockfighting scope.
  All class names must follow BEM: .page-cockfighting__element-name
*/

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f4f4f4; /* From shared.css, ensuring contrast */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #000000; /* Strong contrast on light background */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Brand accent */
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Add padding below content */
  background: linear-gradient(135deg, #FFD700, #000000); /* Brand color gradient */
}

.page-cockfighting__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Wider container for hero image */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height of the image */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-cockfighting__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Primary brand color */
  color: #000000; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
  border: none;
}

.page-cockfighting__cta-button:hover {
  background: #e0b800; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.4);
}

/* --- Intro Section --- */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: #f9f9f9; /* Light background for contrast */
}

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

.page-cockfighting__feature-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure responsiveness */
  display: block; /* Remove extra space below image */
}

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

/* --- Betting Types Section --- */
.page-cockfighting__betting-types {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text for contrast */
}

.page-cockfighting__betting-types .page-cockfighting__section-title,
.page-cockfighting__betting-types .page-cockfighting__text-block {
  color: #ffffff;
}

.page-cockfighting__betting-types .page-cockfighting__section-title::after {
  background-color: #FFD700;
}

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

.page-cockfighting__betting-card {
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__betting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__betting-card img {
  width: 100%;
  height: 250px; /* Fixed height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure responsiveness */
  display: block;
}

.page-cockfighting__betting-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700; /* Gold accent */
  margin-bottom: 15px;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  margin: 10px;
}