/* ============================ TASARIM SİSTEMİ ============================ */
:root {
  --navy: #0f2c52;
  --navy-700: #14375f;
  --blue: #1f5fbf;
  --blue-600: #184d9c;
  --sky: #0ea5e9;
  --gold: #f28c28;
  --gold-600: #db7a18;
  --ink: #1b2738;
  --muted: #5b6b82;
  --line: #e6ebf2;
  --bg: #f6f8fc;
  --bg-soft: #eef3fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 44, 82, .06);
  --shadow: 0 12px 34px rgba(15, 44, 82, .12);
  --shadow-lg: 0 24px 60px rgba(15, 44, 82, .18);
  --maxw: 1180px;
  --head-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ============================ TOPBAR ============================ */
.topbar {
  background: var(--navy);
  color: #cdd9ec;
  font-size: .85rem;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #e7eefb; }
.topbar .tb-left { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-social { display: inline-flex; gap: 10px; }
.topbar .tb-social a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; }
.topbar .tb-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 0; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: #fff;
  display: grid; place-items: center;
  overflow: hidden;
}
.site-header .brand-mark {
  height: 44px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.site-header .brand-mark img {
  width: auto;
}
.site-header .brand {
  min-width: 280px;
  max-width: 430px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  max-height: 50px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: 'Poppins'; font-size: 1.05rem; color: var(--navy); }
.brand-text small { color: var(--muted); font-size: .74rem; letter-spacing: .03em; text-transform: uppercase; max-width: 170px; }
.site-header .brand-text { flex: 1; min-width: 120px; }
.site-header .brand-text small {
  display: block;
  max-width: none;
  font-size: .72rem;
  line-height: 1.15;
}

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav .nav-item { position: relative; }
.main-nav a.nav-link, .main-nav .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px; font-weight: 600; color: var(--ink);
  font-size: .95rem; cursor: pointer; white-space: nowrap;
}
.main-nav a.nav-link:hover, .nav-item:hover > .nav-link { background: var(--bg-soft); color: var(--blue-600); }
.main-nav a.nav-link.active { color: var(--blue-600); }
.nav-link .caret { font-size: .7rem; opacity: .7; transition: transform .2s; }
.nav-item:hover .caret { transform: rotate(180deg); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-600)) !important;
  color: #3a2600 !important; box-shadow: var(--shadow-sm); margin-left: 6px;
}
.nav-cta:hover { filter: brightness(1.03); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-left: 6px;
  overflow: hidden;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 10px;
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--blue);
  color: #fff;
}

/* DROPDOWN */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  color: var(--ink); font-weight: 500; font-size: .92rem;
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--blue-600); }
.dropdown .flag { font-size: 1.1rem; }

/* HAMBURGER */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(14,165,233,.45), transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, #16407a 55%, #1d4ed8 120%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 78px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 18ch; }
.hero .lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #dce8fb; max-width: 60ch; margin: 0 0 14px; }
.hero p.sub { color: #b9cdec; max-width: 64ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; }
.hero-badge b { font-family: 'Poppins'; font-size: 1.7rem; color: #fff; display: block; }
.hero-badge span { color: #b9cdec; font-size: .92rem; }

/* BUTONLAR */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; transition: transform .12s, box-shadow .2s, background .2s; font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: #3a2600; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-600); }
.btn-block { width: 100%; justify-content: center; }

/* ============================ GENEL BÖLÜM ============================ */
section.block { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head .eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 6px; }
.section-head p { color: var(--muted); }

/* HİZMET KARTLARI */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ico { font-size: 2.1rem; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-soft); }
.service-card h3 { font-size: 1.16rem; margin: 6px 0 0; }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.service-card .more { font-weight: 700; color: var(--blue-600); font-size: .92rem; margin-top: 6px; }

/* ÜLKE KARTLARI */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.country-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s; cursor: pointer; color: var(--ink);
}
.country-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.country-card .flag { font-size: 2.6rem; line-height: 1; }
.country-card h3 { margin: 12px 0 2px; font-size: 1.12rem; }
.country-card span { color: var(--muted); font-size: .85rem; }

/* WHY / ADIMLAR */
.why { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 22px; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-family: 'Poppins'; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step h4 { margin: 8px 0 6px; }
.step p { color: var(--muted); margin: 0; font-size: .94rem; }

/* CTA ŞERİDİ */
.cta-band { background: linear-gradient(135deg, var(--navy), #1d4ed8); color: #fff; border-radius: 22px; padding: 44px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #cfe0fb; margin: 0; max-width: 52ch; }

/* ============================ İÇ SAYFALAR ============================ */
.page-hero {
  background: radial-gradient(900px 400px at 85% -20%, rgba(14,165,233,.4), transparent 60%),
              linear-gradient(135deg, var(--navy), #16407a 60%, #1d4ed8);
  background-color: var(--navy); color: #fff; padding: 46px 0 54px;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #aec4e6; font-size: .88rem; margin-bottom: 14px; }
.breadcrumb a { color: #dbe7fb; }
.breadcrumb .sep { opacity: .6; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-hero .flag-lg { font-size: 2.4rem; }
.page-hero .page-lead { color: #cfdef5; max-width: 70ch; margin-top: 10px; }

.page-body { padding: 50px 0 70px; }
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 38px; align-items: start; }

/* Sidebar */
.side { position: sticky; top: calc(var(--head-h) + 16px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.side-card h4 { margin: 0; padding: 16px 18px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.side-card ul { list-style: none; margin: 0; padding: 8px; }
.side-card li a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.side-card li a:hover { background: var(--bg-soft); }
.side-card li a.active { background: var(--blue); color: #fff; }
.side-help { margin-top: 18px; background: linear-gradient(135deg, var(--navy), #1d4ed8); color: #fff; border-radius: var(--radius); padding: 22px; }
.side-help h4 { color: #fff; text-transform: none; letter-spacing: 0; font-family: 'Poppins'; font-size: 1.05rem; padding: 0; border: 0; margin-bottom: 6px; }
.side-help p { color: #cfe0fb; font-size: .9rem; margin: 0 0 14px; }

/* İçerik kutuları */
.content > .lead-block { font-size: 1.08rem; color: #34465f; }
.content .intro p { margin: 0 0 14px; color: #3a4c66; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 28px; margin-bottom: 22px; }
.info-card > h2 { font-size: 1.32rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.info-card > h2::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: linear-gradient(var(--blue), var(--sky)); display: inline-block; }
.info-card p { margin: 0 0 12px; color: #3a4c66; }
.info-card p:last-child { margin-bottom: 0; }
.info-intro { color: var(--muted); margin-bottom: 16px !important; }

/* Tanım listesi (programlar/konaklama) */
.deflist { display: grid; gap: 12px; }
.deflist .def { padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; }
.deflist .def b { display: block; color: var(--navy); font-family: 'Poppins'; font-size: 1.02rem; margin-bottom: 3px; }
.deflist .def span { color: var(--muted); font-size: .95rem; }

/* Bullet liste */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 32px; color: #3a4c66; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--bg-soft); color: var(--blue-600); border-radius: 6px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* Üniversite seviye sekmeleri */
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; gap: 4px; box-shadow: var(--shadow-sm); margin-bottom: 26px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; font-family: inherit; font-weight: 700; font-size: .96rem; color: var(--muted); padding: 10px 20px; border-radius: 10px; cursor: pointer; transition: .15s; }
.tabs button.active { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .98rem; background: #fcfdff; color: var(--ink); transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-success { background: #e8f8ee; border: 1px solid #aee0c0; color: #157a45; padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 16px; display: none; }
.form-success.show { display: block; }

.contact-info { display: grid; gap: 16px; }
.ci-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.ci-card .ci-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); font-size: 1.3rem; }
.ci-card b { display: block; color: var(--navy); font-family: 'Poppins'; }
.ci-card span, .ci-card a { color: var(--muted); font-size: .95rem; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--navy); color: #c2d2ea; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; }
.footer-top h5 { color: #fff; font-family: 'Poppins'; font-size: 1rem; margin: 0 0 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-top a { color: #b6c8e4; font-size: .93rem; }
.footer-top a:hover { color: #fff; }
.footer-brand p { color: #9fb4d4; font-size: .92rem; max-width: 36ch; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #9fb4d4; }
.foot-contact li { display: flex; gap: 9px; color: #b6c8e4; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .86rem; color: #93a8c9; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Bayrak görselleri */
.flag-img { display: inline-block; border-radius: 3px; box-shadow: 0 1px 3px rgba(15,44,82,.25); vertical-align: middle; flex: none; object-fit: cover; }
.country-card .flag { display: flex; justify-content: center; margin-bottom: 4px; }
.country-card .flag .flag-img { border-radius: 6px; box-shadow: var(--shadow-sm); }
.page-hero .flag-lg .flag-img { border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.dropdown li a .flag-img, .side-card li a .flag-img { flex: none; }

/* Animasyon */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s ease both; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--head-h) 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--head-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s; padding: 12px 0 20px;
    z-index: 49;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0 14px; }
  .main-nav .nav-item { width: 100%; }
  .main-nav a.nav-link, .main-nav .nav-link { width: 100%; justify-content: space-between; padding: 13px 14px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .lang-switch { margin: 10px 0 0; justify-content: center; }
  .lang-switch button { padding: 10px 18px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 14px;
    padding: 2px 0; display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-item:hover .dropdown { opacity: 1; }
  .nav-item:hover .caret { transform: none; }
  .nav-item.open .caret { transform: rotate(180deg); }
  .cta-band { padding: 32px 26px; }
  .brand-text small { display: none; }
  .site-header .brand-mark { height: 40px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-badges { gap: 18px; }
  section.block { padding: 48px 0; }
  .info-card { padding: 22px 18px; }
}
