/* ========================= */
/* GENEL SAYFA */
/* ========================= */
body {
  margin: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

/* ========================= */
/* ANA YAPI */
/* ========================= */
.main-wrapper {
  width: 92vw;
  margin-right: 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* LOGO + YAZI (TEK BLOK) */
.top-container {
  width: 100%;

  justify-content: center;
  gap: 2.5vw;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================= */
/* SVG LOGO */
/* ========================= */
svg {
  width: clamp(80px, 18vw, 220px);
  height: auto;
  flex-shrink: 0;
  margin-left:20px;
}

/* ========================= */
/* ANA METİN */
/* ========================= */
.title-text {
  color: #62E8E9;
  font-size: clamp(32px, 13vw, 150px);
  font-weight: 700;
  letter-spacing: 0.10em;
  white-space: nowrap;
  opacity: 0;
  display: flex;
  align-items: center;

  animation: revealTitle 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 3s;
}

/* ========================= */
/* ALT METİN GRUBU */
/* ========================= */
.subtitle-group {
  text-align: center;
  margin-left:4vh;
}

/* ORTAK SATIR */
.subtitle-line {
  color: white;
  font-size: clamp(10px, 3.5vw, 18px);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;

  opacity: 0;
  transform: translateY(-20px);
  animation: slideDown 1.2s ease-out forwards;
  margin-top: 1vh;
}

/* RENK + VURGU */
.l4 {
  color: #62E8E9;
  font-weight: 700;
  letter-spacing: 0.45em;
}

.l5{
  margin-top: 100px;
}

/* SIRALI GELİŞ */
.l1 { animation-delay: 4s; }
.l2 { animation-delay: 4.7s; }
.l3 { animation-delay: 5.4s; }
.l4 { animation-delay: 6.1s; }
.l5 { animation-delay: 7.1s; }

/* ========================= */
/* LOGO ÇİZGİLERİ */
/* ========================= */
.n-path {
  fill: transparent;
  stroke: #62E8E9;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;

  animation: draw 3s linear forwards,
             fillIn 1s linear forwards;
}

.n1 { animation-delay: 0s, 3s; }
.n2 { animation-delay: 0.7s, 3s; }
.n3 { animation-delay: 1.4s, 3s; }
.n4 { animation-delay: 2.1s, 3s; }

/* ========================= */
/* ANİMASYONLAR */
/* ========================= */
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fillIn {
  to {
    fill: #62E8E9;
    stroke-width: 0;
  }
}

@keyframes revealTitle {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateX(-1vw);
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-3vh);
  }
  to {
    opacity: 0.85;
    transform: translateY(0);
  }
}
