/* style/contact.css */

/* Variables for brand colors */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f5f5f5;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.08); /* Slightly visible card background on dark body */
  --border-color-dark-mode: rgba(255, 255, 255, 0.15);
}

/* Base styles for the page content */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from body, but good to specify */
  padding-top: 120px; /* Ensure content is not hidden by fixed header */
}

/* Container for consistent width */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section styling */
.page-contact__hero-section,
.page-contact__methods-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__support-commitment {
  padding: 60px 0;
  text-align: center;
}

.page-contact__hero-section {
  padding-top: 120px; /* Ensure content is not hidden by fixed header for this specific section */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #000000 0%, #1A1A1A 100%); /* Dark gradient background */
}

.page-contact__form-section {
  background-color: var(--bg-light); /* Light background for form section */
  color: var(--text-dark); /* Dark text for light background */
}

/* Headings */
.page-contact__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-contact__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-contact__form-section .page-contact__section-title {
  color: var(--secondary-color); /* Dark title on light background */
  text-shadow: none;
}

.page-contact__description,
.page-contact__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-contact__form-section .page-contact__description,
.page-contact__form-section .page-contact__text-block {
  color: var(--text-dark);
}

/* Call to Action Buttons */
.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-contact__cta-button--primary {
  background: var(--primary-color);
  color: var(--secondary-color); /* Gold button with dark text for contrast */
}

.page-contact__cta-button--primary:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark button with gold text */
  border: 2px solid var(--primary-color);
}

.page-contact__cta-button--secondary:hover {
  background: #000000; /* Even darker */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Grid */
.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-card {
  background-color: var(--card-bg-dark-mode); /* Card background on dark body */
  border: 1px solid var(--border-color-dark-mode);
  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;
  color: var(--text-light); /* Light text on dark card */
}

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

.page-contact__method-icon {
  width: 80px; 
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow for icons */
  max-width: 100%; /* Responsive image */
  height: auto; /* Responsive image */
  display: block; /* Responsive image */
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__method-description {
  font-size: 16px;
  margin-bottom: 25px;
}

.page-contact__method-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-contact__method-link:hover {
  background-color: #e6c200;
  color: var(--secondary-color);
}

/* Contact Form */
.page-contact__contact-form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  background-color: #ffffff; /* White background for the form itself */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-dark); /* Dark text on light form background */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  color: var(--text-dark); /* Dark text inside input */
  background-color: #f8f8f8;
}

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

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 8px;
  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.15);
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter than card bg */
  border-bottom: 1px solid var(--border-color-dark-mode);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

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

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

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color); /* Gold for questions */
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.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;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-light); /* Light text for answer */
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: var(--text-light);
}

/* Light background section specific text color override */
.page-contact__text-dark-contrast {
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 40px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__description,
  .page-contact__text-block {
    font-size: 17px;
  }
}

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

  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__support-commitment {
    padding: 40px 0;
  }

  .page-contact__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-contact__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-contact__description,
  .page-contact__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px; /* Add some padding to text blocks */
  }

  /* Responsive CTA buttons */
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__cta-button {
    width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* Responsive methods grid */
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-contact__method-card {
    padding: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__method-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__method-title {
    font-size: 20px;
  }

  .page-contact__method-description {
    font-size: 15px;
  }

  .page-contact__method-link {
    padding: 8px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Responsive contact form */
  .page-contact__contact-form {
    padding: 30px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-contact__submit-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Responsive FAQ */
  .page-contact__faq-list {
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-contact__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px); /* Adjust width for toggle icon */
  }
  
  .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;
  }
  .page-contact__faq-answer p {
    font-size: 15px;
  }

  /* Ensure images are responsive */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__method-card img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video specific responsive rules (if any, though not for this page) */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 28px;
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__cta-button {
    font-size: 15px;
  }
  .page-contact__method-title {
    font-size: 18px;
  }
  .page-contact__method-description {
    font-size: 14px;
  }
  .page-contact__method-link {
    font-size: 14px;
  }
  .page-contact__faq-question h3 {
    font-size: 14px;
  }
  .page-contact__faq-answer p {
    font-size: 14px;
  }
}