/* style/contact.css */

/* Base Styles for page-contact */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Lighter white for descriptions */
}

/* Button Base Styles */
.page-contact__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-contact__btn-primary:hover {
  background-color: #1a7fb3; /* Darker shade for hover */
}

/* Specific button for form submission */
.page-contact__btn-submit {
  background-color: #EA7C07; /* Specific color for login/submit */
}

.page-contact__btn-submit:hover {
  background-color: #c76706; /* Darker shade for hover */
}

/* Section Backgrounds for Contrast */
.page-contact__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
  padding: 80px 0;
}

.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-contact__light-bg .page-contact__section-title {
  color: #26A9E0; /* Brand color for titles on light background */
}

.page-contact__light-bg .page-contact__section-description {
  color: #555555; /* Darker text for descriptions on light background */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 80px;
  background-color: #1a1a1a; /* Dark background for hero */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  padding-top: 50px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.page-contact__hero-description,
.page-contact__hero-sub-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

/* Contact Info Section */
.page-contact__info-section {
  text-align: center;
}

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

.page-contact__detail-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333; /* Dark text on light background */
}

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

.page-contact__detail-text,
.page-contact__detail-address,
.page-contact__detail-phone,
.page-contact__detail-email,
.page-contact__detail-hours {
  font-size: 1em;
  margin-bottom: 10px;
  color: #555555;
}

.page-contact__info-image {
  display: block;
  margin: 60px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Contact Form Section */
.page-contact__form-section {
  text-align: center;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #2a2a2a; /* Darker background for form */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444444;
  border-radius: 5px;
  background-color: #3a3a3a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

.page-contact__form-image {
  display: block;
  margin: 60px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Support Section */
.page-contact__support-section {
  text-align: center;
}

.page-contact__btn-live-chat {
  margin-top: 30px;
  background-color: #EA7C07; /* Login color for live chat */
}

.page-contact__btn-live-chat:hover {
  background-color: #c76706;
}

.page-contact__support-image {
  display: block;
  margin: 60px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-contact__faq-section {
  text-align: center;
}

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

.page-contact__faq-item {
  background-color: #2a2a2a; /* Darker background for FAQ items */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #3a3a3a; /* Slightly lighter for question header */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: left;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-contact__faq-image {
  display: block;
  margin: 60px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Social Media Section */
.page-contact__social-section {
  text-align: center;
}

.page-contact__social-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  padding: 10px 20px;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__social-image {
  display: block;
  margin: 60px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__support-section,
  .page-contact__faq-section,
  .page-contact__social-section {
    padding: 40px 0 !important; /* Adjust padding for mobile */
  }

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

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