/* ========== Temel ========== */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #0b2240;
  overflow: hidden; /* giriş sayfası tek ekranda */
 
}

/* ========== NAVBAR ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Logo bar dışına taşabilir; bar yüksekliği sabit kalır */
.nav__brand { position: relative; z-index: 11; overflow: visible; }
.nav__brand img {
  height: 135px;
  width: auto;
  display: block;
  transform: translateY(60px);
}

.nav__menu {
  display: flex;
  gap: 16px;             /* menü yazıları yakın */
  margin-left: auto;
  margin-right: 36px;    /* menü ile dil düğmeleri arası mesafe */
  justify-content: flex-end;
}
.nav__menu a {
  text-decoration: none; color:#0b2240; font-weight: 600; letter-spacing:.02em;
  padding: 10px 6px; border-radius: 8px;
}
.nav__menu a:hover { background: rgba(0,0,0,.06); }

.nav__actions { display:flex; align-items:center; gap:10px; }
.lang {
  border: 1px solid rgba(0,0,0,.15); background:#fff; color:#0b2240;
  padding:6px 8px; border-radius:8px; font-weight:700; font-size:12px; cursor:pointer;
}
.lang:hover { background:#f4f6fb; }
.search {
  border:0; background:transparent; color:#0b2240; cursor:pointer;
  padding:6px; border-radius:8px;
}
.search:hover { background: rgba(0,0,0,.06); }

/* Hamburger (mobil) */
.nav__toggle {
  display:none; width:44px; height:36px; border:0; background:transparent;
  cursor:pointer; border-radius:8px; position:relative;
}
.nav__toggle span {
  position:absolute; left:10px; right:10px; height:2px; background:#0b2240; transition:.25s;
}
.nav__toggle span:nth-child(1){ top:11px; }
.nav__toggle span:nth-child(2){ top:17px; }
.nav__toggle span:nth-child(3){ top:23px; }
.nav__toggle.active span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav__toggle.active span:nth-child(2){ opacity:0; }
.nav__toggle.active span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ========== HERO (tam ekran ama barlar kadar kısılmış) ========== */
.hero {
  height: calc(100vh - 60px); /* 60px üst bar + 60px alt bar */
  width: 100%;
  position: relative;
  display: grid; place-items: center;
   background: url("../img/arkaplan2.png") no-repeat right center / cover;
}
.hero__overlay { position:absolute; inset:0; background: rgba(0,0,0,0.35); }
.hero__inner { position: relative; z-index: 1; text-align: center; color: #fff; padding: 0 20px; }
.hero__inner h1 {
  margin: 0 0 14px; font-weight: 800; line-height: 1.15;
  font-size: clamp(28px, 4.6vw, 56px);
  text-shadow: 0 2px 22px rgba(0,0,0,.14);
  }
  .hero__inner .blue-text {
  color: #0a4aa6;        /* UKAF mavisi */
}

.hero__inner p { margin: 0; font-size: clamp(16px, 2.2vw, 22px); opacity: .92; }
.btn{
  display:inline-block; margin-top:22px; padding:12px 18px; border-radius:999px;
  background:#0b2240; color:#fff; text-decoration:none; font-weight:700;
}

/* ===== FOOTER BAR (navbar ile birebir) ===== */
.footerbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9;
  height: 60px; /* üst bar ile aynı */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 20px; /* üst bar ile birebir */
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,0.06);
  color: #0b2240;
  font-size: 13px;
  line-height: 1;
}

.footerbar__info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footerbar__info a {
  color: #0b2240;
  text-decoration: none;
  font-weight: 600;
}
.footerbar__info a:hover {
  text-decoration: underline;
}

/* ---- sosyal ikonlar ---- */
.footerbar__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* inline SVG'ler için renk ve hover efekti */
.footerbar__social svg {
  width: 22px;
  height: 22px;
  color: #0b2240;       /* varsayılan koyu lacivert */
  opacity: 0.7;
  transition: color .2s ease, opacity .2s ease;
}

.footerbar__social svg:hover {
  color: #0a4aa6;       /* UKAF mavi hover */
  opacity: 1;
}

.fancy-text span {
  margin-right: 4px;
  display: inline-block;
}

.fancy-text .styled::first-letter {
  font-weight: bold;
  font-size: 1.3em;
  color: white;
}

.fancy-text .plain {
  font-weight: normal;
  font-size: 1em;
  color: white; /* İstersen farklı bir renk yapabilirsin */
}

/* (İsteğe bağlı) Genel stil uyumu */
.fancy-text span {
  margin-right: 4px;
  display: inline-block;
}



/* ========== Mobil ========== */
@media (max-width: 900px){
  .nav__toggle { display:block; z-index: 101; }

  /* Sağdan kayan menü */
  .nav__menu {
    position: fixed;
    top: 70px;                    /* üst barın biraz altından başlasın */
    right: -310%;
    width: 40%;
    height: auto;                 /* içerik kadar uzasın */
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 24px 30px;      /* üstte 24px boşluk */
    gap: 16px;
    border-left: 1px solid rgba(0,0,0,0.06);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    border-radius: 12px 12px 12px 12px;    /* alt kısmı yumuşak bitiş */
    transition: right .3s ease;
    z-index: 100;
  }

  .nav__menu.open {
    right: 10px; /* Ekranın sağında, logoyu kapatmadan */
  }

  .nav__menu a {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: #0b2240;
  }

  body.menu-open { overflow: hidden; }
}

/* === Mobile footer düzeni === */
@media (max-width: 600px){
  .footerbar{
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: auto;                          /* sabit 60px yerine oto */
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 14px;
    display: flex;
    flex-direction: column;                /* üst: bilgiler, alt: sosyal */
    align-items: stretch;
    gap: 10px;
  }

  .footerbar__info{
    display: grid;
    grid-template-columns: 1fr;            /* tek kolon, alt alta */
    row-gap: 6px;
    align-items: start;
  }

  .footer-item{
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    font-size: 14px;
    /* uzun adres taşarsa doğalca alt satıra iner */
  }

  .footerbar__social{
    display: flex;
    justify-content: flex-end;             /* ikonlar sağda */
    gap: 14px;
  }

  /* hero üstten footer daha yüksek olduğu için taşma olmasın diye 
     istersen ufakçe kısabiliriz; gerek yoksa bu bloğu kaldır. */
  .hero{
    height: calc(100dvh - 80px);           /* mobilde biraz kıs */
  }
}

/* ===== Modal ===== */
.modal{position:fixed;inset:0;display:none;z-index:200}
.modal.is-open{display:block}
.modal__backdrop{position:absolute;inset:0;background:rgba(2,6,23,.55);backdrop-filter:blur(4px)}
.modal__dialog{
  position:relative; z-index:1; margin:6vh auto; width:min(900px,92%);
  background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(2,6,23,.25);
  max-height:88vh; overflow:auto;
}
.modal__content{padding:22px 22px 26px}
.modal__close{
  position:absolute; top:10px; right:12px; width:36px; height:36px; border-radius:10px;
  border:0; background:transparent; color:#0b2240; font-size:26px; cursor:pointer;
}
.modal__close:hover{background:#f1f5f9}

/* küçük ekran iyileştirme */
@media (max-width: 600px){
  .modal__dialog{margin:10vh auto; width:min(680px,94%); border-radius:14px}
}




