/* style/cockfighting.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light-section: #f4f7f6;
  --bg-dark-section: #0A2463;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark (#000), so use light text */
  background-color: var(--bg-dark); /* Ensure explicit dark background for content area */
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  background: url('[GALLERY:cockfighting:win55,daga,hero_bg]') no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-cockfighting__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.page-cockfighting__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color); /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-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;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting__cta-button {
  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 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

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

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

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

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

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-title--light {
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__intro-section, 
.page-cockfighting__rules-bets-section, 
.page-cockfighting__guide-section, 
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: var(--bg-dark); /* Dark background for sections */
  color: var(--text-light); /* Light text on dark background */
}

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

/* Intro Section Specifics */
.page-cockfighting__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.page-cockfighting__content-wrapper p {
  flex: 1;
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-cockfighting__image--left {
  width: 400px;
  flex-shrink: 0;
}

/* Why Choose Section Specifics */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: inline-block;
  object-fit: contain;
}

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

.page-cockfighting__feature-item p {
  font-size: 1em;
  color: var(--text-light);
}

/* Rules & Bets Section Specifics */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-cockfighting__text-block h3 {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-cockfighting__text-block p, .page-cockfighting__text-block li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-cockfighting__text-block ul {
  list-style-type: disc;
  margin-left: 25px;
  padding-left: 0;
}

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

/* Guide Section Specifics */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-item h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-cockfighting__step-item p {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-light);
}

.page-cockfighting__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-link:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

/* Tips Section Specifics */
.page-cockfighting__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__tip-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__tip-item h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-cockfighting__tip-item p {
  font-size: 1em;
  color: var(--text-light);
}

/* Conclusion Section Specifics */
.page-cockfighting__conclusion-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

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

  .page-cockfighting__image--left {
    width: 300px;
  }

  .page-cockfighting__content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting__content-wrapper p {
    text-align: center;
  }

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

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-cockfighting__hero-section {
    padding: 80px 0;
  }

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

  .page-cockfighting__hero-description {
    font-size: 1em;
    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 !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__intro-section, 
  .page-cockfighting__why-choose-section, 
  .page-cockfighting__rules-bets-section, 
  .page-cockfighting__guide-section, 
  .page-cockfighting__tips-section, 
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }

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

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

  .page-cockfighting__image--left {
    width: 100%;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__feature-item, .page-cockfighting__step-item, .page-cockfighting__tip-item {
    padding: 25px;
  }

  .page-cockfighting__feature-item h3, .page-cockfighting__step-item h3, .page-cockfighting__tip-item h3 {
    font-size: 1.3em;
  }

  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__text-block h3 {
    font-size: 1.5em;
  }

  .page-cockfighting__text-block p, .page-cockfighting__text-block li {
    font-size: 1em;
  }

  .page-cockfighting__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

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

/* Ensure all images are responsive */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure containers of images/videos are responsive */
.page-cockfighting__hero-section,
.page-cockfighting__intro-section .page-cockfighting__container,
.page-cockfighting__why-choose-section .page-cockfighting__container,
.page-cockfighting__rules-bets-section .page-cockfighting__container,
.page-cockfighting__guide-section .page-cockfighting__container,
.page-cockfighting__tips-section .page-cockfighting__container,
.page-cockfighting__conclusion-section .page-cockfighting__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile specific overrides for image/video containers */
@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section .page-cockfighting__container,
  .page-cockfighting__why-choose-section .page-cockfighting__container,
  .page-cockfighting__rules-bets-section .page-cockfighting__container,
  .page-cockfighting__guide-section .page-cockfighting__container,
  .page-cockfighting__tips-section .page-cockfighting__container,
  .page-cockfighting__conclusion-section .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

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