/* ==========================================================================
   Contact Us — custom page styles
   Renkler: site global (--e-global) paletinden alındı
     primary: #384F57 (koyu teal)
     navy:    #082638
     text:    #1A1A1A
   ========================================================================== */

.contact-page {
  background: #fff;
  color: #1a1a1a;
}

.contact-hero {
  position: relative;
  min-height: 650px;
  padding: 0 24px 100px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background-image: url("/assets/uploads/2025/10/contact-us-banner.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/uploads/2025/10/banner-overlay.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  pointer-events: none;
}

.contact-hero__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.contact-hero__title {
  font-family: "freight-display-pro", Sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 52px;
  margin: 0;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .contact-hero { min-height: 550px; padding-bottom: 80px; }
}

@media (max-width: 900px) {
  .contact-hero { min-height: 450px; padding-bottom: 80px; }
  .contact-hero__title { font-size: 42px; line-height: 50px; }
}

@media (max-width: 768px) {
  .contact-hero { min-height: 350px; padding: 0 20px 60px; }
  .contact-hero__title { font-size: 36px; line-height: 44px; }
}

@media (max-width: 480px) {
  .contact-hero { min-height: 300px; padding-bottom: 50px; }
  .contact-hero__title { font-size: 30px; line-height: 40px; }
}

.contact-offices {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-office {
  background: #f7f7f4;
  border-left: 4px solid #384F57;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 40px;
  align-items: center;
}

.contact-office__title {
  font-family: "freight-display-pro", Sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #1a1a1a;
}

.contact-office__body p {
  margin: 0 0 10px;
  line-height: 1.7;
  color: #2d2d2d;
  font-size: 1rem;
}

.contact-office__body p:last-child {
  margin-bottom: 0;
}

.contact-office__body a {
  color: #384F57;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.contact-office__body a:hover {
  border-bottom-color: #384F57;
}

.contact-office__label {
  display: inline-block;
  min-width: 60px;
  font-weight: 600;
  color: #1a1a1a;
}

a.contact-office__btn,
a.contact-office__btn:link,
a.contact-office__btn:visited {
  display: inline-block;
  padding: 14px 32px;
  background: #384F57;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #384F57;
  border-bottom: 1px solid #384F57;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

a.contact-office__btn:hover,
a.contact-office__btn:focus {
  background: #ffffff;
  color: #384F57;
  border-color: #384F57;
}

@media (max-width: 900px) {
  .contact-office {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 20px;
    align-items: start;
  }
  .contact-office__btn {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .contact-offices {
    padding: 48px 20px;
    gap: 24px;
  }
  .contact-office__title {
    font-size: 1.5rem;
  }
}

/* === WP "Send a message" form section ===
   Form içeriğinin layout/input stilleri bundle-vendor.css'teki
   .contact-form-wraper kurallarından geliyor. Burada sadece section
   wrapper bg ve mockup'a özel error/success state'leri var. */
.contactus-form {
  background: #385C70;
  padding: 67px 77px 78px;
  margin: 0 0 73px;
  position: relative;
}
.contact-form-wraper {
  max-width: 1350px;
  margin: 0 auto;
}

.contact-form__error {
  font-family: "Source Sans 3", Sans-serif;
  font-size: 14px;
  color: #ffffff;
  background: rgba(192, 57, 43, 0.85);
  border-left: 3px solid #c0392b;
  padding: 12px 14px;
  margin: 0 0 16px;
}

.contact-form__success {
  text-align: center;
  padding: 48px 24px;
  background: #ffffff;
  border-left: 4px solid #3E7882;
}
.contact-form__success-icon { font-size: 2rem; color: #3E7882; margin-bottom: 12px; }
.contact-form__success-title {
  font-family: "freight-display-pro", Sans-serif;
  font-size: 1.75rem;
  color: #082638;
  margin: 0 0 8px;
}
.contact-form__success-lead {
  font-family: "Source Sans 3", Sans-serif;
  color: #4a5358;
  margin: 0;
}

@media (max-width: 1150px) {
  .contactus-form { padding: 50px 0 68px; }
}
@media (max-width: 999px) {
  .contactus-form { padding: 40px 0 50px; margin: 0 0 50px; }
}
@media (max-width: 767px) {
  .contactus-form { padding: 30px 0 40px; margin: 0 0 40px; }
}
@media (max-width: 480px) {
  .contactus-form { padding: 30px 16px 40px; margin: 0 0 30px; }
}
