/* style/contact.css */

/* Main Page Styling */
.page-contact {
  background: #0A0A0A; /* Custom background color */
  color: #FFF6D6; /* Custom text main color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Spacing between image and content */
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Brand main color for H1 */
  margin-bottom: 20px;
  /* No fixed font-size for H1, relying on shared or browser defaults */
}

.page-contact__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* General Container for content sections */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section Titles */
.page-contact__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Brand main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-contact__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: center;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
}

.page-contact__form-section .page-contact__container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* For responsiveness */
}

.page-contact__form-card {
  background: #111111; /* Card BG color */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  box-sizing: border-box;
  color: #FFF6D6;
}

.page-contact__form-card .page-contact__section-title {
  text-align: left;
  margin-top: 0;
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color for card titles */
}

.page-contact__image-col {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__image-right {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

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

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

/* Other Methods Section */
.page-contact__other-methods-section {
  padding: 60px 0;
  text-align: center;
}

.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: #111111; /* Card BG color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #FFF6D6;
  border: 1px solid #3A2A12; /* Border color */
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  font-size: 1.1em;
}

.page-contact__social-list li {
  margin-bottom: 5px;
}

.page-contact__social-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto 0;
  border-radius: 8px;
}

/* Support Team Section */
.page-contact__support-team-section {
  padding: 60px 0;
  background: #0A0A0A; /* Ensure dark background */
}

.page-contact__team-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* For responsiveness */
}

.page-contact__team-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-contact__team-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  box-sizing: border-box;
  color: #FFF6D6;
}

.page-contact__team-text .page-contact__text-block {
  text-align: left;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text for primary button */
  border: none;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-contact__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B; /* Glow color for secondary button text */
  border: 2px solid #3A2A12; /* Border color */
}

.page-contact__btn-secondary:hover {
  background: #FFD36B; /* Glow color on hover */
  color: #111111; /* Dark text on hover */
  border-color: #FFD36B;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__form-section .page-contact__container,
  .page-contact__team-content {
    flex-direction: column;
  }

  .page-contact__image-col,
  .page-contact__team-image {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Responsive font size */
  }

  .page-contact__description {
    font-size: 1em;
  }

  .page-contact__container {
    padding: 30px 15px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__form-card {
    padding: 30px 20px;
  }

  .page-contact__form-card .page-contact__section-title {
    font-size: 1.5em;
  }

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

  /* Mobile specific image adaptation */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile specific container adaptation */
  .page-contact__hero-section,
  .page-contact__form-section,
  .page-contact__other-methods-section,
  .page-contact__support-team-section,
  .page-contact__container,
  .page-contact__form-card,
  .page-contact__image-col,
  .page-contact__method-card,
  .page-contact__team-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile specific button adaptation */
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* If multiple buttons are in a flex container, ensure they wrap or stack */
  .page-contact__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-contact__container {
    padding: 20px 10px;
  }
  .page-contact__form-card {
    padding: 25px 15px;
  }
}