/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherit or explicitly set based on body */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding: 80px 0 40px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(0, 0, 0, 0.8)), url('[GALLERY:hero_bg:1920x1080:nowgoal,ltd,contact,hero,background,sports,betting]') center/cover no-repeat;
  text-align: center;
  color: #ffffff;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-cta {
  margin-bottom: 40px;
}

.page-contact__btn-primary {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-contact__hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

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

.page-contact__info-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__card-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover {
  color: #005a2e;
  text-decoration: underline;
}

.page-contact__map-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-contact__map-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  min-width: 200px; /* Min size for content images */
  min-height: 200px;
}

.page-contact__map-address {
  font-size: 1.1em;
  color: #333333;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #f0f0f0;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #333;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #bbb;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  background-color: #2a2a2a;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background */
  color: #333333; /* Dark text */
}

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

.page-contact__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #e6e6e6;
}

.page-contact__faq-item[open] > .page-contact__faq-question {
  background-color: #e6e6e6;
  border-bottom: none;
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

.page-contact__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  color: #005a2e;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 60px 0;
  background-color: #017439; /* Brand main color background */
  color: #ffffff; /* Light text */
}

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

.page-contact__commitment-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-contact__commitment-card:hover {
  transform: translateY(-5px);
}

.page-contact__commitment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Min size for content images */
  min-height: 200px;
}

.page-contact__commitment-card .page-contact__card-title {
  color: #ffffff;
}

.page-contact__commitment-card .page-contact__card-text {
  color: #f0f0f0;
}

.page-contact__closing-statement {
  text-align: center;
  font-size: 1.2em;
  margin-top: 50px;
  font-style: italic;
  color: #f0f0f0;
}

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

  .page-contact__hero-description {
    font-size: 1.1em;
  }

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

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

  .page-contact__container {
    padding: 0 15px !important;
  }

  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 20px;
  }

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

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__btn-primary {
    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-contact__hero-video-wrapper {
    padding-bottom: 65%; /* Adjust for slightly taller aspect ratio on mobile */
  }

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

  .page-contact__info-card {
    padding: 25px;
  }

  .page-contact__form-section, .page-contact__info-section, .page-contact__faq-section, .page-contact__commitment-section {
    padding: 40px 0;
  }

  .page-contact__contact-form {
    padding: 20px;
  }

  .page-contact__form-label {
    font-size: 0.9em;
  }

  .page-contact__form-input, .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.9em;
  }

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

  .page-contact__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

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

  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-contact__map-image, .page-contact__commitment-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-contact__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}