/* =========================
   Akel-Theme — main.css (GLOBAL)
   root/base/btn/container/header/footer + mobile quick actions
   Prefix: ak-
========================= */

/* ===== Root Vars ===== */
:root{
  --ak-bg: #070a0f;
  --ak-surface: rgba(255,255,255,.06);
  --ak-surface-2: rgba(255,255,255,.10);
  --ak-border: rgba(255,255,255,.14);

  --ak-text: #f5f7fb;
  --ak-muted: rgba(245,247,251,.72);

  --ak-accent: #2aa7ff;
  --ak-accent-2: #0b4a86;

  --ak-radius: 16px;
  --ak-shadow: 0 18px 60px rgba(0,0,0,.45);

  --ak-container: 1200px;
  --ak-gutter: 20px;

  --ak-header-h: 84px;
}

/* ===== Base ===== */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--ak-bg);
  color: var(--ak-text);
  line-height: 1.6;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration:none; }

.ak-skip{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.ak-skip:focus{
  left:12px; top:12px; width:auto; height:auto;
  padding:10px 12px; border-radius:12px;
  background:#111827; outline:2px solid var(--ak-accent);
  z-index:99999;
}

.ak-container{
  width: min(var(--ak-container), calc(100% - (var(--ak-gutter) * 2)));
  margin-inline:auto;
}

/* ===== Buttons ===== */
.ak-btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--ak-border);
  background: transparent;
  color: var(--ak-text);
  font-weight: 700;
  line-height:1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}
.ak-btn i{ font-size: 1.05em; }
.ak-btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.24); }
.ak-btn:active{ transform: translateY(0); }

.ak-btn--primary{
  background: linear-gradient(135deg, var(--ak-accent), var(--ak-accent-2));
  border-color: transparent;
}
.ak-btn--primary:hover{ opacity:.95; }

.ak-btn--ghost{
  background: rgba(255,255,255,.04);
}

.ak-btn--block{ width:100%; }

/* ===== Header ===== */
.ak-header{
  position: sticky;
  top:0;
  z-index: 1000;
  height: var(--ak-header-h);
  display:flex;
  align-items:center;
  background: rgba(7,10,15,.40);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease, border-color .2s ease;
}
.ak-header--scrolled{
  background: rgba(7,10,15,.78);
  border-bottom-color: rgba(255,255,255,.12);
}

.ak-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.ak-brand__logo img{ height: 46px; width:auto; }
.ak-brand__text{ font-weight: 900; letter-spacing: .2px; }

.ak-nav{ display:block; }
.ak-menu{
  list-style:none;
  display:flex;
  gap: 10px;
  margin:0; padding:0;
}
.ak-menu > li{ position:relative; }
.ak-menu a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(245,247,251,.92);
  font-weight: 700;
  opacity:.95;
}
.ak-menu a:hover{ background: rgba(255,255,255,.06); opacity:1; }

/* Dropdown */
.ak-menu .sub-menu{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width: 240px;
  list-style:none;
  margin:0; padding: 10px;
  border-radius: 16px;
  background: rgba(10,14,22,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--ak-shadow);
  display:none;
}
.ak-menu li:hover > .sub-menu{ display:block; }
.ak-menu .sub-menu a{
  width:100%;
  border-radius: 12px;
  padding: 10px 10px;
}

.ak-header__cta{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* ===== Language Switch (single flag) ===== */
.ak-lang{ display:flex; align-items:center; }

.ak-lang__switch{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--ak-border);
  transition: transform .15s ease, border-color .15s ease;
}
.ak-lang__switch:hover{
  transform: translateY(-1px);
  border-color: rgba(42,167,255,.55);
}

.ak-lang__flag{
  width: 22px;
  height: 16px;
  border-radius: 4px;
  display:block;
}

.ak-lang__txt{ font-weight: 900; letter-spacing: .5px; }


/* Burger */
.ak-burger{
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction: column;     /* <-- önemli */
  gap: 6px;                  /* <-- dikey boşluk */
  padding:0;
}
.ak-burger span{
  display:block;
  height: 2px;
  background: rgba(245,247,251,.92);
  border-radius: 2px;
}

/* Dalga etkisi: orta uzun, üst/alt kısa */
.ak-burger span:nth-child(1){ width: 14px; opacity:.85; }
.ak-burger span:nth-child(2){ width: 22px; }
.ak-burger span:nth-child(3){ width: 14px; opacity:.85; }


/* ===== Drawer ===== */
.ak-drawer{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.ak-drawer.is-open{ display:block; }
.ak-drawer__overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
}
.ak-drawer__panel{
  position:absolute;
  top:0; right:0;
  width: min(380px, 92vw);
  height:100%;
  background: rgba(10,14,22,.96);
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--ak-shadow);
  display:flex;
  flex-direction:column;
  padding: 16px;
}
.ak-drawer__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.ak-drawer__title{ font-weight: 900; letter-spacing: .2px; }
.ak-drawer__close{
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--ak-text);
}
.ak-drawer__nav{ padding: 12px 0; overflow:auto; }
.ak-drawer-menu{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.ak-drawer-menu a{
  display:flex;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 800;
}
.ak-drawer-menu .sub-menu{
  list-style:none;
  margin: 6px 0 0 0;
  padding: 0 0 0 10px;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.ak-drawer__actions{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
}




/* ===== Footer ===== */
.ak-footer{
  margin-top: 60px;
  padding: 56px 0 28px;
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.08);
}
.ak-footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 26px;
}
.ak-footer__title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: uppercase;
  opacity: .9;
}
.ak-muted{ color: var(--ak-muted); }

.ak-footer__menu{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.ak-footer__menu a{ opacity:.9; }
.ak-footer__menu a:hover{ opacity:1; text-decoration: underline; text-underline-offset: 3px; }

.ak-footer__list{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.ak-footer__list i{ width: 18px; opacity:.95; }

.ak-footer__social{
  display:flex;
  gap: 12px;
  margin-top: 14px;
}
.ak-footer__social a{
  width: 40px; height: 40px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.ak-footer__social a:hover{ border-color: rgba(255,255,255,.22); }

.ak-footer__bottom{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.ak-footer__mini{
  display:flex;
  align-items:center;
  gap: 10px;
}
.ak-footer__mini a{ opacity:.9; }
.ak-footer__mini a:hover{ opacity:1; text-decoration: underline; text-underline-offset: 3px; }

/* Footer signature */
.ak-footer__copy{ flex:1; }

.ak-footer__sig{
  flex:1;
  text-align:center;
  font-weight: 800;
  color: var(--ak-accent);
  letter-spacing: .2px;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.ak-footer__sig:hover{
  text-decoration: none;
  color: #5cc8ff; /* hover tonu (daha açık mavi) */
  opacity: 1;
  transform: translateY(-1px);
}

.ak-footer__mini{
  flex:1;
  justify-content: flex-end;
}




/* ===== Mobile Fixed Action Buttons ===== */
.ak-mfab{
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 2100;
  display:none;
  flex-direction: column;
  gap: 10px;
}
.ak-mfab__btn{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ak-mfab__btn i{ font-size: 20px; }
.ak-mfab__btn:hover{ border-color: rgba(255,255,255,.26); }

/* Drawer açıkken sağdaki sabit iletişim butonlarını gizle */
.ak-drawer-open .ak-mfab{ display:none !important; }


/* ===== Responsive ===== */
@media (max-width: 980px){
  .ak-nav{ display:none; }
  .ak-burger{ display:inline-flex; }
  .ak-footer__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 768px){
  .ak-header__cta .ak-btn{ display:none; }
  .ak-mfab{ display:flex; }
  .ak-lang__link{ width:38px; height:38px; }
}

/* Mobile: alt satırda düzgün stack */
@media (max-width: 680px){
  .ak-footer__bottom{ justify-content:center; }
  .ak-footer__copy,
  .ak-footer__sig,
  .ak-footer__mini{
    flex: 0 0 100%;
    text-align:center;
  }
  .ak-footer__mini{ justify-content:center; }
}
