/* =========================
   Root / Base
========================= */
:root{
  --eds-bg: #070a0d;
  --eds-surface: rgba(10,14,18,.62);
  --eds-surface-2: rgba(14,18,24,.78);
  --eds-text: rgba(255,255,255,.92);
  --eds-muted: rgba(255,255,255,.72);

  --eds-accent: #00c2ff;     /* turkuaz/mavi */
  --eds-accent-2: #00e7b8;   /* turkuaz */
  --eds-warn: #ffb300;       /* sarı/turuncu */
  --eds-warn-2: #ff6a00;

  --eds-border: rgba(255,255,255,.10);
  --eds-shadow: 0 18px 60px rgba(0,0,0,.35);

  --eds-radius: 14px;
  --eds-container: 1180px;
  --eds-header-h: 74px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1100px 650px at 20% -10%, rgba(0,194,255,.18), transparent 55%),
              radial-gradient(900px 520px at 90% 10%, rgba(255,179,0,.10), transparent 55%),
              var(--eds-bg);
  color: var(--eds-text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.eds-container{
  width: min(var(--eds-container), calc(100% - 32px));
  margin: 0 auto;
}

/* WP admin bar offset */
body.admin-bar .eds-header{ top: 32px; }
@media (max-width: 782px){
  body.admin-bar .eds-header{ top: 46px; }
}

/* =========================
   Layout: White content area + Sticky footer
========================= */
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* main grows so footer stays at bottom */
#eds-main{
  flex: 1;
  background: #fff;
  color: #111;
}

/* Default text colors inside main */
#eds-main a{ color: inherit; }
#eds-main p, 
#eds-main li{ color: #1b1f24; }

/* Content spacing helper (page.php gibi yerlerde kullanılabilir) */
.eds-pageWrap{
  padding: 44px 0;
}


/* =========================
   Header
========================= */
.eds-header{
  position: sticky;
  top: 0;
  z-index: 999;
}

.eds-header__bar{
  height: var(--eds-header-h);
  display:flex;
  align-items:center;

  /* modern frosted glass */
  background: linear-gradient(90deg, rgba(8,10,12,.55), rgba(8,10,12,.25));
  border-bottom: 1px solid var(--eds-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.eds-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.eds-header__logo{
  display:flex;
  align-items:center;
  min-width: 160px;
}
.eds-header__logo .custom-logo{
  height: 44px;
  width: auto;
}
.eds-header__brand{
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 18px;
}

/* Desktop nav centered */
.eds-nav--desktop{
  flex: 1;
  display:flex;
  justify-content:center;
}
.eds-nav__list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  gap: 22px;
}
.eds-nav__list > li > a{
  display:inline-flex;
  align-items:center;
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing:.2px;
  color: rgba(255,255,255,.86);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.eds-nav__list > li > a:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}
.eds-nav__list .current-menu-item > a,
.eds-nav__list .current_page_item > a{
  color:#fff;
  background: linear-gradient(90deg, rgba(0,194,255,.18), rgba(0,231,184,.12));
  border: 1px solid rgba(0,194,255,.20);
}

/* Header actions */
.eds-header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 160px;
  justify-content:flex-end;
}

.eds-iconBtn{
  width: 40px;
  height: 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  border: 1px solid var(--eds-border);
  background: rgba(255,255,255,.04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.eds-iconBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(0,194,255,.25);
}
.eds-iconBtn--dark{
  background: rgba(255,255,255,.06);
}

.eds-icon{
  width: 20px;
  height: 20px;
  fill: currentColor;
  color: rgba(255,255,255,.90);
}

/* Sticky shrink on scroll */
.eds-header.eds-header--scrolled .eds-header__bar{
  height: 64px;
  background: linear-gradient(90deg, rgba(8,10,12,.75), rgba(8,10,12,.40));
}
.eds-header.eds-header--scrolled .custom-logo{
  height: 40px;
}

/* =========================
   Mobile
========================= */
.eds-burger{
  display:none;
  width: 42px;
  height: 42px;
  border-radius: 12px; /* square-ish */
  background: rgba(18,22,26,.92); /* antrasit */
  border: 1px solid rgba(0,0,0,.65); /* siyah border */
  cursor:pointer;
  padding:0;
  align-items:center;
  justify-content:center;
}
.eds-burger__lines{
  width: 18px;
  height: 14px;
  position: relative;
  display:block;
}
.eds-burger__lines::before,
.eds-burger__lines::after,
.eds-burger__lines{
  background: transparent;
}
.eds-burger__lines::before,
.eds-burger__lines::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.eds-burger__lines::before{ top: 1px; }
.eds-burger__lines::after{ top: 11px; }
.eds-burger__lines{
  border-top: 2px solid #fff;
  border-radius: 2px;
  top: 0;
}

/* Drawer */
.eds-drawer{
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity:0;
  transition: opacity .2s ease;
}
.eds-drawer.is-open{
  pointer-events:auto;
  opacity:1;
}
.eds-drawer__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}
.eds-drawer__panel{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width: min(360px, 92vw);
  background: linear-gradient(180deg, rgba(12,14,16,.98), rgba(10,12,14,.96));
  border-left: 1px solid rgba(255,255,255,.10);
  transform: translateX(12px);
  transition: transform .2s ease;
  display:flex;
  flex-direction:column;
}
.eds-drawer.is-open .eds-drawer__panel{
  transform: translateX(0);
}

.eds-drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.eds-drawer__brand .custom-logo{
  height: 40px;
  width:auto;
}
.eds-drawer__close{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color:#fff;
  font-size: 22px;
  cursor:pointer;
}

.eds-nav--mobile{
  padding: 10px 10px;
  overflow:auto;
}
.eds-nav__list--mobile{
  flex-direction:column;
  align-items:stretch;
  gap: 8px;
}
.eds-nav__list--mobile > li > a{
  justify-content:space-between;
  padding: 12px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

.eds-drawer__foot{
  margin-top:auto;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.eds-drawer__icons{
  display:flex;
  gap: 10px;
}

/* Font Awesome icon sizing inside buttons */
.eds-iconBtn i{
  font-size: 18px;
  line-height: 1;
  color: rgba(255,255,255,.92);
}

/* =========================
   Footer (temporary)
========================= */
.eds-footer{
  margin-top: 60px;
  border-top: 1px solid var(--eds-border);
  background: linear-gradient(180deg, rgba(8,10,12,.65), rgba(6,8,10,.95));
}
.eds-footer__inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 22px;
  padding: 28px 0;
}
.eds-footer__desc{
  margin: 10px 0 0;
  color: var(--eds-muted);
  font-size: 14px;
  line-height: 1.55;
}
.eds-footer__title{
  font-weight: 700;
  margin-bottom: 10px;
  font-family: Manrope, Inter, system-ui, sans-serif;
}
.eds-footerMenu{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.eds-footerMenu a{
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: 14px;
  display:inline-flex;
}
.eds-footerMenu a:hover{
  color:#fff;
}
.eds-footer__icons{
  display:flex;
  gap: 10px;
  margin-top: 10px;
}
.eds-footer__bottom{
  border-top: 1px solid rgba(255,255,255,.08);
}
.eds-footer__bottomInner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

/* Footer right column */
.eds-footer__right{ display:flex; flex-direction:column; }

.eds-footer__muted{
  color: var(--eds-muted);
  font-size: 14px;
  margin: 0;
}

/* Blog list */
.eds-footerPosts{
  list-style:none;
  padding:0;
  margin: 0 0 6px;
  display:grid;
  gap: 10px;
}
.eds-footerPosts__item{
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.eds-footerPosts__link{
  display:block;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,.90);
}
.eds-footerPosts__link:hover{ color:#fff; }
.eds-footerPosts__meta{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.68);
}

/* Footer contact rows */
.eds-footerInfo{
  display:grid;
  gap: 10px;
  margin-top: 8px;
}
.eds-footerInfo__row{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.5;
}
.eds-footerInfo__row i{
  margin-top: 2px;
  font-size: 16px;
  color: rgba(0,194,255,.9);
}


.eds-homeIntro{
  padding: 44px 0 10px;
}
.eds-homeIntro__title{
  margin:0;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.2px;
}
.eds-homeIntro__desc{
  margin: 10px 0 0;
  color: var(--eds-muted);
  max-width: 62ch;
}

/* Footer: brand altına iletişim bloğu */
.eds-footer__contact{
  margin-top: 16px;
}

/* Footer credit link */
.eds-footer__credit{
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}
.eds-footer__credit:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}



/* Responsive switch */
@media (max-width: 980px){
  .eds-nav--desktop{ display:none; }
  .eds-burger{ display:inline-flex; }
  /* Desktop icons stay visible; istersen mobilde sadece burger kalsın diye aşağıyı aç:
     .eds-header__actions .eds-iconBtn{ display:none; }
  */
  .eds-header__logo{ min-width: unset; }
  .eds-header__actions{ min-width: unset; }
  
    .eds-footer__inner{
    grid-template-columns: 1fr;
  }
  .eds-footer__bottomInner{
    flex-direction:column;
    align-items:flex-start;
  }
}
