/* style/contact.css */
/* 
  Body background color: #0A0A0A (dark) from shared.css
  Text Main color: #FFF6D6 (light)
  Card BG color: #111111 (dark)
  Button gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%)
*/

.page-contact {
  color: #FFF6D6; /* Main text color for the page content */
  font-family: 'Arial', sans-serif; /* Example font */
  line-height: 1.6;
}

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

/* Fixed header spacing: Body handles padding-top */
.page-contact__hero-section,
.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__social-media-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Small top padding for the first section to avoid being covered by fixed header */
.page-content.page-contact > .page-contact__hero-section:first-child {
  padding-top: 10px; /* Small top spacing, body handles main offset */
}

.page-contact__dark-bg {
  background-color: #0A0A0A; /* Page background color */
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF6D6; /* Light text on dark background */
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__description,
.page-contact__section-description,
.page-contact__method-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Light text on dark background */
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: #F2C14E; /* Brand primary color for section titles */
  text-align: center;
}

.page-contact__hero-content {
  text-align: center;
  margin-bottom: 40px;
  z-index: 2; /* Ensure content is above any background effects */
  position: relative;
}

.page-contact__hero-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-contact__method-card {
  background-color: #111111; /* Card BG color */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-contact__method-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Auxiliary color for method titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__email-link,
.page-contact__phone-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: block;
  font-size: 1.1rem;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
  text-decoration: underline;
  color: #FFD86A;
}

.page-contact__address-text {
  font-style: normal;
  color: #FFF6D6;
  margin-top: 15px;
  font-size: 1.1rem;
}

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text on button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  color: #000000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Contact Form */
.page-contact__contact-form {
  background-color: #111111; /* Card BG color */
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  margin: 40px auto 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border color */
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  background-color: #0A0A0A; /* Darker input background */
  color: #FFF6D6;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-contact__form-submit-btn {
  width: 100%;
}

.page-contact__keyword {
  color: #FFD36B; /* Highlight keywords */
  font-weight: bold;
}

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

.page-contact__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  color: #FFF6D6;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #1A1A1A;
}

.page-contact__faq-heading {
  font-size: 1.1rem;
  margin: 0;
  color: #FFF6D6;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-contact__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: #FFF6D6;
  text-align: left; /* Override center alignment for paragraphs in FAQ */
}

/* Social Media Section */
.page-contact__social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  overflow: hidden; /* Ensure no overflow from large icons */
}

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

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

.page-contact__social-icon {
  width: 200px; /* Enforce minimum size as per strict requirements */
  height: 200px; /* Enforce minimum size as per strict requirements */
  border-radius: 50%; /* Make them round */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #3A2A12;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-media-section {
    padding: 40px 0;
  }

  .page-content.page-contact > .page-contact__hero-section:first-child {
    padding-top: 10px !important; /* Ensure small top spacing on mobile */
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-contact__description,
  .page-contact__section-description,
  .page-contact__method-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-contact__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 15px;
  }

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

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

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

  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__btn-primary {
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-contact__faq-heading {
    font-size: 1rem;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-contact__faq-answer p {
    font-size: 0.95rem;
  }

  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image-wrapper,
  .page-contact__social-icons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__social-icons {
    justify-content: center;
    gap: 15px;
  }
  .page-contact__social-icon {
    width: 200px !important; /* Enforce minimum size as per strict requirements */
    height: 200px !important; /* Enforce minimum size as per strict requirements */
  }
}