/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  color: #FFF6D6; /* Main text color from custom colors */
  background-color: #0A0A0A; /* Background from custom colors */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__section-padding {
  padding: 60px 0;
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for the hero section */
  text-align: center;
  overflow: hidden;
  padding: 10px 0; /* Small top padding, body handles --header-offset */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability, not color change */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text block */
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #FFD36B; /* Accent color for main title */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
}

/* Contact Methods Section */
.page-contact__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-contact__method-card {
  background: #111111; /* Card BG from custom colors */
  border: 1px solid #3A2A12; /* Border from custom colors */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-contact__method-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main brand color for card titles */
  margin-bottom: 15px;
}

.page-contact__method-card p {
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient from custom colors */
  color: #111111; /* Dark text for contrast on bright button */
  border: 1px solid #FFD36B; /* Glow color for border */
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFD36B; /* Glow effect */
}

.page-contact__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main brand color for text */
  border: 1px solid #F2C14E; /* Main brand color for border */
}

.page-contact__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text for contrast */
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Contact Form Section */
.page-contact__contact-form {
  background: #111111; /* Card BG from custom colors */
  border: 1px solid #3A2A12; /* Border from custom colors */
  border-radius: 10px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  color: #F2C14E; /* Main brand color for labels */
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for input backgrounds */
  border: 1px solid #3A2A12; /* Border from custom colors */
  border-radius: 5px;
  color: #FFF6D6; /* Text Main color */
  font-size: 1em;
  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); /* Lighter placeholder text */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #F2C14E; /* Main brand color on focus */
  outline: none;
  box-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-contact__form-submit {
  width: 100%;
  font-size: 1.1em;
  padding: 15px;
}

/* FAQ Section */
.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__faq-item {
  background: #111111; /* Card BG from custom colors */
  border: 1px solid #3A2A12; /* Border from custom colors */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(242, 193, 78, 0.1); /* Slightly lighter background for question */
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  font-size: 1.2em;
  color: #F2C14E; /* Main brand color for FAQ titles */
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B; /* Glow color for toggle */
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(0deg); /* No rotation for '-' */
}

.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 to show content */
  padding: 15px 25px 25px 25px;
}

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

/* Call to Action Section */
.page-contact__cta-section {
  text-align: center;
  background: #111111; /* Card BG for this section */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-contact__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__hero-content {
    padding: 30px 15px;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-contact__section-padding {
    padding: 40px 0;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
  }

  .page-contact__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }
  .page-contact__hero-content {
    padding: 20px 15px;
  }
  .page-contact__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

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

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

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

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

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

  .page-contact__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-contact__cta-buttons a {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsive adaptation */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-contact__section, .page-contact__card, .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-section {
    min-height: 350px;
  }
  .page-contact__main-title {
    font-size: clamp(1.3em, 7vw, 2em);
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__card-title {
    font-size: 1.3em;
  }
  .page-contact__contact-form {
    padding: 25px 15px;
  }
  .page-contact__faq-question {
    padding: 15px;
  }
  .page-contact__faq-title {
    font-size: 1em;
  }
  .page-contact__faq-toggle {
    font-size: 1.5em;
  }
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 15px 15px 15px;
  }
}