/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa; /* Light background for the page */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__main-heading {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.page-contact__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.page-contact__section-heading {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #007bff; /* Primary brand color for headings on light background */
  text-align: center;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Dark blue gradient */
  color: #ffffff;
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ffc107; /* Auxiliary color for CTA */
  color: #000000; /* Black text for contrast on yellow */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button:hover {
  background: #e0a800; /* Darker yellow on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background */
}

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

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

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 100%; /* Ensure image is responsive */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-description {
  color: #555555;
  margin-bottom: 20px;
  font-size: 0.95em;
}

.page-contact__email-address, .page-contact__phone-number {
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
}

.page-contact__link {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background: #007bff; /* Primary color for form background */
  color: #ffffff;
}

.page-contact__form-section .page-contact__section-heading,
.page-contact__form-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  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: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #ffc107; /* Auxiliary color on focus */
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.page-contact__contact-form .page-contact__btn-primary {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  background: #ffc107;
  color: #000000; /* Black text for contrast on yellow */
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__contact-form .page-contact__btn-primary:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

/* Hours Section */
.page-contact__hours-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-contact__hours-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px;
  max-width: 600px;
  font-size: 1.1em;
  color: #333333;
}

.page-contact__hours-list li {
  background: #ffffff;
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.page-contact__icon-clock, .page-contact__icon-mail, .page-contact__icon-phone {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(20%) sepia(90%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(90%); /* Darken blue icons */
}

.page-contact__icon-clock {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}
.page-contact__icon-mail {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}
.page-contact__icon-phone {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.32.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1h-4c-3.87 0-7-3.13-7-7V4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.12.35.03.75-.25 1.02l-2.2 2.2z"/></svg>');
}

.page-contact__additional-note {
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
  color: #555555;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background: #007bff;
  color: #ffffff;
}

.page-contact__faq-section .page-contact__section-heading,
.page-contact__faq-section .page-contact__section-description {
  color: #ffffff;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.page-contact__faq-question:active {
  background: rgba(255, 255, 255, 0.3);
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107; /* Auxiliary color for toggle icon */
  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: 28px;
  height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #ffffff;
  transform: rotate(180deg);
}

.page-contact__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 25px;
  opacity: 0;
  color: #e0e0e0;
  font-size: 0.95em;
  line-height: 1.7;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

/* Responsible Gambling Section */
.page-contact__responsible-gambling-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #007bff;
  text-decoration: none;
  border: 2px solid #007bff;
  border-radius: 50px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

.page-contact__btn-secondary:hover {
  background: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Feedback Section */
.page-contact__feedback-section {
  padding: 80px 0;
  background: #007bff; /* Primary color for feedback background */
  color: #ffffff;
  text-align: center;
}

.page-contact__feedback-section .page-contact__section-heading,
.page-contact__feedback-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__feedback-call-to-action {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 30px;
  color: #ffc107;
}

/* Utility classes for color contrast */
.page-contact__dark-bg {
  color: #ffffff;
}
.page-contact__light-bg {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__main-heading {
    font-size: 2.5em;
  }
  .page-contact__section-heading {
    font-size: 1.8em;
  }
  .page-contact__intro-text, .page-contact__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding: 60px 15px;
  }

  .page-contact__main-heading {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-contact__intro-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__cta-button {
    padding: 12px 30px;
    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__info-section,
  .page-contact__form-section,
  .page-contact__hours-section,
  .page-contact__faq-section,
  .page-contact__responsible-gambling-section,
  .page-contact__feedback-section {
    padding: 50px 0;
  }

  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__section-heading {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-contact__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__method-icon {
    height: 150px;
  }

  .page-contact__method-title {
    font-size: 1.3em;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
  }

  .page-contact__contact-form .page-contact__btn-primary {
    font-size: 1.1em;
  }

  .page-contact__hours-list {
    font-size: 1em;
    margin-top: 30px;
  }

  .page-contact__hours-list li {
    padding: 12px 15px;
  }

  .page-contact__icon-clock, .page-contact__icon-mail, .page-contact__icon-phone {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-question h3 {
    font-size: 1em;
  }

  .page-contact__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px !important;
  }

  .page-contact__feedback-call-to-action {
    font-size: 1.1em;
  }

  /* Image responsiveness for all img tags */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

@media (max-width: 480px) {
  .page-contact__main-heading {
    font-size: 1.8em;
  }
  .page-contact__section-heading {
    font-size: 1.4em;
  }
  .page-contact__cta-button {
    font-size: 0.9em;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__method-card {
    padding: 20px;
  }
}