/* style.css */
/* Genel Ayarlar */
@font-face {
  font-family: 'Aquire';
  src: url('./fonts/aquire.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;}
.site-header, .navbar, .hero, .hero-text, .video-border-wrapper{
position: relative;
z-index: 10;
}
body, html {
margin: 0;
padding: 0;
overflow-x: hidden;
background-color: rgba(0,0,0,0.95); /* %95 siyah — neredeyse #000 ama şeffaf */
}

body {
position: relative;
z-index: 1;
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
color: #fff;
scroll-behavior: smooth;
  -webkit-user-drag: none;
  user-drag: none;
}
img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  pointer-events: auto;
}
/* Placeholder metinlerin seçimini engelle */
input::placeholder,
textarea::placeholder {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
a {
color: inherit;
text-decoration: none;}
button {
cursor: pointer;
font-weight: bold;
border: none;
border-radius: 25px;
padding: 12px 24px;}
/* === SCROLL KONTROLLÜ HEADER === */
/* Scroll'da kaybolan header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(0,0,0,0.46); /* Şeffaf siyah! */
  backdrop-filter: none;
  transition:
    background 0.35s cubic-bezier(.85,0,.13,1),
    backdrop-filter 0.35s cubic-bezier(.85,0,.13,1),
    transform 0.35s cubic-bezier(.85,0,.13,1);
}

.site-header.header-blur {
  background: rgba(0,0,0,0.32);   /* Blur arka plan */
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 2px 20px 0 rgba(0,0,0,0.18);
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
    padding-top: 80px; 
}
.navbar {
  z-index: 1 !important;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  min-height: 70px;
  background: transparent !important; 
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: white;
  font-weight: 300;
  font-size: 18px;
  padding: 10px;
  position: relative; /* 🔧 ::after için gerekli */
  display: inline-block; /* 🔧 hizalama için gerekli */
  text-decoration: none;
  transition: all 0.3s ease;
}
.nav-links li a:hover {
  background: linear-gradient(90deg, #ff4b4b, #ffffff, #ff4b4b);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 1s linear infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

@keyframes shine {
  from {
    background-position: 200% center;
  }
  to {
    background-position: 0 center;
  }
}
.nav-link.active {
  color: #ff0000;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px; /* yazının hemen altı */
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #ff0000;
  border-radius: 50%;
}

.demo-btn {
  display: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  background-color: transparent;
  border: 1px solid #151517;
  border-radius: 30px;
  color: white;
  text-align: center;
  line-height: 1; /* Bu satır çok önemli! */
  margin-right: 15px;
}
.user-icon {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background-color: #ec232a;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Giriş yapılmış kullanıcı ikonu */
#userIconAuth img {
  border-radius: 50%; /* yuvarlak yap */
  object-fit: cover;  /* fotoğrafı taşırmadan kırp */
  border: 2px solid #fff; /* isteğe bağlı çerçeve */
  width: 42px;
  height: 42px;

}
/* Avatar fallback */
.acc-avatar{ display:flex; align-items:center; justify-content:center; line-height:1; font-weight:700; font-size:18px; color:#fff; }
.acc-avatar.acc-avatar--text{ align-items:flex-end; padding-bottom:4px; }
img.acc-avatar{ display:block; object-fit:cover; }
.acc-close:hover{ background:rgba(255,255,255,.08); }

.logo img {
height: 23px;
}

/* ============================= */
/* TABLET / ORTA EKRAN (1024px-1287px) */
/* ============================= */
@media (min-width: 1024px) and (max-width: 1287px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    height: 80px;
  }

  /* Sol tarafı (logo) ortaya çekiyoruz */
  .nav-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo img {
    height: 30px;
    display: block;
    margin: 0 auto;
  }

  /* Ortadaki linkleri ve sağdaki butonları gizle */
  .nav-center,
  .nav-right {
    display: none;
  }

  /* Hamburger menü aktif */
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 24px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
  }
}

/* ============================= */
/* MOBİL (0px - 1023px) */
/* ============================= */
@media (max-width: 1023px) {
  .nav-left {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    flex: 1;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 80px;
  }

  .logo img {
    height: 25px;
    display: block;
    margin: 0 auto;
  }

  .nav-center,
  .nav-right {
    display: none;
  }

  /* Hamburger Menü */
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 24px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
  }
}

/* ============================= */
/* DESKTOP (1288px ve üzeri) */
/* ============================= */
@media (min-width: 1288px) {
  .menu-toggle {
    display: none !important;
  }
}

/* ============================= */
/* HAMBURGER MENU DRAWER */
/* ============================= */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100dvh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.25);
  background-blend-mode: darken;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  padding: 30px 20px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  color: white;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7); /* biraz koyulaştırdım */
  z-index: 9998; /* arttırdım */
  transition: opacity 0.3s ease;
}
.drawer-overlay.active {
  display: block;
}

.drawer-menu.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -20px;
}

.drawer-close {
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  top: 20px;
  right: 20px;
  z-index: 9999; 
}

.drawer-close:hover {
  transform: rotate(90deg);
  color: #ed1c24;
}

.drawer-links {
  list-style: none;
  margin-top: 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.drawer-links li {
  opacity: 0;
  transform: translateX(20px);
  animation: slideIn 0.4s forwards;
}

.drawer-links li:nth-child(1) { animation-delay: 0.1s; }
.drawer-links li:nth-child(2) { animation-delay: 0.2s; }
.drawer-links li:nth-child(3) { animation-delay: 0.3s; }
.drawer-links li:nth-child(4) { animation-delay: 0.4s; }
.drawer-links li:nth-child(5) { animation-delay: 0.5s; }
.drawer-links li:nth-child(6) { animation-delay: 0.6s; }
.drawer-links li:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ===== Drawer Smooth Close Animation ===== */
.drawer-menu.closing {
  right: -100%;               /* geri kay */
  transition: right 0.4s ease; /* kapanış süresi */
}

.drawer-overlay.closing {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.drawer-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 15px;
  font-weight: 300;
  line-height: 2.4;
  text-decoration: none;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.drawer-links li a span.drawer-arrow {
  margin-left: auto;
  padding-left: 10px;
}

.drawer-links li a:hover {
  color: white;
  border-bottom: 1px solid #ed1c24;
}

.drawer-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.drawer-logo img {
  width: 120px;
  opacity: 0.9;
}

.drawer-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 0, 47, 0.12) 0%, transparent 70%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

.drawer-buttons {
  position: relative;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 30px;
}

.drawer-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  transform: translateY(-60px); /* komple yukarı kaydır */
}
.drawer-login-btn,
.drawer-demo-btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}
.hidden {
  display: none !important;
}
.social-login {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  position: relative;
  gap: 0; /* manuel hizalama kullanıyoruz */
}
.social-login {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center; /* Ortaya getir */
  margin-top: 20px;
}

.social-login::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.social-iconn {
  width: 40px;
  height: 40px;
  border: 1px solid #aaa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  margin: 0 15px; /* İkonlar arası eşit boşluk */
  transition: 0.3s;
}

.social-icon:hover {
  border-color: #fff;
  transform: scale(1.1);
}

/* Sosyal medya renkleri */
.facebook:hover { color: #1877f2; }
.google:hover { color: #db4437; }
.apple:hover { color: #ffffff; }

/* USER ICON PREMIUM HOVER EFFECT */
.user-icon {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background-color: #ec232a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
}

.user-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.5) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.4s ease;
}

.user-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
}

.user-icon:hover::before {
  transform: translate(-50%, -50%) scale(1.6);
  opacity: 1;
}

/* İsteğe bağlı nefes alma animasyonu */
.user-icon:hover::before {
  animation: glowPulse 1.8s infinite alternate;
}

@keyframes glowPulse {
  from {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.5;
  }
  to {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}
/* Drawer her şeyin üstünde kalsın */
#drawer-menu{ 
  z-index:10002; 
  display:flex; 
  flex-direction:column; 
  overflow:hidden; /* scroll'u listeye veriyoruz */
}

/* Liste kısmı kayabilsin (buton sabit kalsın) */
#drawer-menu .drawer-links{
  flex:1 1 auto;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  padding-bottom:12px;
  margin-bottom:8px;
}

/* Alt buton satırını ekrana sabitle (sticky) */
#drawer-menu .drawer-bottom{
  margin-top:0;
  margin-bottom:0;       /* 80px boşluğu kaldır */
  padding:12px 0 8px;
  position:sticky;
  bottom:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.75) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top:1px solid rgba(255,255,255,.08);
}

/* Her ihtimale karşı görünür kıl */
#drawer-menu .drawer-login-btn{
  display:inline-flex !important;
  visibility:visible !important;
  align-items:center; 
  justify-content:center;
  border-color:rgba(255,255,255,.35);
}
/* === Premium kırmızı-siyah scrollbar === */
:root{
  --sb-size: 12px;
  --sb-track: #0f1014;
  --sb-thumb-top: #c01414;
  --sb-thumb-btm: #ff3b3b;
  --sb-thumb-top-hover: #d81717;
  --sb-thumb-btm-hover: #ff4a4a;
  --sb-gloss: rgba(255,255,255,.06);
  --sb-glow: rgba(255,50,50,.18);
}

/* Firefox */
html{
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb-top) var(--sb-track);
}

/* WebKit (Chrome/Edge/Safari) */
*::-webkit-scrollbar{
  width: var(--sb-size);
  height: var(--sb-size);
}
*::-webkit-scrollbar-track{
  background: var(--sb-track);
  border-radius: 12px;
}

*::-webkit-scrollbar-thumb{
  background:
    linear-gradient(180deg, var(--sb-thumb-top), var(--sb-thumb-btm)),
    linear-gradient(180deg, var(--sb-gloss), transparent);
  border-radius: 12px;
  border: 2px solid var(--sb-track);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.04);
  transition: background .15s ease, box-shadow .15s ease;
}

*::-webkit-scrollbar-thumb:hover{
  background:
    linear-gradient(180deg, var(--sb-thumb-top-hover), var(--sb-thumb-btm-hover)),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.35),
    0 0 10px var(--sb-glow);
}

*::-webkit-scrollbar-thumb:active{
  background: linear-gradient(180deg, #ff4d4d, #c51616);
}

*::-webkit-scrollbar-corner{
  background: var(--sb-track);
}

/* Yalnızca belirli alanlara uygula */
.scrollable{
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb-top) var(--sb-track);
}
.scrollable::-webkit-scrollbar{ width: 10px; height: 10px; }

/* === Root: sayfa scrollbar gizli === */
html { scrollbar-width: none; }

/* Başta gizli */
html::-webkit-scrollbar { 
  width: 0; 
  height: 0; 
  background: transparent;
}

/* Scrollbar görünür class'ı geldiğinde aç */
html.scrollbar-visible::-webkit-scrollbar {
  width: var(--sb-size) !important;
  height: var(--sb-size) !important;
}

/* Scrollbar’ın üstüne gelince sabit açık kalsın */
html::-webkit-scrollbar:hover,
html::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-track:hover {
  width: var(--sb-size) !important;
  height: var(--sb-size) !important;
}

/* === Overlay scrollbar (pencere için) === */
.sb-overlay{
  position: fixed;
  top: 0;
  right: 0;                /* sola almak istersen .sb-overlay.left kullan */
  width: var(--sb-size, 12px);
  height: 100vh;
  z-index: 2147483647;
  pointer-events: auto;

  /* giriş/çıkış animasyonu */
  transform: translateX(100%);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.sb-overlay.show{ transform: translateX(0); opacity: 1; }

.sb-overlay.left{ left: 0; right: auto; transform: translateX(-100%); }
.sb-overlay.left.show{ transform: translateX(0); }

.sb-overlay .track{
  position: absolute; inset: 0;
  background: var(--sb-track, #0f1014);
  border-radius: 12px;
}
.sb-overlay .thumb{
  position: absolute; left: 0; width: 100%;
  min-height: 48px;               /* min thumb boyu */
  border-radius: 12px;
  background:
    linear-gradient(180deg, var(--sb-thumb-top, #c01414), var(--sb-thumb-btm, #ff3b3b)),
    linear-gradient(180deg, var(--sb-gloss, rgba(255,255,255,.06)), transparent);
  border: 2px solid var(--sb-track, #0f1014);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.04);
  transition: background .15s ease, box-shadow .15s ease;
  will-change: transform, height;
}
.sb-overlay .thumb:hover{
  background:
    linear-gradient(180deg, var(--sb-thumb-top-hover, #d81717), var(--sb-thumb-btm-hover, #ff4a4a)),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent);
}

/* sürüklerken anında tepki (transition kapat) */
.sb-overlay.drag .thumb{ transition: none; }
/* Tarayıcı cursor'unu HER YERDE kapat */
html, body, *, 
*:hover, *:focus, *:active, 
input, textarea, select, button {
  cursor: none !important;
}






/* === Global Page Transition === */
.page-transition {
  position: fixed;
  inset: 0;
  /* Arka plan: marka rengi / gradient burada ayarlanabilir  */
  /* Default siyah yerine site genel rengine göre değiştir */
  background: #000;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease-in-out;
}

.page-transition.active {
  opacity: 1;             /* Çıkışta kararma */
  pointer-events: auto;   /* İsteğe göre kapatılabilir */
}

/* Layer yapısı – sadece animasyon için */
.page-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .8s ease-in-out;
}
.page-layer.front { z-index: 2; opacity: 1; }
.page-layer.back  { z-index: 1; opacity: 1; }
.page-layer.fade-out { opacity: 0; }

/* === Açılış Fade === */
/* Sadece opacity animasyonu; background rengi globali bozmaz */
body {
  animation: pageFadeIn 1.5s ease-in-out forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

