/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

/* ------------------------------------------------------------
   1. HERO SECTION
   ------------------------------------------------------------ */
.contact-hero {
  position: relative;
  padding: 0;
  padding-bottom: 6rem;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 25, 0.7); /* Dark overlay */
  z-index: 0;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.contact-hero__subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-green, #E86A2E);
  font-style: italic;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 4rem;
}

.contact-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-hero__breadcrumb a:hover {
  color: var(--color-green, #E86A2E);
}

.contact-hero__breadcrumb i {
  font-size: 0.75rem;
  margin: 0 0.25rem;
}

.contact-hero__breadcrumb span {
  color: var(--color-green, #E86A2E);
}



/* ------------------------------------------------------------
   2. CONTACT INFO & FORM SECTION
   ------------------------------------------------------------ */
.contact-section {
  padding: 6rem 2rem;
  background-color: #fff;
}

.contact-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #F4F4F6;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Left: Info */
.contact-info {
  padding: 4rem;
}

.contact-info__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #0A1119;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info__desc {
  font-size: 1.0625rem;
  color: #4A5568;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item--full {
  grid-column: 1 / -1;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background-color: #0A1119;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item__details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-item__label {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #0A1119;
}

.contact-item__text {
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.5;
}

.contact-item__link {
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item__link:hover {
  color: var(--color-green, #E86A2E);
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  grid-column: 1 / -1;
  justify-content: center;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  background-color: #242D38; /* Based on the image */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px; /* Matches the rounded square look in the screenshot */
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-social-link:hover {
  background-color: var(--color-green, #E86A2E);
  color: #fff;
}

/* Right: Form */
.contact-form-wrapper {
  padding: 4rem;
  display: flex;
  align-items: center;
}

.contact-form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
}

.contact-form__group--full {
  grid-column: 1 / -1;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc !important;
  font-family: inherit;
  font-size: 1rem;
  color: #0A1119 !important;
  transition: all 0.3s ease;
}

.contact-form__input::placeholder,
.contact-form__select::placeholder,
.contact-form__textarea::placeholder {
  color: #9CA3AF !important;
  opacity: 1;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #0A1119;
  box-shadow: 0 0 0 3px rgba(10, 17, 25, 0.1);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1119' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1em;
  padding-right: 2.75rem;
}

.contact-form__textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 150px;
}

.contact-form__submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.btn--dark-pill {
  background-color: #0A1119;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: background-color 0.3s ease;
}

.btn--dark-pill:hover {
  background-color: var(--color-green, #E86A2E);
}

/* ------------------------------------------------------------
   3. MAP SECTION
   ------------------------------------------------------------ */
.map-section {
  width: calc(100% - 4rem);
  max-width: 1200px;
  height: 450px;
  margin: 0 auto 6rem;
  display: block;
  background-color: #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 17, 25, 0.1);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ------------------------------------------------------------
   4. RESPONSIVE DESIGN
   ------------------------------------------------------------ */
@media (max-width: 992px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
  }
  .contact-info,
  .contact-form-wrapper {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form__group {
    grid-column: 1 / -1;
  }
  .contact-hero {
    padding: 8rem 1.5rem 4rem;
  }
  .contact-hero__breadcrumb {
    flex-wrap: wrap;
  }
}

/* Contact Page Dark Form Card */
.contact-form-wrapper {
  background: #09131e;
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem;
  }
}
