/* style/cockfighting.css */
/* 
 * Body padding-top is handled by shared.css: body { padding-top: var(--header-offset); }
 * Page sections should use minimal top padding, e.g., 10px, not var(--header-offset).
 */
.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main - light color for dark background */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green for alternating sections */
  margin-bottom: 20px; /* Space between sections */
  border-radius: 10px;
}

.page-cockfighting__section:nth-of-type(even) {
  background-color: #08160F; /* Background for alternating sections */
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-cockfighting__text-block strong {
  color: #F2FFF6; /* Text Main */
}

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

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(87, 227, 141, 0.5); /* Glow */
}

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

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.page-cockfighting__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1; /* Make description take available space */
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__list li {
  background-color: #11271B; /* Card BG */
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #A7D9B8; /* Text Secondary */
  border-left: 5px solid #11A84E; /* Main Color */
}

.page-cockfighting__list li:last-child {
  margin-bottom: 0;
}

.page-cockfighting__list li strong {
  color: #F2FFF6; /* Text Main */
  margin-right: 8px;
}

.page-cockfighting__advantage-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items for advantage cards */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-cockfighting__advantage-icon {
  width: 100%;
  height: 150px; /* Adjusted height for icons */
  object-fit: contain; /* Use contain for icons */
  margin-bottom: 20px;
  border-radius: 8px; /* Apply border-radius for consistency */
  display: block;
}

.page-cockfighting__advantage-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__advantage-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Hide default marker */
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
  line-height: 1;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-cockfighting__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 2.8em);
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
  }

  .page-cockfighting__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  .page-cockfighting__advantage-icon {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body already handles offset */
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section {
    padding: 40px 0; /* Padding handled by container */
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95em;
    text-align: left;
  }

  .page-cockfighting__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__advantage-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }

  .page-cockfighting__list li {
    padding: 12px 15px;
    font-size: 0.9em;
  }
}