/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
}

.page-cockfighting-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting-section h2 {
  font-size: 36px;
  color: #007bff;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  border-radius: 2px;
}

.page-cockfighting-section h3 {
  font-size: 24px;
  color: #0056b3;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-cockfighting-section p {
  font-size: 17px;
  margin-bottom: 20px;
}

/* Hero Section */
.page-cockfighting-hero {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #007bff;
}

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

.page-cockfighting-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-cockfighting-hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting-hero-content h1 {
  font-size: 52px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting-hero-content p {
  font-size: 20px;
  margin-bottom: 40px;
}

.page-cockfighting-hero-buttons .page-cockfighting-btn {
  margin: 0 10px;
}

.page-cockfighting-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-cockfighting-btn-primary {
  background-color: #ffc107;
  color: #333333;
  border-color: #ffc107;
}

.page-cockfighting-btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-cockfighting-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-btn-outline {
  background-color: transparent;
  color: #007bff;
  border-color: #007bff;
  padding: 10px 25px;
  font-size: 16px;
}

.page-cockfighting-btn-outline:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Intro Section */
.page-cockfighting-intro p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting-gallery-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting-gallery-item h3 {
  padding: 15px 20px 0;
  font-size: 20px;
  color: #007bff;
}

.page-cockfighting-gallery-item p {
  padding: 0 20px 20px;
  font-size: 15px;
  color: #555555;
}

.page-cockfighting-image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Benefits Section */
.page-cockfighting-bg-secondary {
  background-color: #f8f9fa; /* Light grey for contrast */
}

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

.page-cockfighting-benefit-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-cockfighting-benefit-item h3 {
  color: #007bff;
  font-size: 22px;
}

.page-cockfighting-icon-large {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-cockfighting-step-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for number */
}

.page-cockfighting-step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffc107;
  color: #333333;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border: 3px solid #007bff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-step-item h3 {
  color: #007bff;
  font-size: 22px;
}

/* Why Us Section */
.page-cockfighting-bg-primary {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
}

.page-cockfighting-bg-primary h2, .page-cockfighting-bg-primary h3 {
  color: #ffffff;
}

.page-cockfighting-bg-primary h2::after {
  background-color: #ffc107;
}

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

.page-cockfighting-why-us-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-cockfighting-why-us-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting-why-us-item h3 {
  font-size: 22px;
  color: #ffffff;
}

.page-cockfighting-why-us-item p {
  color: #e0e0e0;
}

.page-cockfighting-icon-medium {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-cockfighting-faq {
  background-color: #f8f9fa;
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.faq-item.active .faq-question {
  border-radius: 8px 8px 0 0;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: #333333;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #ffc107;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

/* CTA Bottom Section */
.page-cockfighting-cta-bottom {
  padding: 80px 0;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
}

.page-cockfighting-cta-content {
  max-width: 800px;
}

.page-cockfighting-cta-bottom h2 {
  color: #ffffff;
  font-size: 40px;
}

.page-cockfighting-cta-bottom h2::after {
  background-color: #ffc107;
}

.page-cockfighting-cta-bottom p {
  font-size: 20px;
  margin-bottom: 40px;
  color: #e0e0e0;
}

/* Sticky Buttons */
.page-cockfighting-sticky-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-cockfighting-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting-sticky-btn:hover {
  transform: scale(1.05);
}

.page-cockfighting-btn-register {
  background-color: #ffc107;
  color: #333333;
}

.page-cockfighting-btn-register:hover {
  background-color: #e0a800;
}

.page-cockfighting-btn-login {
  background-color: #007bff;
}

.page-cockfighting-btn-login:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting-hero {
    height: 500px;
  }

  .page-cockfighting-hero-content h1 {
    font-size: 42px;
  }

  .page-cockfighting-hero-content p {
    font-size: 18px;
  }

  .page-cockfighting-section h2 {
    font-size: 30px;
  }

  .page-cockfighting-section h3 {
    font-size: 20px;
  }

  .page-cockfighting-btn {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-hero {
    height: 400px;
  }

  .page-cockfighting-hero-content h1 {
    font-size: 32px;
  }

  .page-cockfighting-hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-cockfighting-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting-hero-buttons .page-cockfighting-btn {
    margin: 0;
    width: 80%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-cockfighting-section {
    padding: 40px 0;
  }

  .page-cockfighting-section h2 {
    font-size: 26px;
  }

  .page-cockfighting-gallery-grid, .page-cockfighting-benefits-list, .page-cockfighting-guide-steps, .page-cockfighting-why-us-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting-cta-bottom h2 {
    font-size: 30px;
  }

  .page-cockfighting-cta-bottom p {
    font-size: 18px;
  }

  .page-cockfighting-sticky-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }

  .page-cockfighting-sticky-btn {
    width: 100px;
    height: 45px;
    font-size: 14px;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-hero {
    height: 350px;
  }

  .page-cockfighting-hero-content h1 {
    font-size: 28px;
  }

  .page-cockfighting-hero-content p {
    font-size: 15px;
  }

  .page-cockfighting-section h2 {
    font-size: 24px;
  }
}