/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - matches body background type */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #08162B; /* Deep Navy */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height of hero image */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: -150px; /* Overlap slightly for visual effect, but not text over image */
  padding: 40px;
  background: rgba(16, 35, 63, 0.9); /* Card BG with opacity */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #244D84; /* Border */
}

.page-cockfighting__hero-title {
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
  /* No hardcoded large font-size, rely on clamp for responsiveness if needed */
  font-size: clamp(2em, 4vw, 3.5em);
}

.page-cockfighting__hero-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

/* General Section Styles */
.page-cockfighting__section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-cockfighting__dark-bg {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__section-title {
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__paragraph {
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-cockfighting strong {
  color: #F2C14E; /* Gold */
}

/* Content Grid for sections */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  grid-area: text;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
  grid-area: image;
}

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

.page-cockfighting__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__feature-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-cockfighting__feature-title {
  color: #F2C14E; /* Gold */
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold text */
  border: 2px solid #2B73F6; /* Primary button color border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  background: #2B73F6; /* Primary button color */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    grid-template-areas: unset; /* Reset for mobile */
  }

  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding: 30px;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 20px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Ensure H1 is not too large */
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__paragraph {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images, videos, buttons must have these properties */
  .page-cockfighting__section,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-block,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

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

  .page-cockfighting__feature-item {
    padding: 20px;
  }
}