/* ==========================================================================
   Header (masaüstü) + hero yazı alanı + scroll'da büyüyen video
   Tüm sınıflar "nt-" öneklidir; mevcut tema stilleriyle çakışmaz.
   ========================================================================== */

:root {
  --nt-black: #000;
  --nt-grey: #757575;
  --nt-grey-light: #bbb;
  --nt-light: #f4f4f4;
  --nt-gold: #edb747;
  --nt-blue: #5857f9;
  --nt-font: 'Inter', Arial, sans-serif;
}

/* ---------- Header: masaüstü (>=1200px) / mobilde mevcut header ---------- */
.nt-header { display: none; }
.nt-legacy-header { display: block; }

@media (min-width: 1200px) {
  .nt-header { display: flex; }
  .nt-legacy-header { display: none; }
}

.nt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 9900;
  align-items: center;
  font-family: var(--nt-font);
  font-size: 15px;
  line-height: 20px;
  transition: all .5s;
  pointer-events: none; /* sadece içindeki öğeler tıklanabilir */
}
.nt-header > * { pointer-events: auto; }
.nt-header ul { list-style: none; margin: 0; padding: 0; }
.nt-header li { list-style: none; }
.nt-header a { text-decoration: none; color: var(--nt-black); }
.nt-header svg { display: inline-block; }

/* Logo */
.nt-logo {
  flex: 0 0 auto;
  width: 190px;
  transition: all .5s;
}
.nt-logo a { display: inline-block; line-height: 0; }
.nt-logo img { width: 130px; height: auto; max-width: none; }

/* Navigasyon (cam efektli hap) */
.nt-nav {
  position: relative;
  margin: 0 auto;
  padding: 0 36px;
  z-index: 100;
}
.nt-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, .1);
  background-color: rgba(255, 255, 255, .7);
  border-radius: 25px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.nt-nav > ul { position: relative; display: flex; align-items: center; }
.nt-nav > ul > li {
  position: relative;
  margin-right: 14px;
  transition: all .5s;
}
.nt-nav > ul > li:last-child { margin-right: 0; }

.nt-nav > ul > li > a {
  position: relative;
  display: block;
  height: 50px;
  padding: 0 8px;
  letter-spacing: .3px;
  line-height: 50px;
  white-space: nowrap;
  overflow: hidden;
  z-index: 10;
  transition: all .5s;
}
.nt-nav > ul > li:hover > a,
.nt-nav > ul > li > a.active { box-shadow: inset 0 -1px 0 var(--nt-black); }
.nt-nav > ul > li > a > svg {
  display: block;
  width: 24px;
  height: 100%;
  padding: 15px 0;
  stroke: var(--nt-black);
  transition: all .5s;
}
html.nt-scroll .nt-nav > ul > li:first-child > a > svg { opacity: 0; }

/* Scroll'da (sticky header) ana sayfa ikonunun yerine düz Stage logosu */
.nt-nav > ul > li:first-child > a { transition: all .5s; }
html.nt-scroll .nt-nav > ul > li:first-child > a { width: 84px; }
.nt-nav-mark {
  position: absolute;
  top: -80px;
  left: 8px;
  width: 68px;
  height: 50px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: all .5s;
}
.nt-nav-mark img { width: 100%; height: auto; }
html.nt-scroll .nt-nav-mark { top: 0; opacity: 1; }

/* Alt menü (portfolyo kategorileri) */
.nt-nav-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  padding: 20px;
  background-color: rgba(255, 255, 255, .92);
  text-align: left;
  box-shadow: 0 5px 30px rgba(0, 0, 0, .1);
  border-radius: 25px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 50;
}
.nt-has-sub:hover .nt-nav-menu { display: block; }
/* menü ile link arasındaki boşlukta hover kopmasın */
.nt-has-sub::after { content: ""; position: absolute; left: -10px; right: -10px; top: 40px; height: 20px; }
.nt-nav-menu > a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 10px 10px 15px;
  font-size: 16px;
  font-weight: 400;
  transition: all .5s;
}
.nt-nav-menu > a:hover { background-color: var(--nt-light); border-radius: 25px; }
.nt-nav-menu > a svg {
  width: 24px;
  height: 24px;
  margin-left: auto;
  opacity: .3;
  transition: all .5s;
}
.nt-nav-menu > a:hover svg { opacity: 1; transform: rotate(45deg); }

/* Sağdaki CTA */
.nt-header-cta { flex: 0 0 auto; position: relative; transition: all .5s; }
.nt-header-cta a {
  position: relative;
  display: flex;
  align-items: center;
  width: 190px;
  padding: 11px 11px 11px 30px;
  background-color: var(--nt-black);
  border-radius: 25px;
  letter-spacing: .5px;
  color: #fff;
  overflow: hidden;
}
.nt-header-cta a::before {
  content: "";
  position: absolute;
  top: 70px;
  left: -10px;
  right: -10px;
  aspect-ratio: 1 / 1;
  background-color: var(--nt-gold);
  border-radius: 20%;
  transition: all .75s;
}
.nt-header-cta a:hover::before { top: -50px; border-radius: 40%; }
.nt-header-cta a small { position: relative; z-index: 5; font-size: 15px; color: #fff; transition: color .5s; }
.nt-header-cta a:hover small { color: #000; }
.nt-header-cta a svg {
  position: relative;
  width: 28px;
  height: 28px;
  margin-left: auto;
  stroke: #fff;
  z-index: 5;
  transition: all .5s;
}
.nt-header-cta a:hover svg { transform: rotate(45deg); stroke: #000; }

html.nt-scroll .nt-logo,
html.nt-scroll .nt-header-cta { pointer-events: none; opacity: 0; }

@media (min-width: 1200px) and (max-width: 1399px) {
  .nt-header { padding: 20px 15px; }
  .nt-logo { width: 150px; }
  .nt-logo img { width: 110px; }
  .nt-nav { padding: 0 20px; }
  .nt-nav > ul > li { margin-right: 6px; }
  .nt-nav > ul > li > a { font-size: 14px; letter-spacing: 0; }
  .nt-header-cta a { width: 160px; padding-left: 20px; }
  .nt-header-cta a small { font-size: 14px; }
}

@keyframes ntGradient {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Hero yazı alanı ---------- */
.nt-hero-out { position: relative; width: 100%; font-family: var(--nt-font); }
.nt-hero { position: relative; width: 100%; }
.nt-hero-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 100px 64px 0;
}
.nt-hero-top {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 55vh;
}
.nt-wrap {
  position: relative;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}
.nt-hero-message {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin: 10px 0 30px;
}
.nt-hero-message-left { position: relative; width: 50%; }
.nt-hero-message-right { position: relative; flex: 1; padding: 0 80px; }
.nt-hero-message-row {
  display: block;
  margin: 21px 0 -5px;
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 80px;
  color: var(--nt-black);
}
.nt-hero-message-summary {
  font-size: 21px;
  font-weight: 300;
  letter-spacing: .5px;
  line-height: 30px;
  color: var(--nt-grey);
}
.nt-gradient-animation {
  background-image: linear-gradient(100deg, #1e1e1e, var(--nt-gold) 45%, #1e1e1e 90%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: ntGradient 5s ease-in-out infinite;
}

/* ok butonlu link */
.nt-link-cta { margin-top: 20px; letter-spacing: 1px; }
.nt-link-cta a {
  position: relative;
  display: inline-block;
  padding-right: 80px;
  text-align: left;
  color: var(--nt-grey);
  overflow: hidden;
  transition: all .5s;
}
.nt-link-cta a:hover { padding-right: 0; padding-left: 80px; }
.nt-link-cta a small {
  float: left;
  font-size: 15px;
  line-height: 50px;
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  transition: all .5s;
}
.nt-link-cta a:hover small { box-shadow: inset 0 -2px 0 var(--nt-black); color: var(--nt-black); }
.nt-link-cta a svg {
  position: absolute;
  top: 0;
  left: -55px;
  width: 48px;
  height: 48px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 50%;
  stroke: currentColor;
  transition: all .5s;
}
.nt-link-cta a:hover svg { left: 0; transform: rotate(45deg); color: #fff; background-color: var(--nt-black); }
.nt-link-cta a svg:last-child { left: auto; right: 0; }
.nt-link-cta a:hover svg:last-child { right: -55px; }

/* Açılış animasyonu */
.nt-reveal-up {
  opacity: 0;
  transform: translateY(170px);
  animation: ntRevealUp 1s forwards;
  z-index: 100;
}
@keyframes ntRevealUp {
  0% { opacity: 0; transform: translateY(170px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll ile büyüyen video ---------- */
.nt-video-out {
  position: relative;
  width: 100%;
  height: 180vh;
  padding: 0 128px;
  z-index: 1000;
}
.nt-video {
  position: relative;
  width: 100%;
  height: 50vh;
  border-radius: 32px;
  overflow: hidden;
  background: var(--nt-black);
  will-change: height;
}
.nt-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1680px) {
  .nt-hero-message-row { font-size: 64px; line-height: 70px; }
  .nt-hero-message-right { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 1280px) {
  .nt-wrap { padding-left: 40px; padding-right: 40px; }
  .nt-hero-top { height: auto; margin-top: 40px; }
  .nt-hero-message { display: block; }
  .nt-hero-message-left { width: 100%; }
  .nt-hero-message-right { padding: 30px 0; }
}
@media (max-width: 1023px) {
  .nt-wrap { padding-left: 30px; padding-right: 30px; }
  .nt-video-out { padding: 0 60px; }
}
@media (max-width: 991px) {
  .nt-hero-message-row { font-size: 48px; line-height: 56px; letter-spacing: -1px; }
}
@media (max-width: 767px) {
  .nt-hero-wrap { padding: 40px 0 0; }
  .nt-hero-top { min-height: 0; margin-top: 70px; }
  .nt-wrap { padding-left: 20px; padding-right: 20px; }
  .nt-hero-message-row { font-size: 36px; line-height: 44px; letter-spacing: -.5px; margin: 0; }
  .nt-hero-message-right { padding: 20px 0; }
  .nt-hero-message-summary { font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: 0; }
  .nt-video-out { height: 130vh; }
}
@media (max-width: 540px) {
  .nt-video-out { padding: 0 30px; }
}
@media (max-width: 440px) {
  .nt-hero-message-row { font-size: 28px; line-height: 36px; letter-spacing: normal; }
  .nt-hero-message-summary { font-size: 15px; line-height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .nt-reveal-up { animation: none; opacity: 1; transform: none; }
  .nt-gradient-animation { animation: none; }
}
