/* style/cockfighting.css */

/* Base styles for page-cockfighting */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

/* Section spacing and general container */
.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

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

/* Background color variations */
.page-cockfighting__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Headings */
.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #000000; /* Darker for contrast on light hero, or white on dark hero */
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: #000000; /* Default for section titles */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for sub-titles */
}

.page-cockfighting__dark-bg .page-cockfighting__sub-title {
  color: #FFFFFF;
}

/* Paragraphs */
.page-cockfighting__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-cockfighting__dark-bg .page-cockfighting__paragraph {
  color: #f0f0f0;
}

.page-cockfighting__highlight {
  font-weight: bold;
  color: #26A9E0;
}

.page-cockfighting__dark-bg .page-cockfighting__highlight {
  color: #FFFFFF;
}

/* Lists */
.page-cockfighting__list {
  list-style: disc inside;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Main brand color */
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cockfighting__cta-center {
  margin-top: 30px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom */
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly darken image for text contrast */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  margin-top: -150px; /* Pull content up over the image */
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent background for text */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-cockfighting__hero-content .page-cockfighting__main-title {
  color: #000000;
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: #333333;
  margin-bottom: 25px;
}

/* Image with text block */
.page-cockfighting__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__image-text-block .page-cockfighting__content-image {
  flex: 1 1 400px;
  min-width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__image-text-block .page-cockfighting__text-content {
  flex: 1 1 500px;
}

/* Cards Grid */
.page-cockfighting__cards-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__strategy-grid,
.page-cockfighting__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card,
.page-cockfighting__promo-card,
.page-cockfighting__strategy-card,
.page-cockfighting__info-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__dark-bg .page-cockfighting__card,
.page-cockfighting__dark-bg .page-cockfighting__promo-card,
.page-cockfighting__dark-bg .page-cockfighting__strategy-card,
.page-cockfighting__dark-bg .page-cockfighting__info-card {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.page-cockfighting__dark-bg .page-cockfighting__card-title,
.page-cockfighting__dark-bg .page-cockfighting__card-description {
  color: #FFFFFF;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Step-by-step guide */
.page-cockfighting__step-item {
  text-align: left;
  margin-bottom: 40px;
  padding: 25px;
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__step-item .page-cockfighting__btn-primary,
.page-cockfighting__step-item .page-cockfighting__btn-secondary {
  margin-top: 20px;
  display: inline-block;
}

.page-cockfighting__step-item .page-cockfighting__content-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px;
  min-height: 200px;
}

/* App section */
.page-cockfighting__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__app-content .page-cockfighting__text-content {
  flex: 1 1 500px;
}

.page-cockfighting__app-content .page-cockfighting__content-image {
  flex: 1 1 400px;
  min-width: 200px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-question {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: #e8e8e8;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-toggle {
  color: #FFFFFF;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
  text-align: justify;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-answer {
  color: #f0f0f0;
}

/* Hide default details marker */
details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

/* Global image settings for content area */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding: 30px;
  }

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

  .page-cockfighting__image-text-block .page-cockfighting__text-content {
    order: 2;
  }

  .page-cockfighting__image-text-block .page-cockfighting__content-image {
    order: 1;
  }

  .page-cockfighting__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__app-content .page-cockfighting__text-content {
    order: 2;
  }

  .page-cockfighting__app-content .page-cockfighting__content-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2rem;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }

  .page-cockfighting__card,
  .page-cockfighting__promo-card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__info-card {
    padding: 20px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__image-text-block,
  .page-cockfighting__app-content,
  .page-cockfighting__step-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-cockfighting__cta-buttons {
    display: flex;
    flex-direction: column; 
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__section-title {
    font-size: 1.5rem;
  }

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

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

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
}