/* style/contact.css */
.page-contact {
  color: #ffffff; /* Body background is dark (#0a0a0a), so text is white */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  background-color: #0a0a0a;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background-color: #1e87b7;
  transform: translateY(-2px);
}

/* Info Section */
.page-contact__info-section {
  background-color: #0a0a0a;
  padding: 60px 0;
  text-align: center;
}

.page-contact__info-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-contact__info-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for dark theme */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
  width: 200px; /* Enforce min size */
  height: 200px; /* Enforce min size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Form Section */
.page-contact__form-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

.page-contact__form-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
}

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

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #2a2a2a;
  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: #aaaaaa;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  background-color: #3a3a3a;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__submit-button {
  width: 100%;
  background-color: #EA7C07; /* Login color for submit */
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 8px;
  border: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
  background-color: #c96706;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #0a0a0a;
  padding: 60px 0;
  text-align: center;
}

.page-contact__faq-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

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

.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);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-question-text {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  color: #26A9E0;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

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

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

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

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

.page-contact__social-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

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

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

.page-contact__social-icon-link {
  display: block;
  transition: transform 0.3s ease;
}

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

.page-contact__social-icon {
  width: 200px; /* Enforce min size */
  height: 200px; /* Enforce min size */
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }

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

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__social-title {
    font-size: 2em;
  }

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

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

  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__submit-button {
    font-size: 0.95em;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-question-text {
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px;
  }

  /* Mobile responsive images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  /* Mobile responsive containers for images/content */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-methods,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile responsive buttons */
  .page-contact__cta-button,
  .page-contact__cta-button--small,
  .page-contact__submit-button,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* If multiple buttons in a group, allow wrap */
  .page-contact__button-group, /* generic for any button container */
  .page-contact__contact-methods { /* specific for contact methods */
    flex-wrap: wrap !important;
    gap: 15px; /* Adjust gap for mobile */
  }
  .page-contact__social-links {
    gap: 15px;
  }
  
  /* Ensure content area images maintain min size or are handled by max-width:100% */
  .page-contact__method-icon, .page-contact__social-icon {
    width: 200px !important;
    height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }
}