/* style/contact.css */

/* Base styles for the page content, ensuring text contrast on dark background */
.page-contact {
  background-color: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Text Main color from custom palette for general text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Section styling */
.page-contact__hero-section,
.page-contact__info-section,
.page-contact__form-section,
.page-contact__direct-contact-section,
.page-contact__faq-section,
.page-contact__cta-banner {
  padding: 60px 0;
  text-align: center;
}

.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual effect */
  background: rgba(17, 17, 17, 0.8); /* Card BG color with transparency */
  border-radius: 10px;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF6D6; /* Main text color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-contact__hero-description,
.page-contact__text-block {
  font-size: 1.1em;
  color: #FFF6D6; /* Main text color */
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-weight: bold;
  color: #F2C14E; /* Primary brand color for titles */
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
  min-width: 200px; /* Minimum button width */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-contact__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Primary brand color */
  border: 2px solid #F2C14E; /* Primary brand color border */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-contact__btn-secondary:hover {
  background: #F2C14E; /* Primary brand color */
  color: #111111; /* Dark text */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

/* Info Section */
.page-contact__dark-section {
  background-color: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Text Main color */
}

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

.page-contact__info-card {
  background: #111111; /* Card BG color */
  color: #FFF6D6; /* Text Main color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12; /* Border color */
  text-align: left;
  min-height: 200px; /* Ensure minimum size */
}

.page-contact__card-title {
  color: #F2C14E; /* Primary brand color for card titles */
  margin-bottom: 15px;
}

/* Contact Form Section */
.page-contact__form-section {
  background: #111111; /* Card BG color for this section */
  color: #FFF6D6; /* Text Main color */
}

.page-contact__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-contact__contact-form {
  flex: 2;
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFF6D6; /* Text Main color */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  background: #0A0A0A; /* Background color */
  color: #FFF6D6; /* Text Main color */
  box-sizing: border-box;
  font-size: 1em;
}

.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 {
  outline: none;
  border-color: #F2C14E; /* Primary brand color on focus */
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3);
}

.page-contact__contact-form .page-contact__btn-primary {
  width: auto;
  min-width: unset;
  padding: 15px 40px;
}

.page-contact__form-image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

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