/* ============================================================
   PERA Printing Solutions — kurumsal kimlik stilleri
   Palet: #EF4E36 · #231F27 · #FFFFFF · #FE6C0E · #D5D5DA
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --orange: #ef4e36;
  --amber: #fe6c0e;
  --dark: #231f27;
  --grey: #d5d5da;
  --white: #ffffff;

  --ink-soft: rgba(255, 255, 255, 0.78);
  --ink-dim: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.14);

  --pad: clamp(1.15rem, 5vw, 4rem);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--dark);
  color: var(--white);
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- zemin katmanları ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 95% at 50% 108%, rgba(254, 108, 14, 0.28) 0%, rgba(239, 78, 54, 0.1) 34%, transparent 68%),
    radial-gradient(80% 60% at 12% -8%, rgba(239, 78, 54, 0.16) 0%, transparent 62%),
    linear-gradient(178deg, #1b181f 0%, #231f27 46%, #2a252e 100%);
}

.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
}

#scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Kenarlarda yumuşak sönüm: nokta düzleminin sert bitişini gizler */
  -webkit-mask-image: radial-gradient(
    125% 105% at 50% 46%,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.72) 74%,
    rgba(0, 0, 0, 0.18) 92%,
    transparent 100%
  );
  mask-image: radial-gradient(
    125% 105% at 50% 46%,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.72) 74%,
    rgba(0, 0, 0, 0.18) 92%,
    transparent 100%
  );
}

/* Okunabilirlik perdesi: metnin arkasını hafifçe karartır */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      62% 46% at 50% 44%,
      rgba(27, 24, 31, 0.82) 0%,
      rgba(27, 24, 31, 0.55) 46%,
      rgba(27, 24, 31, 0) 78%
    );
}

/* WebGL yoksa / redüksiyon varsa sahneyi gizle */
.no-webgl #scene {
  display: none;
}

/* ---------- iskelet ---------- */
.page {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 3.4vw, 2.1rem) var(--pad) clamp(1.1rem, 3vw, 1.9rem);
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

/* ---------- üst bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(1.2rem, 4vw, 2rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

.brand:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 6px;
}

.brand__mark {
  width: clamp(64px, 15vw, 86px);
  height: auto;
  display: block;
}

.brand__divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.brand__name {
  font-size: clamp(0.62rem, 1.5vw, 0.74rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  line-height: 1.35;
  max-width: 9ch;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: clamp(0.56rem, 1.5vw, 0.65rem);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(239, 78, 54, 0.6);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 78, 54, 0.55); }
  70% { box-shadow: 0 0 0 11px rgba(239, 78, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 78, 54, 0); }
}

/* ---------- merkez ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 2.3rem);
  padding-block: clamp(1.6rem, 6vw, 3.4rem);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin: 0 auto;
  font-size: clamp(0.6rem, 1.6vw, 0.72rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  /* amber: #231F27 üzerinde 5.68:1 (AA) — marka turuncusunun erişilebilir tonu */
  color: var(--amber);
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: clamp(18px, 5vw, 34px);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 11.5vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}

/* başlık altındaki ince turuncu süpürme çizgisi — logodan esinli */
.hero__title em::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.06em;
  height: clamp(3px, 0.9vw, 6px);
  border-radius: 999px 4px 999px 4px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transform: rotate(-1.1deg);
  opacity: 0.92;
}

.hero__lede {
  margin: 0 auto;
  max-width: 52ch;
  font-size: clamp(0.86rem, 2.5vw, 1.06rem);
  font-weight: 700;
  line-height: 1.75;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
}

.hero__lede strong {
  color: var(--white);
  font-weight: 700;
}

/* ---------- yetkinlik şeridi ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.44rem 0.86rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: clamp(0.58rem, 1.7vw, 0.69rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  backdrop-filter: blur(6px);
}

/* ---------- CTA ---------- */
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: clamp(0.72rem, 2vw, 0.83rem);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.btn--primary {
  /* Marka turuncusu tam korunur; metin neredeyse siyah: 5.45:1 (AA).
     Beyaz metin 3.61, #231F27 metin 4.48 kalıyordu. */
  background: var(--orange);
  color: #100d14;
  box-shadow: 0 16px 36px -16px rgba(239, 78, 54, 0.85);
}

.btn--primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- alt bilgi ---------- */
.footbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.2rem;
  padding-top: clamp(1.1rem, 3vw, 1.7rem);
  border-top: 1px solid var(--line);
  font-size: clamp(0.58rem, 1.6vw, 0.68rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.footbar a {
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 4px;
  /* e-posta adresi buyuk harfe cevrilmesin: okunurluk */
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.95em;
  font-weight: 600;
  color: var(--white);
}

.footbar a:hover {
  color: var(--white);
}

/* Klavye ile gezinme için görünür odak */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.btn--primary:focus-visible {
  outline-color: var(--white);
}

/* ---------- mobil düzeltmeler ---------- */
@media (max-width: 820px) {
  .hero {
    gap: clamp(1.1rem, 5vw, 1.7rem);
    padding-block: clamp(1.1rem, 8vw, 2.2rem);
  }

  .hero__title {
    font-size: clamp(2.3rem, 13vw, 3.9rem);
    line-height: 0.94;
  }

  .hero__lede {
    max-width: 34ch;
    line-height: 1.7;
  }

  .cta {
    width: 100%;
  }

  .btn {
    flex: 1 1 100%;
  }

  .footbar {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand__divider,
  .brand__name {
    display: none;
  }

  .tags li:nth-child(n + 5) {
    display: none;
  }

  .page {
    padding: 1rem 1.1rem 1rem;
  }

  .topbar {
    padding-bottom: 0.9rem;
  }

  .hero {
    gap: 1rem;
    padding-block: 0.8rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 13vw, 3.5rem);
  }

  .hero__lede {
    font-size: 0.83rem;
    line-height: 1.66;
    max-width: 32ch;
  }

  .tags {
    gap: 0.38rem;
  }

  .tags li {
    padding: 0.36rem 0.68rem;
    font-size: 0.57rem;
    letter-spacing: 0.11em;
  }

  .btn {
    min-height: 46px;
    padding: 0.72rem 1.2rem;
    font-size: 0.68rem;
  }

  .footbar {
    padding-top: 0.75rem;
    gap: 0.4rem;
    font-size: 0.56rem;
  }
}

/* Çok dar ekranlar (320–360 px): tek ekrana sığdır */
@media (max-width: 370px) {
  .page {
    padding: 0.8rem 0.95rem 0.8rem;
  }

  .topbar {
    padding-bottom: 0.6rem;
  }

  .hero {
    gap: 0.7rem;
    padding-block: 0.5rem;
  }

  .hero__title {
    font-size: clamp(2rem, 12.2vw, 2.5rem);
  }

  .hero__lede {
    font-size: 0.76rem;
    line-height: 1.58;
    max-width: 29ch;
  }

  .tags {
    gap: 0.3rem;
  }

  .tags li {
    padding: 0.32rem 0.58rem;
    font-size: 0.53rem;
    letter-spacing: 0.09em;
  }

  .cta {
    gap: 0.45rem;
  }

  .btn {
    min-height: 44px;
    padding: 0.64rem 1rem;
    font-size: 0.64rem;
  }

  .footbar {
    padding-top: 0.65rem;
    gap: 0.3rem;
    font-size: 0.52rem;
  }
}

/* Çok kısa ve dar ekranlar (örn. 320x568): yoğunluğu düşür */
@media (max-height: 620px) and (max-width: 480px) {
  .hero {
    padding-block: 0.4rem;
    gap: 0.6rem;
  }

  .hero__lede {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tags li:nth-child(n + 3) {
    display: none;
  }
}

/* ---------- yüksek kontrast / düşük hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  .status__dot {
    animation: none;
  }

  .btn {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: rgba(255, 255, 255, 0.94);
    --ink-dim: rgba(255, 255, 255, 0.82);
    --line: rgba(255, 255, 255, 0.42);
  }
}
