/* style/cockfighting.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-light: #f8f8f8;
  --background-dark: #1A1A1A;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: #ffffff; /* Default body background is white */
}

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

.page-cockfighting__section-padding {
  padding: 80px 0;
}

.page-cockfighting__section-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-cockfighting__section-description {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 700px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color-light);
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.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: -1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__main-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-cockfighting__cta-button--primary:hover {
  background: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__cta-button--secondary:hover {
  background: #333333;
  border-color: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: var(--background-light);
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Smaller max-width for video section */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-cockfighting__video-link:hover .page-cockfighting__video-overlay {
  opacity: 1;
}

.page-cockfighting__video-click-hint {
  color: var(--text-color-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8); /* Using primary color with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

.page-cockfighting__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-cockfighting__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-cockfighting__play-now-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* General content styles */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl; /* To reverse order of columns */
}

.page-cockfighting__content-grid--reverse > * {
  direction: ltr; /* Reset direction for content */
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #555;
}

.page-cockfighting__text-block ul,
.page-cockfighting__text-block ol {
  margin-left: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #555;
}

.page-cockfighting__text-block li {
  margin-bottom: 8px;
}

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 20px;
}

/* Features Section */
.page-cockfighting__features-section {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-cockfighting__features-section .page-cockfighting__section-title {
  color: var(--primary-color);
}

.page-cockfighting__features-section .page-cockfighting__section-description {
  color: #ccc;
}

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

.page-cockfighting__feature-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  background: #2a2a2a;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__feature-card p {
  font-size: 16px;
  color: #ccc;
}

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

.page-cockfighting__guide-step {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__guide-step-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-cockfighting__guide-step ol,
.page-cockfighting__guide-step ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__guide-step li {
  margin-bottom: 10px;
  color: #555;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  background-color: var(--background-light);
}

/* Promotions Section */
.page-cockfighting__promotions-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-cockfighting__promotions-banner {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promotions-details {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__promotions-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-cockfighting__promotions-details p {
  margin-bottom: 20px;
  color: #555;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: var(--primary-color);
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #333333; /* Darker background for answer in dark section */
  border-radius: 0 0 5px 5px;
  color: var(--text-color-light);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: #2a2a2a;
  border-color: var(--primary-color);
}

.page-cockfighting__faq-question:active {
  background: #3a3a3a;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--text-color-light);
  transform: rotate(45deg); /* Plus sign rotates to X */
}

.page-cockfighting__faq-answer p {
  color: var(--text-color-light);
  font-size: 16px;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: var(--secondary-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__section-description {
  color: #333;
  margin-bottom: 40px;
}

.page-cockfighting__cta-final-section .page-cockfighting__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__cta-button--primary:hover {
  background: #333333;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 48px;
  }
  .page-cockfighting__hero-description {
    font-size: 20px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__section-description {
    font-size: 16px;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr; /* Reset to default for mobile */
  }
  .page-cockfighting__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-cockfighting__promotions-content {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__promotions-details {
    order: -1; /* Move details above banner on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: 600px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__main-title {
    font-size: 36px;
    line-height: 1.3;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__video-section {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-cockfighting__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-cockfighting__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain; 
  }
  
  .page-cockfighting__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-cockfighting__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-cockfighting__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-cockfighting__section-padding {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__text-block p, .page-cockfighting__text-block li {
    font-size: 15px;
  }
  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__feature-title {
    font-size: 20px;
  }
  .page-cockfighting__guide-step-title {
    font-size: 22px;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all content containers are responsive */
  .page-cockfighting__about-section .page-cockfighting__container,
  .page-cockfighting__features-section .page-cockfighting__container,
  .page-cockfighting__guide-section .page-cockfighting__container,
  .page-cockfighting__strategy-section .page-cockfighting__container,
  .page-cockfighting__promotions-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__cta-final-section .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsive override */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure containers with images are handled */
  .page-cockfighting__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons in mobile */
  .page-cockfighting__cta-buttons, .page-cockfighting__video-cta {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__cta-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 30px;
  }
  .page-cockfighting__hero-description {
    font-size: 15px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
  }
  .page-cockfighting__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
}