/* ==========================================================================
   UNIFINCO — Ana stil dosyası
   Tüm renkler ve ölçüler aşağıdaki değişkenlerden gelir.
   Bir rengi değiştirmek için sadece :root bloğundaki değeri değiştirin.
   ========================================================================== */

/* --- Fontlar (kendi sunucumuzda, dışarıya istek gitmez) ------------------ */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/poppins-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/poppins-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* --- Değişkenler --------------------------------------------------------- */
:root {
  --mor:          #5d3880;
  --mor-koyu:     #4a2c68;
  --lacivert:     #1b2d42;
  --turuncu:      #f58220;
  --metin:        #363636;
  --metin-soluk:  #6f6f6f;
  --zemin-alt:    #f6f6f6;
  --cizgi:        #e4e4e4;
  --beyaz:        #ffffff;

  --genislik:     1200px;
  --bolum-bosluk: 90px;
  --radius:       4px;
  --golge:        0 2px 12px rgba(0,0,0,.07);
  --golge-kart:   0 4px 20px rgba(0,0,0,.06);
  --gecis:        .25s ease;
}

/* --- Sıfırlama ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--metin);
  background: var(--beyaz);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mor); text-decoration: none; transition: color var(--gecis); }
a:hover { color: var(--lacivert); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--lacivert);
  margin: 0 0 .6em;
  line-height: 1.25;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

/* Klavyeyle gezinenler için görünür odak halkası */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--turuncu);
  outline-offset: 2px;
}

/* İçeriğe atla bağlantısı (ekran okuyucu / klavye) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--mor); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* --- Yerleşim ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--genislik); margin: 0 auto; padding: 0 24px; }
.bolum     { padding: var(--bolum-bosluk) 0; }
.bolum--alt{ background: var(--zemin-alt); }
.bolum--dar{ padding: 60px 0; }
.ortala    { text-align: center; }
.ortala p  { max-width: 820px; margin-left: auto; margin-right: auto; }

.izgara { display: grid; gap: 40px; }
@media (min-width: 860px) {
  .izgara--2 { grid-template-columns: repeat(2, 1fr); align-items: center; }
  .izgara--3 { grid-template-columns: repeat(3, 1fr); }
  .izgara--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 560px) and (max-width: 859px) {
  .izgara--3, .izgara--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Görsel solda dursun istenen bloklarda */
@media (min-width: 860px) {
  .izgara--2.gorsel-solda .metin  { order: 2; }
  .izgara--2.gorsel-solda .gorsel { order: 1; }
}
.gorsel img { border-radius: var(--radius); box-shadow: var(--golge-kart); width: 100%; }

/* --- Butonlar ------------------------------------------------------------ */
.btn {
  display: inline-block;
  background: var(--mor);
  color: #fff;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 2px solid var(--mor);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--gecis), border-color var(--gecis), color var(--gecis);
}
.btn:hover, .btn:focus { background: var(--mor-koyu); border-color: var(--mor-koyu); color: #fff; text-decoration: none; }
.btn--bos { background: transparent; color: var(--mor); }
.btn--bos:hover { background: var(--mor); color: #fff; }
.btn-grubu { display: flex; flex-wrap: wrap; gap: 14px; }
.ortala .btn-grubu { justify-content: center; }

/* --- Başlık / menü ------------------------------------------------------- */
.ust-bar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: var(--golge);
}
.ust-bar__ic {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 92px;
}
.logo img { height: 62px; width: auto; }

.menu-ac {
  display: block; background: none; border: 0; padding: 8px;
  cursor: pointer; color: var(--mor); line-height: 0;
}
.menu-ac svg { width: 30px; height: 30px; }

.ana-menu ul { list-style: none; margin: 0; padding: 0; }
.ana-menu a {
  display: block;
  font-size: .92rem; font-weight: 400; letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mor);
  padding: 12px 18px;
  border-radius: var(--radius);
  transition: background var(--gecis), color var(--gecis);
}
.ana-menu a:hover { background: rgba(93,56,128,.09); text-decoration: none; }
.ana-menu a[aria-current="page"] { background: var(--mor); color: #fff; }

/* Mobil menü: açılır liste */
@media (max-width: 979px) {
  .ana-menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--cizgi);
    box-shadow: var(--golge); padding: 10px 24px 20px;
  }
  .ana-menu.acik { display: block; }
  .ana-menu a { padding: 14px 6px; border-bottom: 1px solid var(--cizgi); border-radius: 0; }
}
@media (min-width: 980px) {
  .menu-ac { display: none; }
  .ana-menu ul { display: flex; align-items: center; gap: 6px; }
}

/* --- Dil seçici (EN / TR) ------------------------------------------------ */
.dil-secim {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--cizgi);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.dil-secim a {
  display: block;
  font-size: .8rem; font-weight: 400; letter-spacing: .06em;
  color: var(--mor);
  padding: 7px 12px;
  transition: background var(--gecis), color var(--gecis);
}
.dil-secim a:hover { background: rgba(93,56,128,.09); text-decoration: none; }
.dil-secim a[aria-current="true"] {
  background: var(--mor); color: #fff; font-weight: 700; cursor: default;
}
.dil-secim a[aria-current="true"]:hover { background: var(--mor); }

/* Sıralama: mobilde  logo | dil | hamburger
             masaüstünde  logo | menü | dil                                 */
.ust-bar__ic .logo      { order: 1; }
.ust-bar__ic .dil-secim { order: 2; margin-left: auto; }
.ust-bar__ic .menu-ac   { order: 3; }
.ust-bar__ic .ana-menu  { order: 4; }

@media (min-width: 980px) {
  .ust-bar__ic .ana-menu  { order: 2; margin-left: auto; }
  .ust-bar__ic .dil-secim { order: 3; margin-left: 18px; }
}

@media (max-width: 400px) {
  .dil-secim a { padding: 6px 9px; font-size: .75rem; }
}

/* --- Kahraman (hero) alanı ----------------------------------------------- */
.kahraman { padding: 70px 0; background: var(--zemin-alt); }
.kahraman h1 { margin-bottom: .5em; }
.kahraman p  { text-align: justify; color: var(--metin); }
@media (max-width: 859px) { .kahraman p { text-align: left; } }

/* --- Özellik kartları ---------------------------------------------------- */
.kart {
  position: relative;
  background: var(--zemin-alt);
  border-radius: var(--radius);
  padding: 58px 26px 30px;
  margin-top: 34px;
  text-align: center;
  height: 100%;
}
.bolum--alt .kart { background: #fff; box-shadow: var(--golge-kart); }
.kart__ikon {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mor); color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(93,56,128,.3);
}
.kart__ikon svg { width: 34px; height: 34px; }
.kart h4 { margin-bottom: .5em; }
.kart p  { color: var(--metin-soluk); font-size: .95rem; margin-bottom: 0; }

/* --- Hizmet blokları ----------------------------------------------------- */
.hizmet { padding: 70px 0; }
.hizmet + .hizmet { border-top: 1px solid var(--cizgi); }
.hizmet__etiket {
  display: inline-block;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--turuncu); font-weight: 700; margin-bottom: .8em;
}
.liste-onay { list-style: none; padding: 0; }
.liste-onay li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.liste-onay li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--mor);
}

/* Alt başlıklı küçük kutular */
.alt-kutu {
  background: var(--zemin-alt);
  border-left: 4px solid var(--mor);
  border-radius: var(--radius);
  padding: 20px 22px;
  height: 100%;
}
.bolum--alt .alt-kutu { background: #fff; }
.alt-kutu h4 { margin-bottom: .35em; font-size: 1.05rem; }
.alt-kutu p  { margin-bottom: 0; font-size: .93rem; color: var(--metin-soluk); }

/* --- Çalışma saatleri tablosu -------------------------------------------- */
.saatler { width: 100%; border-collapse: collapse; max-width: 520px; }
.saatler th, .saatler td { padding: 12px 4px; border-bottom: 1px solid var(--cizgi); text-align: left; }
.saatler th { font-weight: 400; text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; color: var(--lacivert); }
.saatler td { text-align: right; color: var(--metin-soluk); }
.saatler .kapali { color: var(--turuncu); }

/* --- Referans logoları --------------------------------------------------- */
.referanslar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 30px 60px;
}
.referanslar img {
  max-height: 62px; width: auto;
  filter: grayscale(100%); opacity: .7;
  transition: filter var(--gecis), opacity var(--gecis);
}
.referanslar img:hover { filter: none; opacity: 1; }

/* --- Form ---------------------------------------------------------------- */
.form-satir { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 700px) { .form-satir--2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--lacivert); }
.zorunlu { color: var(--turuncu); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: inherit; font-size: 1rem; color: var(--metin);
  padding: 13px 14px;
  border: 1px solid var(--cizgi);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--gecis);
}
input:focus, select:focus, textarea:focus { border-color: var(--mor); }
textarea { min-height: 160px; resize: vertical; }
.onay { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-size: .92rem; }
.onay input { margin-top: .35em; }

/* Bal küpü: insanlar görmez, botlar doldurur */
.balkupu { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.uyari { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: .95rem; }
.uyari--basari { background: #e8f6ec; border: 1px solid #b6dfc2; color: #1e6b34; }
.uyari--hata   { background: #fdecea; border: 1px solid #f5c2bd; color: #a32319; }

/* --- Harita -------------------------------------------------------------- */
.harita { line-height: 0; }
.harita iframe { width: 100%; height: 380px; border: 0; display: block; }

/* --- Alt bilgi (footer) -------------------------------------------------- */
.alt-bilgi { background: var(--mor); color: #fff; padding: 70px 0 40px; }
.alt-bilgi h3 { color: #fff; font-size: 1.3rem; margin-bottom: .4em; }
.alt-bilgi p  { margin-bottom: .35em; }
.alt-bilgi a  { color: #fff; }
.alt-bilgi a:hover { color: #fff; text-decoration: underline; }
.alt-bilgi__logo img { height: 74px; width: auto; margin: 0 auto 18px; }
.alt-bilgi__sutun { text-align: center; }
.alt-bilgi__ikon svg { width: 40px; height: 40px; margin: 0 auto 6px; display: block; }
.sosyal { display: flex; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 14px 0 0; }
.sosyal a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--mor);
  transition: transform var(--gecis), background var(--gecis);
}
.sosyal a:hover { transform: translateY(-3px); background: #f0e9f6; text-decoration: none; }
.sosyal svg { width: 17px; height: 17px; }
.alt-bilgi__telif {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.22);
  text-align: center; font-size: .87rem; color: rgba(255,255,255,.85);
}

/* --- Yukarı çık düğmesi -------------------------------------------------- */
.yukari {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mor); color: #fff;
  border: 0; border-radius: var(--radius); cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity var(--gecis), visibility var(--gecis), background var(--gecis);
}
.yukari.gorunur { opacity: 1; visibility: visible; }
.yukari:hover { background: var(--mor-koyu); }
.yukari svg { width: 20px; height: 20px; }

/* --- Metin sayfaları (yasal bilgilendirme / gizlilik) -------------------- */
.metin-sayfa { max-width: 860px; }
.metin-sayfa h2 { margin-top: 1.6em; font-size: 1.5rem; }
.metin-sayfa h3 { margin-top: 1.3em; font-size: 1.15rem; }
.metin-sayfa h2:first-of-type { margin-top: 0; }

/* --- Küçük ekran ayarları ------------------------------------------------ */
@media (max-width: 640px) {
  :root { --bolum-bosluk: 60px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.6rem; }
  .logo img { height: 50px; }
  .ust-bar__ic { min-height: 74px; }
}

/* --- Yazdırma ------------------------------------------------------------ */
@media print {
  .ust-bar, .alt-bilgi, .yukari, .harita { display: none; }
  body { color: #000; }
}

/* --- Hareket azaltma tercihi -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
