/* style/expert-football-predictions.css */

:root {
  --page-expert-football-predictions--primary-color: #26A9E0;
  --page-expert-football-predictions--secondary-color: #FFFFFF;
  --page-expert-football-predictions--login-color: #EA7C07;
  --page-expert-football-predictions--dark-bg-color: #0a0a0a; /* Body background from shared.css */
  --page-expert-football-predictions--light-text-color: #ffffff;
  --page-expert-football-predictions--dark-text-color: #333333;
}

.page-expert-football-predictions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-expert-football-predictions--light-text-color); /* Default text color for dark body background */
  background-color: var(--page-expert-football-predictions--dark-bg-color);
}

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

.page-expert-football-predictions__section-title {
  font-size: 2.5em;
  color: var(--page-expert-football-predictions--light-text-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-expert-football-predictions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-expert-football-predictions--primary-color);
  border-radius: 2px;
}

.page-expert-football-predictions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-expert-football-predictions__highlight {
  color: var(--page-expert-football-predictions--primary-color);
  font-weight: bold;
}

/* Hero Section */
.page-expert-football-predictions__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-expert-football-predictions__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-expert-football-predictions__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-expert-football-predictions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-expert-football-predictions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-expert-football-predictions__hero-title {
  font-size: 3.5em;
  color: var(--page-expert-football-predictions--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-expert-football-predictions__hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.page-expert-football-predictions__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-expert-football-predictions__btn-primary,
.page-expert-football-predictions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-expert-football-predictions__btn-primary {
  background-color: var(--page-expert-football-predictions--login-color);
  color: var(--page-expert-football-predictions--secondary-color);
  border: 2px solid var(--page-expert-football-predictions--login-color);
}

.page-expert-football-predictions__btn-primary:hover {
  background-color: transparent;
  color: var(--page-expert-football-predictions--login-color);
}

.page-expert-football-predictions__btn-secondary {
  background-color: transparent;
  color: var(--page-expert-football-predictions--secondary-color);
  border: 2px solid var(--page-expert-football-predictions--secondary-color);
}

.page-expert-football-predictions__btn-secondary:hover {
  background-color: var(--page-expert-football-predictions--secondary-color);
  color: var(--page-expert-football-predictions--primary-color);
}

/* Section Styles */
.page-expert-football-predictions__introduction,
.page-expert-football-predictions__how-it-works,
.page-expert-football-predictions__betting-tips,
.page-expert-football-predictions__faq-section {
  padding: 80px 0;
}

.page-expert-football-predictions__why-trust-us,
.page-expert-football-predictions__today-matches,
.page-expert-football-predictions__cta-banner,
.page-expert-football-predictions__contact-us {
  padding: 80px 0;
}

/* Color Contrast Handling */
.page-expert-football-predictions__dark-bg {
  background-color: var(--page-expert-football-predictions--dark-bg-color);
  color: var(--page-expert-football-predictions--light-text-color);
}

.page-expert-football-predictions__light-bg {
  background-color: var(--page-expert-football-predictions--secondary-color);
  color: var(--page-expert-football-predictions--dark-text-color);
}

.page-expert-football-predictions__light-bg .page-expert-football-predictions__section-title {
  color: var(--page-expert-football-predictions--dark-text-color);
}

.page-expert-football-predictions__light-bg .page-expert-football-predictions__highlight {
  color: var(--page-expert-football-predictions--primary-color);
}

.page-expert-football-predictions__light-bg a {
  color: var(--page-expert-football-predictions--primary-color);
}

.page-expert-football-predictions__light-bg a:hover {
  color: var(--page-expert-football-predictions--dark-text-color);
}

/* Feature Grid (Why Trust Us) */
.page-expert-football-predictions__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-expert-football-predictions__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-expert-football-predictions--light-text-color);
}

.page-expert-football-predictions__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-expert-football-predictions__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* Process List (How it Works) */
.page-expert-football-predictions__process-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-expert-football-predictions__process-item {
  background: #f8f9fa;
  border-left: 5px solid var(--page-expert-football-predictions--primary-color);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-expert-football-predictions--dark-text-color);
}

.page-expert-football-predictions__process-title {
  font-size: 1.4em;
  color: var(--page-expert-football-predictions--primary-color);
  margin-bottom: 10px;
}

.page-expert-football-predictions__process-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Today's Matches */
.page-expert-football-predictions__match-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-expert-football-predictions__match-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-expert-football-predictions--light-text-color);
  display: flex;
  flex-direction: column;
}

.page-expert-football-predictions__match-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-expert-football-predictions__match-details {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.page-expert-football-predictions__match-details li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.page-expert-football-predictions__match-card .page-expert-football-predictions__btn-primary {
  margin-top: auto;
  width: 100%;
}

.page-expert-football-predictions__note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

.page-expert-football-predictions__note a {
  color: var(--page-expert-football-predictions--primary-color);
  text-decoration: none;
}

.page-expert-football-predictions__note a:hover {
  text-decoration: underline;
}

/* Betting Tips */
.page-expert-football-predictions__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-expert-football-predictions__tip-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-expert-football-predictions--dark-text-color);
}

.page-expert-football-predictions__tip-card .page-expert-football-predictions__card-title {
  color: var(--page-expert-football-predictions--primary-color);
}

.page-expert-football-predictions__tip-card .page-expert-football-predictions__card-description {
  color: var(--page-expert-football-predictions--dark-text-color);
}

/* CTA Banner */
.page-expert-football-predictions__cta-banner {
  background-color: var(--page-expert-football-predictions--primary-color);
  color: var(--page-expert-football-predictions--secondary-color);
  padding: 60px 0;
}

.page-expert-football-predictions__cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-expert-football-predictions__cta-content {
  flex: 1;
  text-align: left;
}

.page-expert-football-predictions__cta-title {
  font-size: 2.8em;
  color: var(--page-expert-football-predictions--secondary-color);
  margin-bottom: 20px;
  text-align: left;
}

.page-expert-football-predictions__cta-title::after {
  display: none;
}

.page-expert-football-predictions__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-expert-football-predictions__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.page-expert-football-predictions__cta-image {
  flex-shrink: 0;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-expert-football-predictions__faq-list {
  margin-top: 40px;
}

.page-expert-football-predictions__faq-item {
  background: #f8f9fa;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--page-expert-football-predictions--dark-text-color);
}

.page-expert-football-predictions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-expert-football-predictions--dark-text-color);
  cursor: pointer;
  background-color: #e9ecef;
  border-bottom: 1px solid #dee2e6;
  list-style: none; /* For details/summary */
}

.page-expert-football-predictions__faq-question::-webkit-details-marker {
  display: none;
}

.page-expert-football-predictions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-expert-football-predictions--primary-color);
  transition: transform 0.3s ease;
}

.page-expert-football-predictions__faq-item[open] .page-expert-football-predictions__faq-toggle {
  transform: rotate(45deg);
}

.page-expert-football-predictions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  background-color: #ffffff;
  color: var(--page-expert-football-predictions--dark-text-color);
}

/* Contact Us */
.page-expert-football-predictions__contact-us {
  text-align: center;
  background-color: var(--page-expert-football-predictions--dark-bg-color);
  color: var(--page-expert-football-predictions--light-text-color);
}

.page-expert-football-predictions__contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

  .page-expert-football-predictions__hero-description {
    font-size: 1.1em;
  }

  .page-expert-football-predictions__cta-container {
    flex-direction: column;
    text-align: center;
  }

  .page-expert-football-predictions__cta-content {
    text-align: center;
  }

  .page-expert-football-predictions__cta-title {
    text-align: center;
  }

  .page-expert-football-predictions__cta-buttons {
    justify-content: center;
  }

  .page-expert-football-predictions__cta-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-expert-football-predictions__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-expert-football-predictions__hero-title {
    font-size: 2.2em;
  }

  .page-expert-football-predictions__hero-description {
    font-size: 1em;
  }

  .page-expert-football-predictions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-expert-football-predictions__btn-primary,
  .page-expert-football-predictions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-expert-football-predictions__section-title {
    font-size: 2em;
  }

  .page-expert-football-predictions__introduction,
  .page-expert-football-predictions__why-trust-us,
  .page-expert-football-predictions__how-it-works,
  .page-expert-football-predictions__today-matches,
  .page-expert-football-predictions__betting-tips,
  .page-expert-football-predictions__cta-banner,
  .page-expert-football-predictions__faq-section,
  .page-expert-football-predictions__contact-us {
    padding: 40px 0;
  }

  .page-expert-football-predictions__container {
    padding: 0 15px;
  }

  .page-expert-football-predictions__feature-card,
  .page-expert-football-predictions__match-card,
  .page-expert-football-predictions__tip-card {
    padding: 20px;
  }

  .page-expert-football-predictions__cta-title {
    font-size: 2em;
  }

  .page-expert-football-predictions__cta-description {
    font-size: 1em;
  }

  .page-expert-football-predictions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-expert-football-predictions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-expert-football-predictions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-expert-football-predictions video,
  .page-expert-football-predictions__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-expert-football-predictions__hero-video-wrapper,
  .page-expert-football-predictions__cta-buttons,
  .page-expert-football-predictions__contact-buttons,
  .page-expert-football-predictions__feature-grid,
  .page-expert-football-predictions__match-card-grid,
  .page-expert-football-predictions__tips-grid,
  .page-expert-football-predictions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-expert-football-predictions__feature-card,
  .page-expert-football-predictions__match-card,
  .page-expert-football-predictions__tip-card,
  .page-expert-football-predictions__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .page-expert-football-predictions__process-item {
    margin-left: 15px;
    margin-right: 15px;
  }
}