/* Akademi Organizasyon Overlay Menu v1.1.3 - Enhanced with Scroll Effect */
:root{
  --aoom-bg: #0a0a0a;
  --aoom-text: #e5e7eb;
  --aoom-text-dim: #9ca3af;
  --aoom-accent: #ffff;
  --aoom-border: rgba(255,255,255,.07);
}
html.aoom-lock, html.aoom-lock body{ overflow:hidden; }

/* Header bar */
.aoom-header{
  position: fixed; top:0; left:0; right:0; height:var(--aoom-h, 64px); z-index: 10000;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 18px;
  background: var(--aoom-header-bg, transparent) !important;
  box-shadow: none !important;
  pointer-events: none;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* SCROLL EFFECT - Siyah arkaplan */
.aoom-header.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.aoom-header *{ box-shadow:none !important; }
.aoom-header .aoom-left, .aoom-header .aoom-toggle{ pointer-events: auto; }
.aoom-header .aoom-logo img{ height: var(--aoom-logo-h, 36px); width:auto; vertical-align:middle; }
.aoom-header .custom-logo-link, .aoom-header .custom-logo{ max-height:none!important; }
.aoom-header .aoom-site{ color:#fff; font-weight:700; letter-spacing:.06em; }

.aoom-toggle{
  display:flex; align-items:center; gap:10px; background:none !important; border:none; color:#fff;
  font-size:12px; letter-spacing:.12em; text-transform:uppercase; cursor:pointer;
}
.aoom-toggle:hover, .aoom-toggle:focus{ background: transparent !important; outline:none; }
.aoom-toggle .aoom-bars i{
  display:block; width:16px; height:1.5px; background:#fff; margin:3px 0; border-radius:2px;
}

/* Overlay panel */
.aoom-overlay{
  position: fixed; inset:0; background: var(--aoom-bg); color: var(--aoom-text);
  transform: translateY(-100%); transition: transform .6s cubic-bezier(.22,.61,.36,1);
  z-index: 100001; padding: calc(var(--aoom-h,64px) + 22px) 24px 24px; display:flex; flex-direction:column;
  overflow: auto;
}
.aoom-overlay.is-open{ transform: translateY(0); }

.aoom-close{
  position:absolute; top:14px; right:12px; display:flex; align-items:center; gap:10px;
  background:none; border:none; color:#bbb; cursor:pointer; font-size:10px; letter-spacing:.12em; text-transform:uppercase;
}
.aoom-close .aoom-x{ position:relative; width:16px; height:16px; display:inline-block; }
.aoom-close .aoom-x::before, .aoom-close .aoom-x::after{
  content:""; position:absolute; top:50%; left:0; right:0; height:1.5px; background:#bbb; transform-origin:center;
}
.aoom-close .aoom-x::before{ transform: rotate(45deg); }
.aoom-close .aoom-x::after{ transform: rotate(-45deg); }

/* 1) Close butonunda pembe hover'ı tamamen iptal et */
.aoom-overlay .aoom-close,
.aoom-overlay .aoom-close:hover,
.aoom-overlay .aoom-close:focus,
.aoom-overlay .aoom-close:active {
  background: transparent !important;
  box-shadow: none !important;
}

/* 2) Bazı temalar butonun kendi ::before/::after'ıyla hover efekt basıyor; kapat */
.aoom-overlay .aoom-close::before,
.aoom-overlay .aoom-close::after {
  content: none !important;
  display: none !important;
}

/* 3) X işaretini çizen çizgiler GÖRÜNSÜN (transparent yapma) */
.aoom-overlay .aoom-close .aoom-x::before,
.aoom-overlay .aoom-close .aoom-x::after {
  background: currentColor !important; /* #bbb ya da currentColor */
}

/* (opsiyonel) hover'da X'in rengi beyaza dönsün */
.aoom-overlay .aoom-close:hover { color: #fff; }

/* (opsiyonel) odak halkası kalsın, arka plan olmasın */
.aoom-overlay .aoom-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  background: transparent !important;
}


/* Vertically center content */
.aoom-inner{ flex:0 0 auto; display:flex; gap:40px; max-width:1400px; width:100%; margin: auto; border-left:1px solid var(--aoom-border); border-right:1px solid var(--aoom-border); }
.aoom-col{ padding: 0 24px; }

/* Left: menu */
.aoom-menu-col{ flex: 1 1 auto; display:flex; align-items:flex-start; justify-content:flex-start; }
.aoom-menu{
  list-style:none; margin:0; padding:0; display:flex; flex-direction:column;
  row-gap: var(--aoom-menu-gap, 18px);
}
.aoom-menu > li > a{
  display:inline-block; color: var(--aoom-text); text-decoration:none;
  font-size: var(--aoom-menu-size, 34px);
  font-weight: 700; letter-spacing: var(--aoom-menu-ls, .02em);
  text-transform: uppercase;
  background: transparent !important; box-shadow: none !important;
}
.aoom-menu > li > a:hover,
.aoom-menu > li > a:focus{ color: var(--aoom-accent); background: transparent !important; outline:none; }

/* Right: contact */
.aoom-contact-col{ flex: 0 0 var(--aoom-right, 38%); }
.aoom-block{ margin-bottom: 28px; }
.aoom-block-title{ font-size:12px; text-transform:uppercase; letter-spacing:.12em; color:#bdbdbd; margin-bottom:12px; }
.aoom-block-text{ color: var(--aoom-text-dim); line-height:1.8; }

.aoom-socials{ display:flex; gap:14px; align-items:center; }
.aoom-socials a{ color:#bdbdbd; text-decoration:none; background: transparent !important; }
.aoom-socials a:hover{ color:#fff; }

/* Responsive */
@media (max-width: 1024px){
  .aoom-inner{ border:none; gap:28px; }
  .aoom-contact-col{ flex-basis: 45%; }
}
@media (max-width: 768px){
  .aoom-inner{ flex-direction:column; gap:28px; }
  .aoom-contact-col{ flex-basis:auto; }
  .aoom-menu{ row-gap: var(--aoom-menu-gap-sm, 14px); }
  .aoom-menu > li > a{ font-size: var(--aoom-menu-size-sm, 22px); }
}

/* AOOM fade-off during close */
.aoom-overlay{ opacity:1; transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .25s ease; }
.aoom-overlay.closing{ opacity:0; pointer-events:none; }
