/* ============================================================
   ENK Danışmanlık
   Krem kağıt · siyah · lime fosforlu vurgu · mor aksan
   Sosyal medya kimliğinden türetilmiş tasarım sistemi
   ============================================================ */

:root {
  --paper: #F1ECE2;
  --paper-soft: #F7F3EB;
  --ink: #121212;
  --night: #0B0B0D;
  --lime: #C6F221;
  --purple: #6B3FE4;
  --purple-soft: #8B63F0;
  --yellow: #F2B705;
  --gray: #4C4A45;

  --font-display: "Anton", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-hand: "Caveat", cursive;
  --font-neon: "Tilt Neon", sans-serif;

  --radius: 16px;
  /* hafif kağıt dokusu */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.texture { background-image: var(--noise); }
.texture-dark { background-image: var(--noise); }

/* ---------- Tipografi ---------- */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}

.section-sub {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--gray);
  max-width: 560px;
}

.on-dark { color: #fff; }
.on-dark-sub { color: rgba(255, 255, 255, 0.72); }

/* fosforlu kalem vurgusu */
.hl {
  background: var(--lime);
  color: var(--ink);
  padding: 0.04em 0.18em;
  border-radius: 10px 16px 8px 14px / 14px 8px 16px 10px;
  display: inline-block;
  transform: rotate(-1.2deg);
  box-decoration-break: clone;
}

/* ---------- Eyebrow ---------- */

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--purple);
}

.eyebrow-lime { color: var(--lime); }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(18, 18, 18, 0.18); }
.btn:active { transform: translateY(1px); box-shadow: none; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { border-color: #fff; box-shadow: 0 6px 0 rgba(255, 255, 255, 0.12); }
.btn-small { padding: 10px 22px; font-size: 0.85rem; }
.btn-big { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 236, 226, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.12);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -5px;
  height: 4px;
  background: var(--lime);
  border-radius: 2px;
  transition: right 0.2s ease;
}

.nav-links a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: var(--paper);
  padding: 96px 0 90px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
}

.hero-underline {
  width: min(320px, 60%);
  margin: 18px auto 0;
  color: var(--purple);
}

.hero-underline svg { width: 100%; height: 12px; }

.hero-sub {
  margin: 26px auto 0;
  font-size: 1.12rem;
  color: var(--gray);
  max-width: 600px;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-note {
  margin-top: 40px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.7rem;
  transform: rotate(-2deg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.note-heart { width: 26px; color: #E23D3D; }

/* doodle'lar */

.doodle {
  position: absolute;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

.doodle svg { width: 100%; height: auto; }

.doodle-star-y { width: 74px;  top: 14%; left: 7%; }
.doodle-crown  { width: 92px;  top: 12%; right: 7%; }
.doodle-arrow  { width: 96px;  bottom: 16%; left: 9%; }
.doodle-zigzag { width: 92px;  bottom: 14%; right: 8%; }

/* ---------- Pillars ---------- */

.pillars {
  background-color: var(--paper);
  border-top: 1px solid rgba(18, 18, 18, 0.1);
  padding: 40px 0;
}

.pillars-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

.pillar svg { width: 42px; height: 42px; flex-shrink: 0; }

.stroke-lime { stroke: #86A800; }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
  padding: 13px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Bölümler ---------- */

.section { padding: 100px 0; }

.section-dark { background-color: var(--ink); }
.section-purple { background-color: var(--purple); }
.section-night { background-color: var(--night); position: relative; overflow: hidden; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Hizmet kartları (koyu zemin) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #1B1B1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--lime);
}

.card h3 { color: #fff; margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-media img,
.card-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-media img,
.card:hover .card-media svg { transform: scale(1.05); }

.card-body { padding: 24px 26px 28px; }

.tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(198, 242, 33, 0.45);
  color: var(--lime);
}

/* ---------- Süreç ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.step { position: relative; }

.step:nth-child(1) { z-index: 4; }
.step:nth-child(2) { z-index: 3; }
.step:nth-child(3) { z-index: 2; }
.step:nth-child(4) { z-index: 1; }

.step-inner {
  position: relative;
  height: 100%;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 40px 22px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:nth-child(1) .step-inner { transform: rotate(-1.6deg); }
.step:nth-child(2) .step-inner { transform: rotate(1.4deg); background: var(--lime); }
.step:nth-child(3) .step-inner { transform: rotate(-1.2deg); }
.step:nth-child(4) .step-inner { transform: rotate(1.8deg); background: var(--purple); }

.step:nth-child(2) .step-inner p { color: rgba(18, 18, 18, 0.75); }
.step:nth-child(4) .step-inner h3 { color: #fff; }
.step:nth-child(4) .step-inner p { color: rgba(255, 255, 255, 0.88); }

.step:hover .step-inner {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 10px 12px 0 var(--ink);
}

.step-no {
  position: absolute;
  top: -22px;
  left: -14px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.35rem;
  border-radius: 50%;
  border: 3px solid var(--paper);
  transform: rotate(-8deg);
}

.step:nth-child(2) .step-no { background: var(--purple); color: #fff; transform: rotate(8deg); }
.step:nth-child(4) .step-no { background: var(--lime); color: var(--ink); transform: rotate(8deg); }

.step-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
}

.step-inner h3 { margin-bottom: 8px; }
.step-inner p { font-size: 0.95rem; color: var(--gray); }

.step-arrow {
  position: absolute;
  top: 32%;
  right: -58px;
  width: 86px;
  z-index: 3;
  pointer-events: none;
}

.step:nth-child(2) .step-arrow { transform: scaleY(-1); }

.steps-hand {
  margin-top: 42px;
  text-align: center;
}

.steps-hand span {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple);
  transform: rotate(-1.5deg);
}

/* ---------- Instagram şeridi ---------- */

.insta {
  background: var(--paper-soft);
  background-image: var(--noise);
  border-top: 1px solid rgba(18, 18, 18, 0.1);
  padding: 80px 0 90px;
  overflow: hidden;
}

.insta-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.insta-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 14px 24px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* fosforlu kalem vurgusu hissinde özel scrollbar */
@supports not selector(::-webkit-scrollbar) {
  /* Firefox: scrollbar-color, webkit stillerini ezmesin diye sadece burada */
  .insta-row { scrollbar-color: var(--lime) rgba(18, 18, 18, 0.08); }
}

.insta-row::-webkit-scrollbar { height: 14px; }

.insta-row::-webkit-scrollbar-track {
  background: rgba(18, 18, 18, 0.08);
  border-radius: 999px;
  margin: 0 24px;
}

.insta-row::-webkit-scrollbar-thumb {
  background: var(--lime);
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.insta-row::-webkit-scrollbar-thumb:hover,
.insta-row::-webkit-scrollbar-thumb:active {
  background: var(--purple);
}

.insta-row a {
  /* ekranla orantılı genişlik: şerit her ekran boyutunda taşar, kaydırma hep aktif kalır */
  flex: 0 0 clamp(240px, 16vw, 420px);
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18, 18, 18, 0.16);
  transform: rotate(-1.6deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insta-row a:nth-child(even) { transform: rotate(1.6deg); }

.insta-row a:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 16px 34px rgba(18, 18, 18, 0.24);
}

.insta-row img { width: 100%; display: block; }

/* ---------- Neden ENK (mor) ---------- */

.section-purple {
  /* köşelerde hafif noktalı doku — sosyal medya postlarındaki halftone hissi */
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

.neden-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.section-purple .section-sub { color: rgba(255, 255, 255, 0.78); }

.neden-doodle { width: 130px; margin-top: 36px; }

.neden-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.neden-item {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform 0.2s ease;
}

.neden-item:hover { transform: translateX(6px); }

.neden-no {
  color: var(--purple);
  font-size: 1.3rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.neden-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.neden-item p { font-size: 0.95rem; color: var(--gray); }

/* ---------- İletişim (neon) ---------- */

.section-night::before {
  /* tuğla duvar hissi için çok hafif vinyet */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 30%, rgba(107, 63, 228, 0.14), transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
}

.cta-bar {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 22px;
  border-radius: 6px;
  transform: rotate(-1.5deg);
  margin-bottom: 34px;
}

.neon-title {
  font-family: var(--font-neon);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.neon-purple {
  color: #D4BCFF;
  text-shadow:
    0 0 8px rgba(170, 120, 255, 0.9),
    0 0 24px rgba(124, 61, 255, 0.75),
    0 0 60px rgba(124, 61, 255, 0.5);
}

.neon-yellow {
  color: #FFF06B;
  text-shadow:
    0 0 8px rgba(255, 224, 70, 0.9),
    0 0 24px rgba(255, 200, 0, 0.7),
    0 0 60px rgba(255, 200, 0, 0.45);
}

.contact-list {
  list-style: none;
  margin: 44px auto 0;
  display: grid;
  gap: 14px;
  justify-content: center;
  justify-items: start;
  text-align: left;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.contact-list a:hover { color: var(--lime); }

.c-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--purple-soft);
  color: #D4BCFF;
  box-shadow: 0 0 14px rgba(124, 61, 255, 0.35);
  flex-shrink: 0;
}

.c-ico svg { width: 20px; height: 20px; }

.cta-buttons {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: #EDEAE2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 24px;
}

.logo-light .logo-img { height: 60px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand p { margin-top: 12px; font-size: 0.95rem; opacity: 0.7; }

.footer-links, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a, .footer-social a {
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.footer-links a:hover, .footer-social a:hover {
  opacity: 1;
  color: var(--lime);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.85rem;
  opacity: 0.6;
  text-align: center;
}

/* ---------- Animasyonlar ---------- */

.pop {
  opacity: 0;
  animation: pop 0.5s cubic-bezier(0.2, 1.2, 0.4, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes pop {
  0%   { opacity: 0; transform: translateY(18px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.float      { animation: pop 0.5s cubic-bezier(0.2,1.2,0.4,1) forwards var(--d, 0s), floaty 6s ease-in-out infinite calc(var(--d, 0s) + 0.6s); }
.float-slow { animation: pop 0.5s cubic-bezier(0.2,1.2,0.4,1) forwards var(--d, 0s), floaty 8s ease-in-out infinite calc(var(--d, 0s) + 0.6s); }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.card.visible, .step.visible, .neden-item.visible {
  transition: opacity 0.55s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pop, .float, .float-slow { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step-arrow { display: none; }
  .pillars-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .neden-grid { grid-template-columns: 1fr; gap: 36px; }
  .doodle-star-y { width: 54px; }
  .doodle-crown { width: 68px; }
}

@media (max-width: 680px) {
  .section { padding: 70px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    display: none;
  }

  .nav-links.open { display: flex; }

  .hero { padding: 64px 0 72px; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pillars-inner { grid-template-columns: 1fr 1fr; }
  .pillar { justify-content: flex-start; font-size: 0.85rem; }
  .pillar svg { width: 34px; height: 34px; }

  .doodle-arrow, .doodle-zigzag { display: none; }
  .doodle-star-y { top: 5%; left: 4%; }
  .doodle-crown { top: 4%; right: 4%; width: 56px; }

  .contact-list a { font-size: 0.95rem; }

  .footer-inner { flex-direction: column; }
}
