/* Contact Page (İletişim) */

/* ----- Hero Title ----- */
.contact-hero {
  padding-top: calc(var(--site-header-h) + 80px);
  padding-bottom: 40px;
  background: var(--color-bg);
}

.contact-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 130px);
  line-height: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.contact-hero__title-accent {
  color: var(--color-purple);
}

.contact-hero__title-rest {
  color: var(--color-black);
}

@media (max-width: 900px) {
  .contact-hero {
    padding-top: calc(var(--site-header-h) + 40px);
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .contact-hero__title {
    font-size: clamp(40px, 14vw, 56px);
    letter-spacing: 0;
  }
}

/* ----- Contact Section (Form + Info) ----- */
.contact-section {
  padding: 60px 0 100px;
  background: var(--color-bg);
}

.contact-section__inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

/* ----- Form ----- */
.contact-form {
  position: relative;
  flex: 1 1 745px;
  background: var(--color-bg);
  border: 1px solid var(--color-black);
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.contact-field__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-black);
  margin: 0;
}

.contact-field__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-black);
  padding: 8px 0 12px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-black);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.contact-field__input::placeholder {
  color: rgba(10, 10, 10, 0.5);
  font-weight: 400;
}

.contact-field__input:focus {
  border-bottom-color: var(--color-purple);
}

.contact-field__input--textarea {
  resize: vertical;
  min-height: 56px;
  line-height: 1.4;
}

.contact-form__honeypot-wrap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.contact-form__honeypot-label,
.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

/* Form geri bildirimi (hata / başarı) */
.contact-form .contact-form__feedback {
  display: none;
  margin: 0;
  padding: 14px 18px 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  border: 1px solid transparent;
  border-left-width: 4px;
  border-radius: 0;
  box-shadow: var(--shadow-stat);
}

.contact-form .contact-form__feedback:not([hidden]) {
  display: block;
}

.contact-form .contact-form__feedback.contact-form__feedback--error {
  color: #5c1212;
  background-color: #fdecec;
  border-color: #e8a8a8;
  border-left-color: #b42318;
}

.contact-form .contact-form__feedback.contact-form__feedback--success {
  color: #1f5a32;
  background-color: #ecf8f0;
  border-color: #b8e0c4;
  border-left-color: #2d8a4e;
}

.contact-field__error {
  display: block;
  min-height: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.35;
  color: #b42318;
}

.contact-field__error:not(:empty) {
  margin-top: 6px;
}

.contact-field--invalid .contact-field__input {
  border-bottom-color: #b42318;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

/* ----- Info Card (Right Side, Black + Purple Pattern) ----- */
.contact-info {
  flex: 0 1 395px;
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  border: 1px solid var(--color-black);
  display: flex;
  align-items: stretch;
  min-height: 449px;
}

.contact-info__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact-info__bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-info__inner {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.contact-info__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-bg);
  margin: 0;
}

.contact-info__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-bg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
}

.contact-info__item--address {
  align-items: flex-start;
}

.contact-info__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.contact-info__item a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-info__item a:hover {
  opacity: 0.8;
}

/* ----- Map ----- */
.contact-map {
  width: 100%;
  height: 632px;
  background: #f1f1f1;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.6) contrast(0.95);
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .contact-section__inner {
    flex-direction: column;
    gap: 40px;
  }

  .contact-form {
    flex: none;
    width: 100%;
    padding: 48px 32px;
  }

  .contact-info {
    flex: none;
    width: 100%;
    min-height: 360px;
  }

  .contact-info__inner {
    padding: 60px 32px;
  }
}

@media (max-width: 900px) {
  .contact-section {
    padding: 40px 0 60px;
  }

  .contact-form {
    padding: 32px 24px;
    gap: 24px;
  }

  .contact-field__label {
    font-size: 14px;
  }

  .contact-field__input {
    font-size: 16px;
  }

  .contact-map {
    height: 380px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 32px 0 48px;
  }

  .contact-form {
    padding: 24px 20px;
    gap: 20px;
  }

  .contact-field {
    gap: 12px;
  }

  .contact-field__label {
    font-size: 12px;
  }

  .contact-field__input {
    font-size: 14px;
    padding: 6px 0 10px;
  }

  .contact-info {
    min-height: 320px;
  }

  .contact-info__inner {
    padding: 40px 24px;
    gap: 32px;
  }

  .contact-info__title {
    font-size: 18px;
  }

  .contact-info__item {
    font-size: 14px;
    gap: 10px;
  }

  .contact-info__icon {
    width: 18px;
    height: 18px;
  }

  .contact-map {
    height: 300px;
  }
}

/* ----- Active nav state ----- */
.site-header__nav-active {
  color: var(--color-purple) !important;
}
