/* style/contact.css */
/* Base styles for the contact page, ensuring contrast with body background #000 */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Main content area, background set by sections */
}

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

.page-contact__section-title {
  font-size: 36px;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-contact__section-text {
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  background: linear-gradient(135deg, #B22222, #801919); /* Dark red gradient */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  margin-top: 0;
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 20px;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-contact__hero-image {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 0;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Contact Info Section */
.page-contact__contact-info-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast with body #000 */
  padding: 60px 0;
}

.page-contact__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

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

.page-contact__info-card {
  background: #1a1a1a; /* Darker card background */
  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;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-contact__info-card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__info-card-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box; /* Button responsiveness */
  white-space: normal; /* Button responsiveness */
  word-wrap: break-word; /* Button responsiveness */
}

.page-contact__btn-primary {
  background-color: #B22222;
  color: #ffffff;
  border: 2px solid #B22222;
}

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #B22222;
  transform: translateY(-2px);
}

/* Contact Form Section */
.page-contact__form-section {
  background-color: #000000; /* Body background */
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-contact__form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:contact_form_bg:800x600:abstract,communication,dark_pattern,sunwin.hb]'); /* Placeholder for background image */
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.9); /* Semi-transparent dark background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

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

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

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

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

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

.page-contact__form-submit-btn {
  width: auto;
  min-width: 180px;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border: none;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-contact__faq-question:active {
  background: #eeeeee;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333; /* Dark text for light background */
}

.page-contact__faq-toggle {
  font-size: 28px; /* Larger for better tap target */
  font-weight: bold;
  line-height: 1;
  color: #B22222; /* Brand color for toggle */
  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: 32px; /* Increased size */
  height: 32px; /* Increased size */
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Rotate for 'x' effect, or keep '-' */
}

.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 20px;
  opacity: 0;
  color: #555555; /* Slightly lighter dark text */
  background: #fcfcfc;
  font-size: 16px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px !important;
  opacity: 1;
  background: #fcfcfc;
  border-radius: 0 0 8px 8px;
}

/* Social Media Section */
.page-contact__social-media-section {
  padding: 60px 0;
  background-color: #121212; /* Slightly different dark background */
}

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

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
  color: #FFD700;
  transform: translateY(-5px);
}

.page-contact__social-link img {
   /* Larger social icons */
  
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  border: 3px solid #FFD700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover img {
  border-color: #B22222;
  transform: scale(1.05);
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-contact__commitment-section .page-contact__section-title {
  color: #B22222; /* Brand color for title on light background */
}

.page-contact__commitment-section .page-contact__section-intro,
.page-contact__commitment-section .page-contact__section-text {
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  /* Ensure main content padding-top is correct on mobile */
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Mobile header offset */
  }

  .page-contact__hero-title {
    font-size: 32px;
  }

  .page-contact__hero-description {
    font-size: 18px;
  }

  .page-contact__section-title {
    font-size: 26px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__section-intro,
  .page-contact__section-text {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__container {
    padding: 30px 15px;
  }

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

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

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

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

  .page-contact__form-submit-btn {
    width: 100%; /* Full width button on mobile */
    min-width: unset;
  }

  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-contact__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
}