/* style/contact.css */

/* Variables from shared.css */
:root {
  --primary-color: #DAA520; /* Gold */
  --primary-color-darker: #C08E1C; /* Darkened primary for hover */
  --secondary-color: #1E1E1E; /* Dark Grey/Black */
  --accent-color: #CC0000; /* Deep Red for highlights */
  --accent-color-darker: #B20000; /* Darkened accent for hover */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #f1f3f5; /* Light grey background */
  --border-color-light: #e0e0e0;
  --bg-card-hover: #f5f5f5;
  --bg-card-active: #eeeeee;
}

.page-contact {
  padding-top: 120px; /* Space for fixed header - Desktop */
  background-color: var(--secondary-color); /* Body background is dark */
  color: var(--text-color-light); /* Light text on dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: 100px; /* Space for fixed header - Mobile */
  }
}

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

.page-contact__hero-banner {
  position: relative;
  width: 100%;
  padding: 80px 0; /* Adjusted padding as the main container already has padding-top */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Blend of brand colors */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure some height even if image is slow to load */
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.2; /* Make it a subtle background */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color-light);
}

.page-contact__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: var(--text-color-light);
  font-weight: 300;
}

.page-contact__cta-button {
  display: inline-block;
  background: var(--accent-color); /* Use accent color for CTA */
  color: var(--text-color-light);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-contact__cta-button:hover {
  background: var(--accent-color-darker); /* Darken accent color on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 60px 0;
  background-color: var(--bg-color-light); /* Light background for this section */
  color: var(--text-color-dark); /* Dark text on light background */
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-color-dark);
  text-align: center;
  margin-bottom: 20px;
}

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

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

.page-contact__method-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
  width: 150px; /* Larger size for illustrations, not small icons */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 1em;
  color: var(--text-color-dark);
  margin-bottom: 25px;
}

.page-contact__method-link {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-color-light);
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__method-link:hover {
  background: var(--primary-color-darker);
}

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

.page-contact__social-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: var(--primary-color-darker);
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__contact-form-section {
  padding: 60px 0;
  background-color: var(--secondary-color); /* Dark background for this section */
  color: var(--text-color-light); /* Light text on dark background */
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--text-color-light);
  font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3); /* Darker input background */
  color: var(--text-color-light);
  font-size: 1em;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--primary-color);
  background-color: rgba(0, 0, 0, 0.5);
  outline: none;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: var(--text-color-light);
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__form-submit-button:hover {
  background: var(--primary-color-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color-light); /* Light background for FAQ */
  color: var(--text-color-dark); /* Dark text on light background */
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 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;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

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