/* ======================= ILKAS • İLETİŞİM SAYFASI ======================= */
/* Temel değişkenler */
:root{
  --brand: #fcce58;
  --ink:   #0b1320;
  --muted: #6b7280;
  --bg:    #ffffff;
  --panel: #f7f8fb;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(2,6,23,.10);
  --shadow-strong: 0 24px 56px rgba(2,6,23,.14);
}

/* GENEL */
.contact-hero,
.contact-info,
.contact-map,
.contact-form{
  font-family: var(--font-sans, "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif);
  color: var(--ink);
}

/* ---------------------- HERO ---------------------- */
.contact-hero{
  background: linear-gradient(180deg,#ffffff 0%, #f7f8fb 100%);
  border-bottom: 1px solid #eceff3;
}
.contact-hero-content{
  max-width: 1100px; margin: 0 auto;
  padding: clamp(28px,6vw,56px) clamp(16px,4vw,24px);
  text-align: center;
}
.contact-hero h1{
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(28px,4.4vw,48px);
  letter-spacing: -.01em;
}
.contact-hero p{
  margin: 0;
  font-size: clamp(14px,1.6vw,18px);
  color: var(--muted);
}


/* ---------------------- INFO + MAP LAYOUT ---------------------- */
.contact-flex{
  max-width: 1200px; margin: clamp(22px,5vw,40px) auto;
  padding: 0 clamp(16px,4vw,24px);
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* bilgi | harita */
  gap: clamp(16px,3.2vw,28px);
}
@media (max-width: 900px){
  .contact-flex{ grid-template-columns: 1fr; }
}

/* Bilgi paneli */
.contact-info{
  background: var(--panel);
  border: 1px solid #eceff3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px,3vw,22px);
}
.contact-info h2{
  margin: 0 0 10px;
  font-size: clamp(18px,2.6vw,24px);
  font-weight: 800;
  color: var(--ink);
}
.contact-list{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
}
.contact-list li{
  display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e6e9ef;
}
.contact-list li:last-child{ border-bottom: 0; }
.contact-list i{
  font-size: 18px; color: var(--brand); line-height: 1.4;
}
.contact-list strong{ font-weight: 700; }
.contact-list a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.contact-list a:hover{
  color: var(--ink);
  border-color: var(--brand);
}

/* Harita paneli */
.contact-map{
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 360px;
}
.contact-map iframe{
  display: block;
  width: 100%; height: 100%; border: 0;
}

/* ---------------------- FORM ---------------------- */
.contact-form{
  max-width: 1200px; margin: clamp(10px,4vw,24px) auto clamp(32px,6vw,56px);
  padding: 0 clamp(16px,4vw,24px);
}
.contact-form h2{
  margin: 0 0 14px;
  font-size: clamp(18px,2.6vw,26px);
  font-weight: 800;
}

/* Panel */
#contactForm{
  background: var(--bg);
  border: 1px solid #eceff3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px,3vw,22px);
}

/* Izgara */
.cf-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px,2vw,16px);
}
.cf-full{ grid-column: 1 / -1; }
@media (max-width: 720px){
  .cf-grid{ grid-template-columns: 1fr; }
}

/* Alanlar */
.cf-field{ display: grid; gap: 8px; }
.cf-field span{
  font-size: .95rem; color: #6b7280;
}
.cf-field input[type="text"],
.cf-field input[type="email"],
.cf-field input[type="file"],
.cf-field textarea{
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cf-field textarea{ resize: vertical; }
.cf-field input::file-selector-button{
  font: inherit;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 8px 12px; margin-right: 10px; cursor: pointer;
}

/* Focus & validity */
.cf-field input:focus,
.cf-field textarea:focus{
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(252,206,88,.25);
}
.cf-field input:invalid, .cf-field textarea:invalid{
  /* tarayıcı uyarısı gelmeden görsel ipucu istemiyorsan bu satırı kaldırabilirsin */
}

/* Honeypot (gizli) */
.cf-hp{ position: absolute; left: -99999px; opacity: 0; pointer-events: none; }

/* Buton */
.cf-btn{
  margin-top: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(252,206,88,.25);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.cf-btn:hover{ transform: translateY(-1px); filter: brightness(.98); box-shadow: 0 16px 36px rgba(252,206,88,.28); }
.cf-btn:active{ transform: translateY(0); }

/* Geri bildirim */
.cf-note{
  min-height: 1.2em; margin: 8px 0 0;
  font-size: .95rem; color: #374151;
}

/* Karanlık arka planlarda kart gölgesi hafiflesin (gerekirse) */
@media (prefers-color-scheme: dark){
  /* İstersen bu bloğu atla; site beyaz temalı */
}
/* ===== İLETİŞİM • NAVBAR BOŞLUĞU DÜZELTME ===== */

/* Nav yüksekliğini değişkene bağla (masaüstü/mobil) */
:root{ --nav-h: 120px; }                 /* masaüstü nav yüksekliği */
@media (max-width: 992px){
  :root{ --nav-h: 84px; }                /* mobil/tablet için daha düşük */
}

/* Hero’nun üst padding’ine nav yüksekliğini ekle */
.contact-hero{
  padding-top: calc(var(--nav-h) + 20px) !important; /* 20px nefes payı */
}

/* Hero yoksa bile, ilk içerik bloğu navdan kaçsın */
.contact-flex{
  margin-top: clamp(12px, 2.5vw, 24px);  /* mevcut margin üstüne küçük nefes */
}

/* Bazı temalar başlığı negatif margin ile yukarı çekiyor olabilir—ezelim */
.contact-hero h1{
  margin-top: 0 !important;
}
