/* ═══════════════════════════════════════════════
   İLETİŞİM PAGE — Professional Redesign
   Matches homepage & egitimler design language
   Colors: Gold #D4AF37, Purple #9333EA, Teal #0D9488, Deep #1A0B2E
   Fonts: Inter (headings/body)
   Prefix: il-
   ═══════════════════════════════════════════════ */

/* ── Hero Section ── */
.il-hero {
  position: relative;
  padding: 130px 0 60px;
  background: #FAFAF8;
  overflow: hidden;
}
.il-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.il-blob {
  position: absolute;
  border-radius: 50%;
}
.il-blob-1 { top: -100px; right: -60px; width: 520px; height: 520px; background: rgba(232, 213, 242, 0.35); filter: blur(110px); }
.il-blob-2 { bottom: -80px; left: -80px; width: 480px; height: 400px; background: rgba(244, 228, 193, 0.35); filter: blur(100px); }
.il-blob-3 { top: 50%; left: 40%; width: 300px; height: 200px; background: rgba(212, 175, 55, 0.08); filter: blur(80px); }

.il-container {
  max-width: 1490px;
  margin: 0 auto;
  padding: 0 24px;
}
@media(min-width:1024px) { .il-container { padding: 0 48px; } }

.il-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.il-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(147, 51, 234, 0.2);
  background: rgba(147, 51, 234, 0.05);
  color: #9333EA;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px;
}

.il-hero-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
@media(min-width:768px) { .il-hero-title { font-size: 52px; } }

.il-grad-text {
  background: linear-gradient(135deg, #D4AF37, #9333EA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.il-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: rgba(90, 74, 106, 0.75);
  line-height: 1.8;
  margin: 0 auto;
  max-width: 560px;
}

/* ── Contact Cards ── */
.il-cards-section {
  padding: 50px 0 0;
  background: #FAFAF8;
}
.il-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media(max-width:768px) { .il-cards { grid-template-columns: 1fr; gap: 10px; } }

.il-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.il-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.il-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
}
.il-card-icon i { font-size: 22px; }
.il-card-icon--phone {
  background: rgba(13, 148, 136, 0.08);
  color: #0D9488;
}
.il-card-icon--mail {
  background: rgba(147, 51, 234, 0.08);
  color: #9333EA;
}
.il-card-icon--pin {
  background: rgba(212, 175, 55, 0.08);
  color: #D4AF37;
}

.il-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.il-card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.il-card-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
  display: block;
}
a.il-card-value:hover { color: #9333EA; }
.il-card-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

/* ── Main Section: Map + Form ── */
.il-main {
  padding: 48px 0 80px;
  background: #FAFAF8;
}
.il-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media(max-width:1024px) {
  .il-main-grid { grid-template-columns: 1fr; }
}

/* ── Map ── */
.il-map-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.il-map-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  background: white;
}
.il-map-wrapper iframe { width: 100%; height: 100%; display: block; }

.il-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #9333EA;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(147, 51, 234, 0.15);
  background: rgba(147, 51, 234, 0.04);
  width: fit-content;
  transition: all 0.25s ease;
}
.il-map-link i { font-size: 14px; }
.il-map-link:hover {
  background: rgba(147, 51, 234, 0.1);
  border-color: rgba(147, 51, 234, 0.3);
  color: #7928CA;
}

/* ── Form Card ── */
.il-form-col {
  position: sticky;
  top: 100px;
}
@media(max-width:1024px) { .il-form-col { position: static; } }

.il-form-card {
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(212, 175, 55, 0.15));
}
.il-form-inner {
  background: white;
  border-radius: 22px;
  padding: 32px 28px;
}

.il-form-head { margin-bottom: 24px; }
.il-form-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 6px;
  line-height: 1.3;
}
.il-form-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}

/* Alert */
.il-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
}
.il-alert i { font-size: 18px; }
.il-alert--ok {
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: #0D9488;
}
.il-alert--err {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.18);
  color: #B91C1C;
  align-items: flex-start;
}

/* Form */
.il-form { display: flex; flex-direction: column; gap: 16px; }
.il-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media(max-width:600px) { .il-form-row { grid-template-columns: 1fr; } }

.il-field { display: flex; flex-direction: column; gap: 6px; }
.il-field-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.il-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #FAFAF8;
  color: #1f2937;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.il-input::placeholder {
  color: rgba(107, 114, 128, 0.45);
  font-weight: 500;
}
.il-input:hover { border-color: rgba(0, 0, 0, 0.15); }
.il-input:focus {
  border-color: #9333EA;
  background: white;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.08);
}
.il-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

/* Submit */
.il-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #9333EA, #7928CA);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  width: fit-content;
  position: relative;
  overflow: hidden;
}
.il-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #D4AF37, #B8941F);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.il-submit:hover::before { opacity: 1; }
.il-submit span,
.il-submit i { position: relative; z-index: 1; }
.il-submit:hover {
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.3);
  transform: translateY(-2px);
}
.il-submit:active { transform: translateY(0); }

/* ── CTA Section ── */
.il-cta-section {
  padding: 0 0 80px;
  background: #FAFAF8;
}
.il-cta-box {
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(212, 175, 55, 0.15));
}
.il-cta-inner {
  background: white;
  border-radius: 22px;
  padding: 48px 32px;
  text-align: center;
}
.il-cta-icon {
  font-size: 40px;
  background: linear-gradient(135deg, #9333EA, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 16px;
}
.il-cta-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px;
  line-height: 1.3;
}
@media(min-width:768px) { .il-cta-title { font-size: 32px; } }
.il-cta-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 auto 24px;
  max-width: 500px;
}
.il-cta-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.il-btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9333EA, #D4AF37);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.il-btn-gradient:hover {
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.3);
  transform: translateY(-1px);
}
.il-btn-gradient i { font-size: 16px; }

.il-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  background: white;
  color: #6b7280;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.il-btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: #1f2937;
  transform: translateY(-1px);
}
.il-btn-outline i { font-size: 16px; }


/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════ */
.il-js .il-rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.il-js .il-rv.in {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media(max-width:768px) {
  .il-hero { padding: 100px 0 40px; }
  .il-hero-title { font-size: 32px; }
  .il-hero-sub { font-size: 14px; }
  .il-form-inner { padding: 24px 20px; }
  .il-form-title { font-size: 22px; }
  .il-cta-inner { padding: 36px 20px; }
  .il-cta-title { font-size: 24px; }
}
@media(max-width:480px) {
  .il-hero-title { font-size: 28px; }
}
