/* ==========================================================================
   CONTACT PAGE — Dedicated Module
   Prefix: ct-  (namespaced to avoid collision with pages.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PAGE INTRO — Hero tipografi
   -------------------------------------------------------------------------- */
.ct-intro {
  padding: 100px 0 72px;
  text-align: center;
  background-color: var(--bg-dark);
}

.ct-intro__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.ct-intro__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-white);
  padding-top: 0;
  margin-bottom: 24px;
  line-height: 1.15;
}

.ct-intro__line {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 28px;
  opacity: 0.7;
}

.ct-intro__sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-gray);
  max-width: 520px;
  margin: 0 auto;
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   2. MAIN LAYOUT — Split
   -------------------------------------------------------------------------- */
.ct-body {
  padding: 0 0 120px;
  background-color: var(--bg-dark);
}

.ct-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   3. INFO PANEL — Left column
   -------------------------------------------------------------------------- */
.ct-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

.ct-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ct-info-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(212, 163, 115, 0.2);
  transform: translateX(4px);
}

.ct-info-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 163, 115, 0.1);
  border: 1px solid rgba(212, 163, 115, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ct-info-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-info-card__body {
  flex: 1;
  min-width: 0;
}

.ct-info-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.ct-info-card__value {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-white);
  font-weight: 500;
}

.ct-info-card__value a {
  color: var(--text-white);
  transition: color 0.25s ease;
}

.ct-info-card__value a:hover {
  color: var(--accent);
}

.ct-info-card__note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 4px;
}

/* Promise strip altında */
.ct-promise {
  margin-top: 8px;
  padding: 20px 24px;
  border-left: 2px solid rgba(212, 163, 115, 0.35);
}

.ct-promise p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-gray);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   4. FORM CARD — Right column
   -------------------------------------------------------------------------- */
.ct-form-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 52px 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ct-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 6px;
}

.ct-form-sub {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. FORM ELEMENTS — Override & Enhancement
   -------------------------------------------------------------------------- */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ct-form .ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-form .ct-group {
  display: flex;
  flex-direction: column;
}

.ct-form .ct-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.ct-form .ct-group input,
.ct-form .ct-group select,
.ct-form .ct-group textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.ct-form .ct-group input::placeholder,
.ct-form .ct-group textarea::placeholder {
  color: rgba(176, 162, 167, 0.45);
  font-size: 0.88rem;
}

.ct-form .ct-group input:focus,
.ct-form .ct-group select:focus,
.ct-form .ct-group textarea:focus {
  border-color: rgba(212, 163, 115, 0.55);
  background: rgba(212, 163, 115, 0.05);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.08);
}

.ct-form .ct-group textarea {
  height: 156px;
  resize: vertical;
  line-height: 1.7;
}

/* Submit button */
.ct-submit {
  position: relative;
  width: 100%;
  padding: 17px 24px;
  background: var(--text-white);
  color: var(--black);
  border: none;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  margin-top: 6px;
}

.ct-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 163, 115, 0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.ct-submit:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 163, 115, 0.25);
}

.ct-submit:hover::after {
  transform: translateX(100%);
}

.ct-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Form success state */
.ct-form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.ct-form-success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.25);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-form-success__icon svg {
  width: 22px;
  height: 22px;
  stroke: #2ecc71;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-form-success h3 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-top: 0;
}

.ct-form-success p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.ct-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.ct-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ct-reveal--delay-1 { transition-delay: 0.1s; }
.ct-reveal--delay-2 { transition-delay: 0.2s; }

/* --------------------------------------------------------------------------
   7. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ct-layout {
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
  }

  .ct-form-card {
    padding: 44px 36px;
  }
}

@media (max-width: 768px) {
  .ct-intro {
    padding: 72px 0 56px;
  }

  .ct-intro__title {
    letter-spacing: 2px;
  }

  .ct-body {
    padding: 0 0 80px;
  }

  .ct-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ct-form-card {
    padding: 36px 24px;
    border-radius: 20px;
  }

  .ct-form .ct-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ct-form .ct-group input,
  .ct-form .ct-group textarea {
    font-size: 1rem; /* iOS zoom engeli: 16px altı input'ta zoom yapar */
    padding: 16px 16px;
  }

  .ct-form .ct-group textarea {
    height: 140px;
  }

  .ct-submit {
    padding: 18px 24px;
    font-size: 0.82rem;
  }

  .ct-info-card:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .ct-form-card {
    padding: 28px 18px;
  }
}
