/* style/contact.css */

/* Global styles for page-contact scope */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Main content background will be body background */
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-description {
  font-size: 18px;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* Desktop padding-top to account for fixed header */
  padding-top: 180px; 
  background: linear-gradient(135deg, #8B0000, #FFD700); /* Brand colors for hero background */
  color: #ffffff;
}

.page-contact__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Auxiliary color for CTA */
  color: #000000; /* Dark text for auxiliary color background */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

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

.page-contact__info-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-contact__info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__icon-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.page-contact__info-icon {
  width: 80px; /* Larger icon size */
  height: auto;
  max-width: 100%;
  display: block;
  /* filter: brightness(1.2); */ /* Removed filter to comply with strict color preservation */
}

.page-contact__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700; /* Auxiliary color for titles */
}

.page-contact__card-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-contact__contact-link,
.page-contact__contact-text {
  font-size: 18px;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block; /* Ensure links take full width for clickability */
}

.page-contact__contact-link:hover {
  color: #FFA500;
  text-decoration: underline;
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Body background */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 15px;
  border: 1px solid #444444;
  border-radius: 5px;
  font-size: 16px;
  background: #333333; /* Dark input background */
  color: #ffffff; /* Light text for input */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

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

.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__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 18px;
  background: #8B0000; /* Main brand color for submit button */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__submit-button:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Social Section */
.page-contact__social-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

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

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

.page-contact__social-icon {
  width: 80px; /* Larger social icons */
  height: auto;
  margin-bottom: 10px;
  max-width: 100%;
  display: block;
  /* filter: brightness(1.2); */ /* Removed filter to comply with strict color preservation */
}

/* Map Section */
.page-contact__map-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-contact__map-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__map-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

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

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  color: #cccccc; /* Slightly darker light text */
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1); /* Slightly lighter background for question */
  border: 1px solid #444444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff; /* Light text for question */
}

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #555555;
}

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

.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: #ffffff;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: #FFA500;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-contact__faq-answer .page-contact__link-in-text {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__faq-answer .page-contact__link-in-text:hover {
  text-decoration: underline;
  color: #FFA500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 30px;
  }
  .page-contact__section-description {
    font-size: 16px;
  }
  .page-contact__card-title {
    font-size: 22px;
  }
  .page-contact__info-icon,
  .page-contact__social-icon {
    width: 70px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 160px !important; /* Mobile padding-top */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-title {
    font-size: 32px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-contact__section-title {
    font-size: 28px;
    padding-top: 30px;
  }
  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__social-section,
  .page-contact__map-section,
  .page-contact__faq-section {
    padding: 50px 0;
  }

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

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

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

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

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 10px);
    padding: 12px;
    font-size: 15px;
  }

  .page-contact__submit-button {
    padding: 15px;
    font-size: 16px;
  }

  .page-contact__social-links {
    gap: 20px;
  }
  .page-contact__social-icon {
    width: 60px;
  }
  .page-contact__social-link {
    font-size: 14px;
  }

  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-contact__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-contact__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }

  /* Image responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-container,
  .page-contact__info-card,
  .page-contact__contact-form,
  .page-contact__social-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__social-link { /* Adjust padding for social links on mobile */
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 28px;
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__info-icon,
  .page-contact__social-icon {
    width: 50px;
  }
}