/* style/cockfighting.css */
/* Base styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Inherit from body var(--dark-bg) */
}

/* 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 below fixed header */
  min-height: 70vh;
  background-color: #0d0d0d; /* Dark background for hero, assuming var(--dark-bg) is dark */
  overflow: hidden; /* Prevent content overflow */
}

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

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

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%; /* Ensure button doesn't exceed container width */
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  display: block;
}

/* General Section Styles */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #ffffff; /* Default for dark sections */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Default for dark sections */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark Section Specific Styles */
.page-cockfighting__dark-section {
  background-color: #0d0d0d; /* Assuming --dark-bg is dark */
  color: #ffffff;
  padding: 80px 0;
}

/* Content Area Specific Styles (for light background sections) */
.page-cockfighting__content-area {
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-cockfighting__content-area .page-cockfighting__section-title {
  color: #333333;
}

.page-cockfighting__content-area .page-cockfighting__section-description {
  color: #555555;
}

.page-cockfighting__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
}

.page-cockfighting__brand-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__brand-link:hover {
  text-decoration: underline;
}

.page-cockfighting__inline-link {
  color: #EA7C07; /* Login color for inline links to stand out */
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__inline-link:hover {
  text-decoration: underline;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video-overlay-button {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  z-index: 10;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 90%;
}

.page-cockfighting__video-overlay-button:hover {
  background-color: #c76706;
}

.page-cockfighting__video-caption {
  font-style: italic;
  margin-top: 20px;
  color: #f0f0f0;
}

/* Image Row */
.page-cockfighting__image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
}

/* Features/Types Section */
.page-cockfighting__features-section {
  text-align: center;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}