/* style/cockfighting.css */

/* Custom CSS Variables from Brand Colors */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow: #FFB04D;
  --deep-orange: #D96800;
}

/* --- General Styles --- */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Using custom color for main text */
  background-color: var(--background); /* Using custom background color */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.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: var(--primary-color); /* Main brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  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: var(--deep-orange); /* Custom color */
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* --- Buttons --- */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button fits container */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%); /* Custom button gradient */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(255, 140, 26, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn-center {
  display: block;
  margin: 30px auto;
  width: fit-content;
}

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

/* --- Hero Section --- */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding */
  background-color: var(--background); /* Ensure background is set */
  box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above image if any overlap */
  color: var(--text-main); /* Ensure text color is visible on dark background */
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-cockfighting__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- About Section --- */
.page-cockfighting__about-section {
  padding: 60px 0;
  background-color: var(--background);
  box-sizing: border-box;
}

.page-cockfighting__image-row {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
  justify-content: center;
  box-sizing: border-box;
}

.page-cockfighting__image-item {
  width: calc(50% - 10px);
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 300px; /* Minimum size */
  min-height: 200px;
}

/* --- Advantages Section --- */
.page-cockfighting__advantages-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* Custom card background */
  color: var(--text-main);
  box-sizing: border-box;
}

.page-cockfighting__advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__advantage-item {
  background-color: var(--background); /* Darker background for items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color); /* Custom border color */
  box-sizing: border-box;
}

.page-cockfighting__advantage-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__advantage-title {
  font-size: 1.5em;
  color: var(--secondary-color); /* Secondary brand color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__advantage-description {
  font-size: 1em;
  color: var(--text-main);
}

/* --- Types Section --- */
.page-cockfighting__types-section {
  padding: 60px 0;
  background-color: var(--background);
  box-sizing: border-box;
}

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

.page-cockfighting__card {
  background-color: var(--card-bg); /* Custom card background */
  color: var(--text-main);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color); /* Custom border color */
  box-sizing: border-box;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size */
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 0.95em;
  color: var(--text-main);
  padding: 0 20px 20px;
}

/* --- Betting Guide Section --- */
.page-cockfighting__betting-guide-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* Custom card background */
  color: var(--text-main);
  box-sizing: border-box;
}

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

.page-cockfighting__guide-step {
  text-align: center;
  padding: 30px;
  background-color: var(--background); /* Darker background for steps */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color); /* Custom border color */
  box-sizing: border-box;
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%); /* Custom button gradient */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--glow); /* Custom glow color */
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__step-description {
  font-size: 0.95em;
  color: var(--text-main);
}

/* --- Tips Section --- */
.page-cockfighting__tips-section {
  padding: 60px 0;
  background-color: var(--background);
  box-sizing: border-box;
}

.page-cockfighting__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__tip-item {
  background-color: var(--card-bg); /* Custom card background */
  color: var(--text-main);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color); /* Custom border color */
  box-sizing: border-box;
}

.page-cockfighting__tip-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__tip-description {
  font-size: 1em;
  color: var(--text-main);
}

/* --- Promotions Section --- */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* Custom card background */
  color: var(--text-main);
  box-sizing: border-box;
}

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

.page-cockfighting__promo-card {
  background-color: var(--background); /* Darker background for promo cards */
  color: var(--text-main);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color); /* Custom border color */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size */
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  font-weight: bold;
}

.page-cockfighting__promo-description {
  font-size: 0.95em;
  color: var(--text-main);
  padding: 0 20px 20px;
  flex-grow: 1; /* Make description take available space */
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin: 0 20px 20px;
  width: auto;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--background);
  box-sizing: border-box;
}

.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  box-sizing: border-box;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg); /* Custom card background */
  color: var(--text-main);
  border: 1px solid var(--border-color); /* Custom border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: var(--card-bg);
  box-sizing: border-box;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-main);
  border-top: 1px solid var(--border-color); /* Custom border color */
  margin-top: -1px; /* Overlap border */
  box-sizing: border-box;
}

.page-cockfighting__faq-answer p {
  margin: 15px 0 0;
}

/* --- Bottom CTA Section --- */
.page-cockfighting__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--deep-orange); /* Custom color */
  color: #ffffff; /* White text on deep orange */
  box-sizing: border-box;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title::after {
  background-color: #ffffff;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__text-block {
  max-width: 800px;
  margin: 20px auto 30px;
  font-size: 1.15em;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 450px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

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

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-cockfighting__intro-text {
    font-size: 1em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__image-row {
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting__image-item {
    width: 100%;
    min-width: unset;
  }

  .page-cockfighting__advantage-list,
  .page-cockfighting__type-cards,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tip-list,
  .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 200px; /* Adjust height for smaller screens */
  }

  .page-cockfighting__advantage-item,
  .page-cockfighting__card,
  .page-cockfighting__guide-step,
  .page-cockfighting__tip-item,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-cockfighting__content-area,
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containing elements for images and buttons */
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__types-section,
  .page-cockfighting__betting-guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-row,
  .page-cockfighting__type-cards,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tip-list,
  .page-cockfighting__promo-cards,
  .page-cockfighting__faq-list,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }
  
  /* Video section specific padding for mobile (even if not explicitly used on this page, good practice) */
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body already handles header-offset */
  }

  /* Ensure video elements are responsive (if any were present) */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video container mobile adaptation (if any were present) */
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button container mobile adaptation */
  .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;
  }
}