/* ═══════════════════════════════════════════════
   ZEM DESIGN — Premium CSS System
   Breakpoints:
     Mobile  : < 640px
     Tablet  : 640px – 1023px
     Desktop : ≥ 1024px
   ═══════════════════════════════════════════════ */

/* ── Tokens ────────────────────────────────────── */
:root {
  --bg:           #0d0118;
  --bg-2:         #130126;
  --purple:       #7f0dc8;
  --purple-soft:  rgba(127,13,200,0.08);
  --purple-mid:   rgba(127,13,200,0.22);
  --purple-edge:  rgba(127,13,200,0.35);
  --a1:           #a855f7;
  --a2:           #e879f9;
  --grad:         linear-gradient(120deg, var(--a1) 0%, var(--a2) 100%);
  --white:        #ffffff;
  --muted:        rgba(255,255,255,0.55);
  --card-bg:      rgba(127,13,200,0.08);
  --card-border:  rgba(127,13,200,0.28);

  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 80px; --sp-10: 96px;

  --r-sm:  10px; --r-md: 16px; --r-lg: 22px;
  --r-xl:  28px; --r-pill: 999px;

  --nav-h: 80px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-style: italic; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Layout ────────────────────────────────────── */
.container {
  width: min(1200px, 94%);
  margin-inline: auto;
}
.section { padding-block: var(--sp-10); }

/* ── Reveal ─────────────────────────────────────── */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}
.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(24px);
}
.fade-in.gorunur { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity:1; transform:none; transition:none; }
}

/* ── Card base ──────────────────────────────────── */
.card {
  border-radius: var(--r-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(127,13,200,.22);
}

/* ════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13,1,24,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(8,0,16,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-4);
}
.nav-logo img { height: 62px; width: auto; max-width: 160px; object-fit: contain; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
  transition: color .25s ease;
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  flex-shrink: 0;
  transition: background .25s ease;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
/* Hero Section - tam ekran arka plan */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('arkaplan.jpeg') center center / cover no-repeat;
  background-attachment: scroll;
  transform: none;
  opacity: 0.30;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(127,13,200,.5) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 85%, rgba(168,85,247,.3) 0%, transparent 60%);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-6);
  padding-block: var(--sp-9);
  text-align: center;
  justify-items: center;
  width: 100%;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 18px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  width: max-content;
}
.hero-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--a2);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  max-width: 620px;
  margin-inline: auto;
}
.hero h1 .gold {
  display: inline;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero > p {
  max-width: 700px;
  color: rgba(255,255,255,.72);
  font-size: .975rem;
  margin-inline: auto;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* Stats bar */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  max-width: 540px;
  margin-inline: auto;
}
.stat {
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat:last-child { border-right: none; }
.stat strong {
  display: block;
  font-size: 2rem;
  font-style: normal;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}
.stat span {
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
}
.brands { font-size: .78rem; color: rgba(255,255,255,.3); letter-spacing: .04em; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .03em;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold {
  background: var(--grad);
  color: var(--bg);
  box-shadow: 0 6px 24px rgba(168,85,247,.3);
}
.btn-gold:hover { box-shadow: 0 10px 32px rgba(168,85,247,.45); }
.btn-outline {
  border-color: rgba(255,255,255,.3);
  color: #fff;
  background: rgba(255,255,255,.04);
}
.btn-outline:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }

/* ════════════════════════════════════════════════
   SECTION TITLES
   ════════════════════════════════════════════════ */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.section-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-subtitle { color: var(--muted); font-size: .9rem; margin-bottom: var(--sp-5); }

/* ════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════ */
#hizmetler {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(127,13,200,.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(19,1,38,.5) 0%, var(--bg) 100%);
  border-top: 1px solid rgba(127,13,200,.15);
  border-bottom: 1px solid rgba(127,13,200,.15);
}
#hizmetler .section-title { text-align: center; }
#hizmetler .section-subtitle { text-align: center; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.service-card {
  padding: var(--sp-6) var(--sp-5);
  position: relative;
  overflow: hidden;
  background: rgba(127,13,200,.1);
  border: 1px solid rgba(127,13,200,.25);
  border-radius: var(--r-lg);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168,85,247,.5);
  box-shadow: 0 16px 40px rgba(127,13,200,.2);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(168,85,247,.15);
  border: 1px solid rgba(168,85,247,.3);
  display: grid; place-items: center;
  font-size: 1.2rem; margin-bottom: var(--sp-4);
  color: var(--a2);
}
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--sp-3);
  font-style: italic;
  color: #fff;
}
.service-card p { font-size: .875rem; color: var(--muted); line-height: 1.7; }

/* ════════════════════════════════════════════════
   PACKAGES
   ════════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.tab-btn {
  border-radius: var(--r-pill);
  border: 1.5px solid var(--purple-edge);
  background: transparent;
  color: var(--muted);
  padding: 9px 22px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-btn.aktif {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 4px 16px rgba(127,13,200,.4);
}
.paket-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  align-items: start;
}
.paket-grid.aktif { display: grid; }
.paket-kart {
  padding: var(--sp-6) var(--sp-5);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.paket-kart.featured {
  background: var(--purple-mid);
  border: 1.5px solid var(--purple);
  box-shadow: 0 0 40px rgba(127,13,200,.18);
}
.en-cok-etiketi {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: var(--bg);
  border-radius: var(--r-pill);
  font-size: .65rem; font-weight: 700;
  padding: 5px 16px;
  white-space: nowrap;
  letter-spacing: .08em;
}
.paket-kart h3 { font-size: 1rem; font-style: normal; font-weight: 700; letter-spacing: .08em; margin-bottom: var(--sp-1); }
.fiyat {
  font-style: normal; font-size: 2.1rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin: var(--sp-2) 0 var(--sp-5);
}
.ozellikler { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); flex: 1; }
.ozellikler li { font-size: .875rem; color: rgba(255,255,255,.82); padding-left: var(--sp-5); position: relative; }
.ozellikler li::before { content: "✦"; position: absolute; left: 0; color: var(--a2); font-size: .75rem; top: 2px; }
.hediye { color: var(--a2); font-weight: 600; }
.paket-actions { margin-top: auto; display: grid; gap: var(--sp-2); }
.paket-btn {
  display: block; text-align: center;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(168,85,247,.45);
  color: var(--a1); background: transparent;
  padding: 11px var(--sp-3); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  transition: all .25s ease; cursor: pointer;
}
.paket-btn:hover, .paket-btn.dolu {
  background: var(--grad); border-color: transparent; color: var(--bg);
  box-shadow: 0 4px 18px rgba(168,85,247,.3);
}
.paket-btn.teklif-btn { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.8); }
.paket-btn.teklif-btn:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.07); color: #fff; }

/* ════════════════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.portfolio-kart {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--purple-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.portfolio-kart:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,.45); }
.portfolio-media {
  display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: #1a0930;
}
.portfolio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portfolio-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; background: rgba(0,0,0,.45); font-weight: 600; font-size: .9rem;
  transition: opacity .3s ease;
}
.portfolio-media:hover img { transform: scale(1.06); }
.portfolio-media:hover .portfolio-overlay { opacity: 1; }
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; gap: var(--sp-2);
  background: radial-gradient(circle at 12% 18%, rgba(232,121,249,.18), transparent 50%),
              linear-gradient(135deg, #7f0dc8 0%, var(--bg) 100%);
  color: rgba(255,255,255,.85);
}
.placeholder i { font-size: 2rem; color: var(--a2); }
.portfolio-info { padding: var(--sp-5); background: rgba(127,13,200,.12); }
.etiket { color: var(--a2); font-size: .68rem; letter-spacing: .12em; margin-bottom: var(--sp-2); text-transform: uppercase; }
.portfolio-info h4 { font-style: normal; font-size: 1rem; margin-bottom: var(--sp-1); }
.portfolio-info p  { font-size: .8rem; color: var(--muted); margin-bottom: var(--sp-2); }
.incele { color: var(--a2); font-weight: 600; font-size: .88rem; }

/* ════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.about-grid > div > p { color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.8; margin-top: var(--sp-4); }
.counter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.counter-box {
  padding: var(--sp-6) var(--sp-4); text-align: center;
  border-radius: var(--r-md);
  background: rgba(127,13,200,.14);
  border: 1px solid var(--purple-edge);
  transition: transform .3s ease;
}
.counter-box:hover { transform: translateY(-4px); }
.counter-num {
  font-style: normal; font-size: 2.1rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.counter-label { font-size: .75rem; color: var(--muted); margin-top: var(--sp-2); letter-spacing: .05em; }

/* ════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.contact-grid-minimal { max-width: 760px; margin-inline: auto; }
.contact-card-minimal {
  border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-5); text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(145deg, rgba(19,1,38,.97), rgba(10,0,20,.93));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-3); min-height: 180px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.contact-card-minimal:hover { transform: translateY(-6px); border-color: rgba(232,121,249,.4); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.contact-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(232,121,249,.35);
  color: var(--a2); font-size: 1.3rem;
  background: rgba(232,121,249,.07);
}
.contact-card-minimal h3 { font-style: normal; font-size: 1rem; color: var(--white); }

/* ════════════════════════════════════════════════
   OFFER FORM
   ════════════════════════════════════════════════ */
.offer-form {
  border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.1);
  background: rgba(127,13,200,.1); padding: var(--sp-7) var(--sp-6);
}
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.offer-field { display: grid; gap: var(--sp-2); }
.offer-field span { font-size: .82rem; color: rgba(255,255,255,.85); font-weight: 500; }
.offer-field input, .offer-field select, .offer-field textarea {
  width: 100%; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(8,0,18,.65); color: #fff;
  padding: 12px 14px; font: inherit; font-size: .9rem; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
}
.offer-field input:focus, .offer-field select:focus, .offer-field textarea:focus {
  border-color: rgba(232,121,249,.65);
  box-shadow: 0 0 0 3px rgba(232,121,249,.14);
}
.offer-field select option { background: #1a0930; }
.offer-field-full { margin-top: var(--sp-4); }
.offer-submit { margin-top: var(--sp-5); min-width: 200px; }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  margin-top: var(--sp-7); padding: var(--sp-7) var(--sp-5) var(--sp-4);
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(8,0,18,.95));
  border-top: 1px solid rgba(127,13,200,.25);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-5); align-items: center; }
.footer-left img { height: 68px; }
.footer-mid { text-align: center; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.footer-right { display: flex; justify-content: flex-end; gap: var(--sp-3); }
.footer-right a {
  color: var(--a2); font-size: 1.2rem; width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center; border: 1px solid rgba(232,121,249,.28);
  transition: transform .3s ease, background .3s ease;
}
.footer-right a:hover { transform: translateY(-3px); background: rgba(232,121,249,.12); }
.footer-bottom {
  margin-top: var(--sp-5); padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center; color: rgba(255,255,255,.28); font-size: .75rem;
}

/* ════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════ */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); display: none; }
.lightbox.active { display: block; }
.lightbox img {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  max-width: 88vw; max-height: 88vh; object-fit: contain;
  border-radius: var(--r-md); box-shadow: 0 32px 80px rgba(0,0,0,.55);
}
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; border-radius: var(--r-sm); transition: background .25s ease; display: inline-grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 20px; right: 24px; font-size: 1.2rem; width: 44px; height: 44px; }
.lb-prev  { left: 20px;  top: 50%; transform: translateY(-50%); font-size: 1.8rem; width: 48px; height: 48px; }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; width: 48px; height: 48px; }
.lb-counter { position: absolute; right: 24px; bottom: 18px; color: var(--muted); font-size: .85rem; }


/* ════════════════════════════════════════════════
   HERO ANİMASYONLARI
   ════════════════════════════════════════════════ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroPillIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes floatBg {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-8px) scale(1.01); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.18; }
  50%       { opacity: 0.28; }
}

.hero-pill       { animation: heroPillIn .6s cubic-bezier(.22,1,.36,1) both; }
.hero h1         { animation: heroFadeUp .75s .15s cubic-bezier(.22,1,.36,1) both; }
.hero-buttons    { animation: heroFadeUp .75s .3s  cubic-bezier(.22,1,.36,1) both; }
.hero .stats     { animation: heroFadeUp .75s .45s cubic-bezier(.22,1,.36,1) both; }
.hero .brands    { animation: heroFadeUp .75s .55s cubic-bezier(.22,1,.36,1) both; }
/* hero-bg sabit - overlay ile yönetiliyor */

/* ════════════════════════════════════════════════
   TABLET  640px – 1023px
   ════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(13,1,24,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
  }
  .nav-menu.show { display: flex; }

  .nav-link {
    display: block;
    padding: 11px 14px;
    border-radius: var(--r-sm);
    font-size: .92rem;
  }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: rgba(127,13,200,.18); color: #fff; }

  .section { padding-block: var(--sp-8); }
  .hero-section { min-height: 100vh; }
  .hero { gap: var(--sp-5); padding-block: var(--sp-7); }
  .hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }

  /* Services: 2 col */
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

  /* Tabs scrollable */
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: var(--sp-2);
  }
  .tabs::-webkit-scrollbar { display: none; }

  /* Packages: 2 col */
  .paket-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

  .about-grid { grid-template-columns: 1fr; gap: var(--sp-6); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo social" "copy copy";
    row-gap: var(--sp-4);
  }
  .footer-left  { grid-area: logo; }
  .footer-right { grid-area: social; }
  .footer-mid   { grid-area: copy; text-align: center; white-space: normal; }
}

/* ════════════════════════════════════════════════
   MOBILE  < 640px
   ════════════════════════════════════════════════ */
@media (max-width: 639px) {

  :root { --nav-h: 68px; }

  .nav-logo img { height: 44px; max-width: 120px; }

  .section { padding-block: var(--sp-7); }
  .hero-section {
    min-height: 100svh;
    min-height: -webkit-fill-available;
  }
  .hero-bg {
    background-size: cover;
    background-position: center top;
  }
  .hero { gap: var(--sp-4); padding-block: var(--sp-6); }
  .hero h1 { font-size: clamp(1.25rem, 5.5vw, 1.7rem); }
  .hero > p { font-size: .875rem; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .btn { padding: 13px 20px; }

  /* Stats: keep 3 col, tighter */
  .stats { max-width: 100%; }
  .stat { padding: var(--sp-4) var(--sp-3); }
  .stat strong { font-size: 1.5rem; }
  .stat span   { font-size: .58rem; }

  /* Services: 2 col mobile */
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .service-card { padding: var(--sp-4); }
  .service-card h3 { font-size: .9rem; }
  .service-card p  { font-size: .8rem; }

  /* Packages: 1 col centered */
  .paket-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .paket-kart { padding: var(--sp-5) var(--sp-4); }
  .fiyat { font-size: 1.7rem; }

  /* Tabs scrollable */
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: var(--sp-2); gap: var(--sp-2);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { font-size: .75rem; padding: 8px 16px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid { gap: var(--sp-5); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .counter-box { padding: var(--sp-4) var(--sp-3); }
  .counter-num { font-size: 1.6rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .contact-card-minimal { min-height: 140px; padding: var(--sp-5); }

  /* Form */
  .offer-form { padding: var(--sp-5) var(--sp-4); }
  .offer-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .offer-submit { width: 100%; }

  .section-title { font-size: clamp(1.4rem, 7vw, 2rem); }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "social" "copy";
    text-align: center; gap: var(--sp-4);
  }
  .footer-left  { display: flex; justify-content: center; }
  .footer-right { justify-content: center; }
  .footer-mid   { white-space: normal; }
  .footer-left img { height: 56px; }

  /* Lightbox */
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
  .lb-counter { right: 12px; bottom: 10px; }
}

/* ════════════════════════════════════════════════
   TINY SCREENS  < 380px
   ════════════════════════════════════════════════ */
@media (max-width: 379px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stat strong { font-size: 1.2rem; }
  .stat span   { font-size: .52rem; letter-spacing: .06em; }
}

/* ════════════════════════════════════════════════
   MÜŞTERİ YORUMLARI SLIDER
   ════════════════════════════════════════════════ */
#yorumlar { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(127,13,200,.1) 0%, transparent 70%); }

.reviews-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 56px;
}
.reviews-track {
  display: flex;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 100%;
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid rgba(168,85,247,.25);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-stars { font-size: 1.3rem; color: #f7d67f; letter-spacing: 2px; }
.review-text {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  font-style: italic;
}
.review-author { display: flex; flex-direction: column; gap: 4px; }
.review-author strong { font-size: .95rem; color: #fff; }
.review-author span  { font-size: .8rem; color: rgba(255,255,255,.45); }

.reviews-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.review-prev, .review-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .25s ease;
  flex-shrink: 0;
}
.review-prev:hover, .review-next:hover {
  background: rgba(168,85,247,.25);
  border-color: rgba(168,85,247,.5);
}
.reviews-dots { display: flex; gap: 8px; align-items: center; }
.review-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}
.review-dot.active {
  background: var(--purple);
  transform: scale(1.3);
  width: 20px;
  border-radius: 4px;
}

/* ── Form mesajları ── */
.form-success, .form-error {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: .95rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.form-success {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.35);
  color: #86efac;
}
.form-error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.35);
  color: #fca5a5;
}
.hidden { display: none !important; }

/* ── Offer submit loading ── */
.offer-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Scroll reveal section ── */
section.show { opacity: 1; }

@media (max-width: 639px) {
  .review-card { padding: 24px 18px; }
  .review-text { font-size: .9rem; }
}

@media print {
  .navbar, .hero-bg, .lightbox, .hamburger { display: none !important; }
  body { background: #fff; color: #000; }
  .hero-section { min-height: auto; padding: 20px 0; }
}

/* ── Review section eklentisi (admin'den gelen yorumlar) ── */
.review-name { font-size: .95rem; font-weight: 700; color: #fff; }
.review-role { font-size: .8rem; color: rgba(255,255,255,.45); }
