/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-bg: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-border: #2E7A4E;
  --page-cockfighting-glow: #57E38D;
  --page-cockfighting-gold: #F2C14E;
  --page-cockfighting-divider: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
  background-color: var(--page-cockfighting-bg);
  color: var(--page-cockfighting-text-main); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-cockfighting__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

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

.page-cockfighting__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--page-cockfighting-gold);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__section-intro,
.page-cockfighting__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__sub-title {
  font-size: 2em;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  font-weight: 900;
  color: var(--page-cockfighting-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-content .page-cockfighting__description {
  font-size: 1.2em;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
}

/* Buttons */
.page-cockfighting__btn-primary {
  display: inline-block;
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* List Styles */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
}

.page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list-item::before {
  content: '✓';
  color: var(--page-cockfighting-gold);
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

.page-cockfighting__list-item strong {
  color: var(--page-cockfighting-text-main);
}

/* Card Grid */
.page-cockfighting__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

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

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

/* How-To Section (Dark Background) */
.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-deep-green);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__dark-section .page-cockfighting__section-intro {
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__step-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
}

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

/* Strategy Section */
.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__strategy-card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__strategy-image {
  width: 100%;
  height: 220px; /* Consistent height for strategy images */
  object-fit: cover;
  display: block;
}

.page-cockfighting__strategy-title {
  font-size: 1.4em;
  color: var(--page-cockfighting-gold);
  margin: 20px 15px 10px 15px;
  font-weight: bold;
  text-align: center;
}

.page-cockfighting__strategy-description {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
  padding: 0 15px 20px 15px;
  flex-grow: 1;
  text-align: justify;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom-color: transparent;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary);
  background-color: var(--page-cockfighting-card-bg);
}

/* Remove default details arrow */
.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-cockfighting__faq-item summary {
  list-style: none;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2.5em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.6em;
  }
  .page-cockfighting__hero-section {
    min-height: 450px;
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-cockfighting__hero-content .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-large,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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;
    margin-left: auto;
    margin-right: auto;
  }
  .page-cockfighting__list-item {
    padding: 10px 15px;
  }
  .page-cockfighting__card-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__strategy-image {
    height: 180px;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
  }

  /* Image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-cockfighting__hero-section {
    min-height: 350px;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-cockfighting__list-item {
    font-size: 0.9em;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__strategy-title {
    font-size: 1.2em;
  }
  .page-cockfighting__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-cockfighting__step-title {
    font-size: 1.3em;
  }
}