/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Matches body background for consistency if not overridden */
}

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

/* Header offset for fixed header */
.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
}

.page-contact__hero-section {
  position: relative;
  background-color: #000000; /* Fallback for image */
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-contact__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-contact__hero-section > .page-contact__container {
  position: relative;
  z-index: 2;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Brand primary color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Brand primary color for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-contact__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff; /* Light text for card content */
}

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

.page-contact__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__email-link, .page-contact__phone-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-contact__social-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8B0000; /* Auxiliary color for social buttons */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__social-btn:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Darker background for contrast */
  color: #ffffff;
  text-align: center;
}

.page-contact__faq-image {
  max-width: 60%;
  height: auto;
  margin: 0 auto 60px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700; /* Primary color for questions */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.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 sign rotates to a cross */
}

.page-contact__faq-answer {
  max-height: 0; /* Initial state */
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px; /* Adjust padding when active */
}

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

.page-contact__feedback-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

.page-contact__feedback-image {
  max-width: 60%;
  height: auto;
  margin: 0 auto 60px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__feedback-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1); /* Form background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__form-group {
  margin-bottom: 25px;
  text-align: left;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5); /* Darker input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #cccccc;
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-contact__cta-section {
  padding: 80px 0;
  background-color: #000000; /* Darkest background for strong CTA */
  color: #ffffff;
  text-align: center;
}

.page-contact__cta-image {
  max-width: 80%;
  height: auto;
  margin: 0 auto 60px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-contact__btn-primary {
  background-color: #FFD700; /* Primary brand color */
  color: #121212; /* Dark text for primary button */
  border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
  background-color: #e0b000;
  border-color: #e0b000;
  color: #000000;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Primary brand color for text */
  border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #121212;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__hero-description,
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__faq-image, .page-contact__feedback-image, .page-contact__cta-image {
    max-width: 70%;
  }
}

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

  .page-contact__hero-section {
    padding: 80px 0;
    min-height: 400px;
  }

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

  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-contact__section-description {
    margin-bottom: 40px;
  }

  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__feedback-section,
  .page-contact__cta-section {
    padding: 60px 0;
  }

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

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__card-title {
    font-size: 1.5em;
  }

  .page-contact__faq-image, .page-contact__feedback-image, .page-contact__cta-image {
    max-width: 90%;
    margin-bottom: 40px;
  }

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

  .page-contact__faq-answer {
    padding: 10px 20px;
  }

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

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

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

  /* Responsive Images */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Responsive Containers for images and other content */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__feedback-form,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  /* Responsive Buttons */
  .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; /* Ensure full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }
  
  .page-contact__social-links {
    flex-direction: column; /* Stack social buttons vertically */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-description,
  .page-contact__section-description {
    font-size: 0.9em;
  }
}

/* Color Contrast Fixes (if needed, ensure light text on dark background) */
.page-contact__dark-bg {
  color: #ffffff;
}
.page-contact__card {
  color: #ffffff;
}
.page-contact__form-label {
  color: #FFD700;
}
.page-contact__form-input,
.page-contact__form-textarea {
  color: #ffffff;
}
.page-contact__btn-primary {
  color: #121212;
}
.page-contact__btn-secondary {
  color: #FFD700;
}