/* style/cockfighting.css */

/* Root variables for colors */
:root {
  --vp88-primary: #113B7A;
  --vp88-secondary: #1D5FD1;
  --vp88-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --vp88-card-bg: #10233F;
  --vp88-text-main: #F3F8FF;
  --vp88-text-secondary: #AFC4E8;
  --vp88-border: #244D84;
  --vp88-glow: #4FA8FF;
  --vp88-gold: #F2C14E;
  --vp88-divider: #1B3357;
  --vp88-deep-navy: #08162B;
}

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

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

/* Section styling */
.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--vp88-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__dark-section {
  background-color: var(--vp88-primary);
  color: var(--vp88-text-main);
  padding: 80px 0;
}

.page-cockfighting__light-bg {
  background-color: var(--vp88-deep-navy);
  color: var(--vp88-text-main);
  padding: 80px 0;
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px; /* Separates image from text block */
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2; /* Ensure content is above the dimmed image */
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: var(--vp88-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  color: var(--vp88-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--vp88-button-gradient);
  color: var(--vp88-text-main);
  border: 2px solid transparent;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--vp88-text-main);
  border: 2px solid var(--vp88-gold);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--vp88-gold);
  color: var(--vp88-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__small-button {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* About Section */
.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--vp88-text-secondary);
}

.page-cockfighting__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__feature-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-cockfighting__feature-item {
  background-color: var(--vp88-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--vp88-border);
}

.page-cockfighting__feature-item h3 {
  color: var(--vp88-gold);
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-cockfighting__feature-item p {
  color: var(--vp88-text-secondary);
  font-size: 1rem;
}

.page-cockfighting__feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto 15px auto;
}

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

.page-cockfighting__guide-item {
  background-color: var(--vp88-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--vp88-border);
}

.page-cockfighting__guide-step-title {
  color: var(--vp88-gold);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.page-cockfighting__guide-item p {
  color: var(--vp88-text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
}

/* CTA Section */
.page-cockfighting__cta-section {
  text-align: center;
  padding: 100px 0;
}

.page-cockfighting__cta-description {
  font-size: 1.2rem;
  color: var(--vp88-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__image-block {
    flex: none;
    width: 100%;
  }
  .page-cockfighting__feature-list,
  .page-cockfighting__guide-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg {
    padding: 60px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 50vh;
  }
  .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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__feature-image,
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__guide-item {
    padding: 20px;
  }
  .page-cockfighting__cta-section {
    padding: 80px 0;
  }
  .page-cockfighting__cta-description {
    font-size: 1rem;
  }
  .page-cockfighting__text-block p {
    font-size: 0.95rem;
  }
  .page-cockfighting__feature-list,
  .page-cockfighting__guide-list {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure small padding, not header-offset */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__section-title {
    font-size: 1.5rem;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }
  .page-cockfighting__hero-description {
    font-size: 0.95rem;
  }
  .page-cockfighting__feature-item h3 {
    font-size: 1.3rem;
  }
  .page-cockfighting__guide-step-title {
    font-size: 1.4rem;
  }
}