/* style/cockfighting.css */
:root {
  --primary-color: #0A2239;
  --secondary-color: #E0B04C;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f8f9fa;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --card-bg-light-mode: #ffffff;
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text should be light */
  background-color: var(--bg-dark); /* Ensure consistency if shared.css doesn't set it */
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
  background-color: var(--primary-color);
}

.page-cockfighting__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 34, 57, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

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

.page-cockfighting__hero-section .page-cockfighting__container {
  position: relative;
  z-index: 2;
}

.page-cockfighting__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
  background: #cfa03c; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

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

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-cockfighting__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 80px 0;
}

.page-cockfighting__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-cockfighting__about-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__security-section .page-cockfighting__section-title {
  color: var(--primary-color);
}

.page-cockfighting__about-section .page-cockfighting__text-block,
.page-cockfighting__guide-section .page-cockfighting__text-block,
.page-cockfighting__security-section .page-cockfighting__text-block {
  color: var(--text-dark);
}

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

.page-cockfighting__feature-item {
  background-color: var(--card-bg-light-mode);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

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

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

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

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

.page-cockfighting__card {
  background-color: var(--card-bg-dark-mode);
  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;
  color: var(--text-light);
}

.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: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-content {
  padding: 25px;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-list li {
  background-color: var(--card-bg-light-mode);
  border-left: 5px solid var(--secondary-color);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  color: var(--text-dark);
}

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

.page-cockfighting__guide-list li p {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-cockfighting__tips-list li {
  background-color: var(--card-bg-dark-mode);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.page-cockfighting__tips-list li:hover {
  transform: translateY(-5px);
}

.page-cockfighting__tip-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-cockfighting__tips-list li p {
  font-size: 1em;
  color: var(--text-light);
}

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

.page-cockfighting__security-item {
  background-color: var(--card-bg-light-mode);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

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

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

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

.page-cockfighting__final-cta-section {
  text-align: center;
  padding: 80px 20px;
}

.page-cockfighting__final-cta-section .page-cockfighting__section-title {
  color: var(--secondary-color);
}

.page-cockfighting__final-cta-section .page-cockfighting__text-block {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__light-bg,
  .page-cockfighting__dark-bg {
    padding: 60px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__type-cards,
  .page-cockfighting__tips-list,
  .page-cockfighting__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__card-content,
  .page-cockfighting__feature-item,
  .page-cockfighting__guide-list li,
  .page-cockfighting__tips-list li,
  .page-cockfighting__security-item {
    padding: 20px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__guide-step-title,
  .page-cockfighting__tip-title,
  .page-cockfighting__security-title {
    font-size: 1.2em;
  }

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

  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* Keep 100% height for hero to cover background */
    object-fit: cover !important;
  }

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

  .page-cockfighting__final-cta-section {
    padding: 60px 15px;
  }
}