/* Poppins — tasarim aracindan gelen @font-face blogu, yollar yerel dosyalara cevrildi */
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/83ffd56f.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/8c177541.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/4f8ad39f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/c03fa7c1.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/d34f224c.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/123d8adb.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/29d7f914.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/d94f1e48.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/f1055158.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/bfba8de7.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/180b417e.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/1e5da84b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/85c7417d.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/a5d682ae.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/3582d031.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- temel stiller --- */
body { margin:0; background:#ffffff; color:#191223; font-family:'Poppins',Helvetica,Arial,sans-serif; }
  a { color:#6D28D9; text-decoration:none; }
  a:hover { color:#4C1D95; }
  @keyframes ecup-marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ============================================================
   Asagisi tasarim aracindan gelmez; port sirasinda eklendi.
   ============================================================ */

/* --- style-hover attribute'unun karsiligi ---
   Kaynakta hover'lar <a style-hover="..."> seklindeydi; bunu x-dc runtime
   isliyordu. Blazor'da runtime yok, gercek CSS'e cevrildi. Inline style'i
   yenmek icin !important sart. */
.btn-primary:hover { background: #5B21B6 !important; }
.btn-soft:hover    { background: #EDE9FE !important; }
.btn-ghost:hover,
.skill-row:hover   { background: #F5F3FF !important; }

/* --- hamburger menu (CSS-only, JS gerekmiyor) --- */
#ecup-menu-toggle { display: none; }
#ecup-burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center; border-radius: 8px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#ecup-burger span,
#ecup-burger span::before,
#ecup-burger span::after {
  display: block; width: 22px; height: 2px; background: #4A4458; border-radius: 2px;
}
#ecup-burger span { position: relative; }
#ecup-burger span::before,
#ecup-burger span::after { content: ''; position: absolute; left: 0; }
#ecup-burger span::before { top: -7px; }
#ecup-burger span::after  { top: 7px; }
#ecup-menu-toggle:checked ~ #ecup-burger span { background: transparent; }
#ecup-menu-toggle:checked ~ #ecup-burger span::before { top: 0; transform: rotate(45deg); }
#ecup-menu-toggle:checked ~ #ecup-burger span::after  { top: 0; transform: rotate(-45deg); }

/* --- okul logolari: tek sirada kayan serit, iki kenarda solma --- */
#ecup-logo-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  #ecup-logo-marquee > div,
  .ecup-ticker > div { animation: none !important; }
}

/* --- S.S.S. akordiyonu --- */
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }

/* --- beceri secici ---
   Kaynakta 6 panelden sadece aktif olan React tarafindan render ediliyordu;
   static SSR'da hepsi basiliyor, gorunurlugu CSS yonetiyor. */
.skill-panel { display: none; }
.skill-panel.active { display: flex; }   /* dis kap flex — align-items:stretch korunmali */
.skill-row.active { background: #F5F3FF !important; }
.skill-desc { display: none; }           /* aciklama yalniz secili satirda (kaynaktaki sc-if) */
.skill-row.active .skill-desc { display: block; }
.skill-photo { opacity: 0; transition: opacity 0.6s; }
.skill-photo.shown { opacity: 1; }
.skill-dot { background: #E4DDF3; transition: background 0.3s; }
.skill-dot.on { background: #6D28D9; }

/* --- hakkimizda / gizlilik / demo modali --- */
.page-modal { display: none; }
.page-modal.open { display: block; overflow-x: hidden; }  /* yatay kayma emniyeti */

/* --- demo formu --- */
.demo-step-success { display: none; }              /* gonderim basarili olunca site.js acar */
.page-modal.demo-done .demo-step-form { display: none; }
.page-modal.demo-done .demo-step-success { display: block; }

/* iki sutunlu satir; mobilde alt alta duser (asagidaki media query) */
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
/* Grid ogeleri varsayilan min-width:auto ile gelir ve icerigin min-content
   genisliginin altina inemez. iOS'ta input[type=date] genis bir dogal
   genislige sahip oldugu icin bu ikisi birlesince alan kabina sigmiyor ve
   modal yana kayiyordu. Chromium'da gorunmuyor, iOS Safari'ye ozgu. */
.demo-row > .demo-field { min-width: 0; }

/* "Demo ogrencisi" ayraci: form ikiye bolunuyor, ogrenci alanlari burada basliyor */
.demo-sep {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid #F0EBF8; margin: 10px 0 20px; padding-top: 20px;
  font-size: 13.5px; color: #7A748A;
}
.demo-badge {
  background: #F5F3FF; color: #6D28D9; font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}

.demo-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: #4A4458; line-height: 1.5;
  margin: 4px 0 20px; cursor: pointer;
}
.demo-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #6D28D9; flex-shrink: 0; cursor: pointer; }
.demo-consent.invalid span { color: #B91C1C; }

.demo-field { margin-bottom: 18px; }
.demo-field label {
  display: block; font-size: 14px; font-weight: 600; color: #191223; margin-bottom: 6px;
}
.demo-field label span { color: #6D28D9; }         /* zorunlu isareti */
.demo-field input {
  width: 100%; box-sizing: border-box;
  padding: 13px 14px; border: 1px solid #E4DDF3; border-radius: 9px;
  font-family: inherit; font-size: 16px;           /* 16px alti iOS'ta sayfayi zoomluyor */
  color: #191223; background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.demo-field input:focus {
  outline: none; border-color: #6D28D9; box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}
/* iOS: date/tel input'lari kendi dogal genisligine sabitlenip max-width:100%'u
   yok sayabiliyor; min-width:0 ile kaba sigmalarini garantile */
.demo-field input[type="date"] { min-width: 0; -webkit-appearance: none; appearance: none; }
.demo-field input.invalid { border-color: #EF4444; }

/* Doğum tarihi: gün / ay / yıl açılır menüleri. Native <input type=date>
   yerine — native takvim/uyarı balonu tasarıma uymuyordu. */
.demo-date { display: grid; grid-template-columns: 0.85fr 1.3fr 1fr; gap: 8px; }
.demo-field select {
  width: 100%; box-sizing: border-box;
  padding: 13px 12px; border: 1px solid #E4DDF3; border-radius: 9px;
  font-family: inherit; font-size: 16px; color: #191223; background: #ffffff;
  cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
  /* native ok yerine kendi ok'umuz */
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236D28D9' d='M6 8 0 2 1.4.6 6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 32px;
}
.demo-field select:focus {
  outline: none; border-color: #6D28D9; box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}
.demo-field small {
  display: block; font-size: 12.5px; color: #7A748A; margin-top: 6px; line-height: 1.5;
}

.demo-error {
  display: none; margin: 0 0 16px;
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 9px;
  padding: 12px 14px; font-size: 14px; color: #B91C1C; line-height: 1.5;
}
.demo-error.show { display: block; }

#demo-submit[disabled] { opacity: 0.6; cursor: default; }

/* ============================================================
   Mobil (<=768px). Kaynakta hic @media yoktu: sayfa tamamen inline
   style ile yazildigi icin breakpoint tanimlanamamis. Asagidakiler
   mobilde tespit edilen sorunlarin duzeltmeleri.
   ============================================================ */
@media (max-width: 768px) {
  /* menu: 5 link + 2 buton masaustu duzeninde 3 satira sariyordu */
  #ecup-nav { gap: 12px !important; padding: 12px 16px !important; }
  #ecup-burger { display: flex; }
  #ecup-nav-links, #ecup-nav-cta { display: none !important; }
  #ecup-menu-toggle:checked ~ #ecup-nav-links {
    display: flex !important; flex-direction: column !important;
    width: 100%; gap: 0 !important; font-size: 16px !important;
  }
  #ecup-menu-toggle:checked ~ #ecup-nav-links a {
    padding: 14px 2px; border-bottom: 1px solid #F0EBF8;
  }
  #ecup-menu-toggle:checked ~ #ecup-nav-cta {
    display: flex !important; width: 100%; margin-left: 0 !important;
    padding-top: 12px; gap: 10px !important;
  }
  #ecup-menu-toggle:checked ~ #ecup-nav-cta a { flex: 1; text-align: center; }

  /* Hero basligi. Kaynakta "becerilerini <pill>" white-space:nowrap idi ve 390px'te
     tasiyordu. Nowrap birakilirsa punto 26px'i gecemiyor; sarmaya izin verince tek
     kisit bolunemez en buyuk parca kalıyor (pill, 32px'te 248px < 358px yer).
     Bu yuzden nowrap kaldirildi ve punto buyutuldu: pill gerektiginde alt satira iner. */
  #ecup-hero-nw { white-space: normal !important; }
  #ecup-hero-title { font-size: clamp(30px, 8vw, 48px) !important; }
  #ecup-hero-desc { font-size: 14px !important; }   /* basligi one cikarmak icin */

  /* "Guvenilir egitim kurumlari..." basligi: nowrap + clamp alt siniri 16px oldugu
     icin mobilde minicik kaliyordu. Sarmaya izin ver, normal boyuta cikar. */
  #ecup-kurumlar-h2 { white-space: normal !important; font-size: clamp(26px, 6.5vw, 44px) !important; }

  /* yas daireleri: 7 daire tek sirada kalsin (border-box sart, border genislige ekleniyor) */
  #ecup-ages { gap: 4px !important; }
  #ecup-ages > div {
    box-sizing: border-box !important;
    width: min(46px, 11vw) !important; height: min(46px, 11vw) !important;
    font-size: min(16px, 4vw) !important; border-width: 2px !important;
  }

  /* Logo seridi mobilde seyrek kaliyordu: 40px bosluklarla 390px'e ancak 2 logo
     dusuyor ve serit bos gibi gorunuyor. Boslugu daraltinca ayni anda daha cok
     logo goruluyor. (Serit kesintisiz; olcum: 4 grup x 883px, kayma 1766px.) */
  #ecup-logo-marquee .logo-group { gap: 22px !important; padding-right: 22px !important; }

  /* karusel: sonraki karttan ~45px gorunsun ki yana kaydirilabildigi anlasilsin */
  #ecup-skills-row > div  { min-width: 70vw !important; flex-basis: 70vw !important; }
  #ecup-kurumlar-row > div { flex: 0 0 70vw !important; }

  /* Beceri onizleme paneli listeden genis olmali (masaustunde de oyle: 1 vs 1.4).
     Ikisini de 70vw yapinca ornek gorsele sadece ~161px kaliyordu. Panel son kart
     oldugu icin genis olmasi peek'i bozmaz — peek'i saglayan ilk karttir. */
  #ecup-skills-row > div:last-child { min-width: 88vw !important; flex-basis: 88vw !important; padding: 14px !important; }

  /* Beyaz kartta buyuk bos alan olusuyordu. Iki sebep vardi:
       1) kart min-height:420px + gorsel alani flex:1  -> artan yer gorsele gidiyor,
          gorsel object-fit:contain oldugu icin ortada kuculup kaliyordu;
       2) satir align-items:stretch -> panel, yanindaki 6 satirlik beceri listesi
          kadar uzuyor ve bu yukseklik karta geciyordu.
     Germeyi kapatip ortalayinca panel kendi icerigi kadar oluyor ve yanindaki
     uzun listeye gore dikeyde ortalaniyor. */
  #ecup-skills-row { align-items: center !important; }
  #ecup-skills-row .skill-card { padding: 18px !important; min-height: 0 !important; }
  #ecup-skills-row .skill-media { min-height: 190px !important; flex: 0 0 auto !important; }

  /* footer: auto-fit 2 sutuna yetmiyordu (2*180+40=400 > 364), zorla 2 sutun */
  #ecup-footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 30px 20px !important; }
  #ecup-footer-grid > div:first-child { grid-column: 1 / -1; }

  /* demo formu: iki sutunlu satirlar dar ekranda alt alta */
  .demo-row { grid-template-columns: 1fr !important; }
}
