/* =========================
   MARKALENS DESIGN SYSTEM
   ========================= */

/* -------- COLOR TOKENS -------- */

:root {
  --black: #000000;
  --grey-900: #111213;
  --grey-700: #222323;
  --grey-600: #414243;
  --grey-500: #626465;
  --grey-400: #858889;
  --grey-300: #AAAEAF;
  --grey-200: #D2D5D6;
  --grey-100: #F0F1F1;
  --grey-50: #F7F9FA;
  --white: #ffffff;

  --primary-700: #02282A;
  --primary-600: #074A4D;
  --primary-500: #0F6F73;
  --primary-400: #18969C;
  --primary-300: #22C0C6;
  --primary-200: #2CEBF3;
  --primary-100: #C3FBFE;
}


/* -------- RESET -------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* -------- BASE TYPOGRAPHY -------- */

body {
  font-family: 'Inter', sans-serif;

  /* FULL PAGE BACKGROUND */
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;


  min-height: 100vh;

  /* içerik ortalama */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FIXED FULLSCREEN BACKGROUND — bounce safe */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



/* içerik kutusu */
.center {
  position: relative;
  text-align: center;

  padding: 60px 100px;
  border-radius: 24px;

  /* cam transparanlık */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.45),
    rgba(255,255,255,0.15)
  );

  /* gerçek cam hissi */
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);

  /* cam kenarı */
  border: 1px solid rgba(255,255,255,0.35);

  /* dış glow */
  box-shadow:
    0 8px 32px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(255,255,255,0.2);
}

/* üst parlama (liquid ışık yansıması) */
.center::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.05) 40%,
    transparent 60%
  );

  pointer-events: none;
  mix-blend-mode: soft-light;
  animation: glassShine 6s ease-in-out infinite;
    opacity: 0.7;

}



/* -------- HEADINGS -------- */

h1, h2 {
  color: var(--grey-700);
  font-weight: 600;
}

h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }


/* -------- TEXT STYLES -------- */

p {
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
}

.large {
  font-size: 20px;
  font-weight: 500;
}

.subtle {
  color: var(--grey-500);
}


/* -------- LISTS -------- */

ul, ol {
  margin: 16px 0;
  padding-left: 20px;
}

li {
  margin-bottom: 16px;
}


/* -------- LAYOUT -------- */

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center {
  text-align: center;
}

.stack-md > * + * {
  margin-top: 16px;
}

.stack-lg > * + * {
  margin-top: 24px;
}


/* -------- LOGO -------- */

.logo {
  width: 180px;
  border-radius: 16px;
}

.footer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}


.footer p {
  color: var(--grey-300);
}

/* =========================
   LIQUID GLASS FLOAT + SPRING
   ========================= */

.center {
  transform-style: preserve-3d;
  will-change: transform;
  animation: glassFloat 6s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}

/* hafif hover / touch bounce */
.center:hover {
  transform: scale(1.03) translateY(-4px);
}

/* sürekli micro float */
@keyframes glassFloat {
  0% {
    transform: translateY(0px) scale(1);
  }
  25% {
    transform: translateY(-6px) scale(1.01);
  }
  50% {
    transform: translateY(0px) scale(1);
  }
  75% {
    transform: translateY(4px) scale(0.995);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@keyframes glassPulse {
  0%,100% { opacity: 0.65; }
  50% { opacity: 0.85; }

  /*responsive*/

@media (max-width: 1024px) {

  .center {
    padding: 48px 60px;
    border-radius: 20px;
  }

  h1 {
    font-size: 34px;
  }

  .logo {
    width: 150px;
  }

}

@media (max-width: 768px) {

  .center {
    padding: 36px 32px;
    border-radius: 18px;
    margin: 20px;
  }

  h1 {
    font-size: 28px;
  }

  .logo {
    width: 130px;
  }

}
@media (max-width: 480px) {

  .center {
    padding: 28px 22px;
    border-radius: 16px;
    margin: 16px;
  }

  h1 {
    font-size: 24px;
  }

  .logo {
    width: 110px;
  }

  .footer {
    bottom: 14px;
    font-size: 12px;
  }

}

/* 📱 iPhone SE / 375x667 özel optimizasyon */
@media (max-width: 375px) and (max-height: 667px) {

  .center {
    padding: 22px 18px;
    border-radius: 14px;
    margin: 14px;
    max-width: 92vw;
  }

  h1 {
    font-size: 22px;
    line-height: 1.2;
  }

  .logo {
    width: 95px;
  }

  .footer {
    bottom: 10px;
  }

  .footer p {
    font-size: 11px;
  }
}



