/* style/contact.css */

/* General body styling for page-contact content, assuming a dark shared background */
.page-contact {
  background-color: var(--background-color, #0A0A0A); /* Default to #0A0A0A if --background-color is not defined */
  color: var(--text-main-color, #FFF6D6); /* Default to #FFF6D6 for main text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-contact__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-contact__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  color: #FFF6D6; /* Light text on dark background */
}

.page-contact__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Brand color for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-contact__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff; /* White text on button */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4); /* Glow effect */
}

.page-contact__hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

/* Common container and section titles */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-contact__section-description {
  font-size: 1.05rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-contact__method-item {
  background-color: #111111; /* Card background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color, #3A2A12); /* Border color */
}

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

.page-contact__method-icon {
  width: 100px; /* Larger icon size */
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%; /* Example for rounded icons */
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border: 2px solid #FFD36B; /* Glow color */
}

.page-contact__method-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 25px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-social {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button does not overflow */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-contact__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text on brand color background */
}

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

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #111111; /* Card background */
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color, #3A2A12);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFF6D6;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 246, 214, 0.6); /* Lighter placeholder text for contrast */
}

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

.page-contact__form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
}

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

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

.page-contact__faq-item {
  background-color: #111111; /* Card background */
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-contact__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Subtle hover effect */
}

.page-contact__faq-q-text {
  margin: 0;
  flex-grow: 1;
  color: #F2C14E;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

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

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: rgba(17, 17, 17, 0.8); /* Slightly lighter background for answer */
  font-size: 1rem;
}

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

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

.page-contact__faq-answer a {
    color: #FFD36B; /* Link color within FAQ answer */
    text-decoration: underline;
}

/* Location Section */
.page-contact__location-section {
    padding: 60px 0;
    background-color: #0A0A0A;
    text-align: center;
}

.page-contact__map-wrapper {
    max-width: 800px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #F2C14E;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.5); /* Glow effect for map */
}

.page-contact__map-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__address-text {
    font-size: 1.1rem;
    color: #FFF6D6;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-contact__location-cta {
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-contact__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .page-contact__hero-image {
    height: 500px; /* Adjust hero image height for tablets */
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important; /* Ensure small top padding, overriding any larger values */
    padding-bottom: 30px;
  }
  .page-contact__hero-image {
    height: 300px; /* Adjust hero image height for mobile */
    margin-bottom: 20px;
  }
  .page-contact__hero-content {
    padding: 0 15px;
  }
  .page-contact__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-contact__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-contact__hero-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-contact__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 15px;
  }
  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }
}