/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

.page-cockfighting__main-title {
  font-size: 3.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.2;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #FFD700;
  line-height: 1.3;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__section-intro {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-cockfighting p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #1A2B4C;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.page-cockfighting__card h3 {
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-cockfighting__card p {
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.6;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  overflow: hidden;
  background-color: #1A2B4C;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7);
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__video-section .page-cockfighting__section-title {
  color: #1A2B4C;
}

.page-cockfighting__video-section .page-cockfighting__section-intro {
  color: #555555;
}

.page-cockfighting__video-wrapper {
  max-width: 1000px;
  margin: 0 auto 50px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__features-grid .page-cockfighting__card {
  background-color: #1A2B4C;
  color: #ffffff;
  padding: 25px;
  align-items: center;
  text-align: center;
}

.page-cockfighting__features-grid .page-cockfighting__card h3 {
  color: #FFD700;
  font-size: 1.6em;
}

.page-cockfighting__features-grid .page-cockfighting__card p {
  color: #f0f0f0;
}

/* Betting Guide Section */
.page-cockfighting__betting-guide-section {
  padding: 80px 20px;
  background-color: #1A2B4C;
  color: #ffffff;
}

.page-cockfighting__betting-guide-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__betting-guide-section .page-cockfighting__section-intro {
  color: #f0f0f0;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.page-cockfighting__image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__text-content {
  text-align: left;
}

.page-cockfighting__text-content p {
  margin-bottom: 20px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
  color: #1A2B4C;
}

.page-cockfighting__promotions-section .page-cockfighting__section-intro {
  color: #555555;
}

.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__promotion-card {
  background-color: #1A2B4C;
  color: #ffffff;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promotion-card .page-cockfighting__promotion-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promotion-card .page-cockfighting__promotion-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-cockfighting__promotion-card p {
  color: #f0f0f0;
  flex-grow: 1;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-primary {
  margin-top: 20px;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us-section {
  padding: 80px 20px;
  background-color: #1A2B4C;
  color: #ffffff;
}

.page-cockfighting__why-choose-us-section .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__why-choose-us-section .page-cockfighting__section-intro {
  color: #f0f0f0;
}

.page-cockfighting__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__advantage-item {
  text-align: center;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.08);
}

.page-cockfighting__advantage-item .page-cockfighting__advantage-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-cockfighting__advantage-item p {
  color: #f0f0f0;
}

.page-cockfighting__advantage-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #1A2B4C;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 20px;
  background-color: #1A2B4C;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.page-cockfighting__faq-item.active {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #1A2B4C;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: #2b3d64;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #FFD700;
  font-size: 1.2em;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
  color: #f0f0f0;
  font-size: 1em;
  margin-bottom: 0;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1A2B4C;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #FFD700;
  position: relative;
  z-index: 2;
}

.page-cockfighting__cta-section .page-cockfighting__section-intro {
  color: #f0f0f0;
  position: relative;
  z-index: 2;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: auto;
  object-fit: contain;
  opacity: 0.2;
  z-index: 1;
  filter: grayscale(100%);
}

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

  .page-cockfighting__section-title {
    font-size: 2.2em;
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__image-wrapper {
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-image {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    min-height: 500px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

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

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }

  .page-cockfighting p {
    font-size: 1em;
  }

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

  .page-cockfighting__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__betting-guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__why-choose-us-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 50px 15px;
  }

  .page-cockfighting__video-wrapper,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__section-intro,
  .page-cockfighting__content-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-cockfighting__video-section {
    padding-top: 50px !important; /* Adjust if header offset is already applied to body */
  }

  .page-cockfighting__cta-image {
    width: 80%;
    opacity: 0.1;
  }
}