/* Web Tasarım Erzincan — Profesyonel Sektörel Demo Motoru */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --p: #0369a1;
  --a: #fbbf24;
  --bg: #f4f8fc;
  --ink: #0c4a6e;
  --muted: #64748b;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --font: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --display: "Manrope", "Plus Jakarta Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--p) 10%, transparent), transparent 36%),
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--a) 12%, transparent), transparent 30%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

/* Sticky demo chrome */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.15);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  min-width: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--p), var(--a));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--p) 35%, transparent);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 8px;
}
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.is-active {
  color: var(--p);
  background: color-mix(in srgb, var(--p) 10%, #fff);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 6px 8px; background: var(--ink); }
.top-cta { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  background: var(--p);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--p) 32%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--p);
  border: 1.5px solid color-mix(in srgb, var(--p) 30%, #fff);
  box-shadow: none;
}
.btn-accent { background: var(--a); color: #111; box-shadow: 0 12px 28px color-mix(in srgb, var(--a) 40%, transparent); }
.btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: none;
}

/* Hero slider — Ken Burns + progress + metin animasyonu */
.slider {
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 680px);
  background: #0b1220;
}
.slider-progress {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 5;
  background: rgba(255,255,255,.15);
}
.slider-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--a), #fff);
}
.slider-progress span.is-run {
  animation: demo-progress linear forwards;
}
@keyframes demo-progress {
  from { width: 0; }
  to { width: 100%; }
}
.slides { display: flex; transition: transform .7s cubic-bezier(.22,1,.36,1); will-change: transform; }
.slide { min-width: 100%; position: relative; min-height: min(78vh, 680px); overflow: hidden; }
.slide img {
  width: 100%;
  height: min(78vh, 680px);
  object-fit: cover;
  filter: brightness(.58) saturate(1.08);
  transform: scale(1.08);
  transition: transform 6.5s ease-out;
}
.slide.is-active img {
  transform: scale(1.18);
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5,16,28,.82) 0%, rgba(5,16,28,.4) 52%, rgba(5,16,28,.18) 100%),
    linear-gradient(180deg, transparent 35%, rgba(5,16,28,.5) 100%);
}
.slide-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: 56px 0 88px;
  color: #fff;
}
.slide-copy .eyebrow,
.slide-copy h1,
.slide-copy p,
.slide-copy .hero-actions {
  opacity: 0;
  transform: translateY(22px);
}
.slide.is-active .eyebrow,
.slide.is-active h1,
.slide.is-active p,
.slide.is-active .hero-actions {
  animation: demo-rise .7s cubic-bezier(.22,1,.36,1) forwards;
}
.slide.is-active .eyebrow { animation-delay: .08s; }
.slide.is-active h1 { animation-delay: .18s; }
.slide.is-active p { animation-delay: .28s; }
.slide.is-active .hero-actions { animation-delay: .38s; }
@keyframes demo-rise {
  to { opacity: 1; transform: none; }
}
.slide-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--a);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.slide-copy .eyebrow i {
  animation: demo-spin-soft 4s linear infinite;
}
@keyframes demo-spin-soft {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(12deg) scale(1.1); }
}
.slide-copy h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  max-width: 14ch;
  font-weight: 800;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.slide-copy p {
  margin: 0 0 26px;
  max-width: 46ch;
  opacity: .94;
  font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slider-nav {
  position: absolute;
  inset: auto 18px 22px auto;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.slider-nav button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.94);
  cursor: pointer;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  transition: transform .2s ease, background .2s ease;
}
.slider-nav button:hover {
  transform: scale(1.08);
  background: #fff;
}
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.slider-dots button.is-on { background: #fff; width: 28px; }

/* Booking / quick strip */
.quick-strip {
  margin-top: -36px;
  position: relative;
  z-index: 4;
}
.quick-strip__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.quick-strip label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.quick-strip input, .quick-strip select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: #f8fafc;
}

section { padding: 64px 0; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 10px;
}
.section-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  letter-spacing: -.03em;
  font-weight: 800;
}
.section-lead { margin: 0 0 28px; color: var(--muted); max-width: 62ch; font-size: 1.02rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--p) 12%, #fff);
  color: var(--p);
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
}
.card .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 60%);
  opacity: .7;
}
.card:hover .icon {
  animation: demo-icon-pop .45s ease;
}
.demo-icon-live {
  animation: demo-icon-float 2.8s ease-in-out infinite;
}
@keyframes demo-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes demo-icon-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.14) rotate(-4deg); }
  100% { transform: scale(1); }
}
.demo-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--d, 0ms);
}
.demo-reveal.is-in {
  opacity: 1;
  transform: none;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: -.02em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--card);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--p);
  letter-spacing: -.03em;
}
.stat span { color: var(--muted); font-size: 0.84rem; font-weight: 700; }

/* Fleet / product cards */
.fleet-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.fleet-card__media {
  position: relative;
  aspect-ratio: 16/11;
  background: #0b1220;
  overflow: hidden;
}
.fleet-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fleet-card:hover .fleet-card__media img { transform: scale(1.06); }
.fleet-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,.94);
  color: var(--p);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
}
.fleet-card__body { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; }
.fleet-card__body h3 { margin: 0; font-size: 1.05rem; font-family: var(--display); }
.fleet-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}
.fleet-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 8px;
}
.fleet-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}
.fleet-card__rate {
  font-weight: 800;
  color: var(--p);
  font-size: 0.95rem;
}
.fleet-card__rate small { display: block; font-weight: 650; color: var(--muted); font-size: 0.72rem; }

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0b1220;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.process__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
}
.process__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--p), var(--a));
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--p) 35%, transparent);
}
.process__item:hover .process__num {
  animation: demo-icon-pop .45s ease;
}
.process__item h3 { margin: 0 0 6px; font-size: 1rem; }
.process__item p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* Testimonials */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.quote-card__stars { color: #f59e0b; margin-bottom: 10px; letter-spacing: 2px; }
.quote-card p { margin: 0 0 16px; color: var(--ink); font-weight: 600; }
.quote-card__who { display: flex; align-items: center; gap: 12px; }
.quote-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--p) 14%, #fff);
  color: var(--p);
  font-weight: 800;
}
.quote-card__who strong { display: block; font-size: 0.92rem; }
.quote-card__who span { color: var(--muted); font-size: 0.8rem; }

.cta-band {
  background: linear-gradient(135deg, color-mix(in srgb, var(--p) 92%, #000), color-mix(in srgb, var(--p) 70%, var(--a)));
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.4rem, 2.5vw, 2rem); }
.cta-band p { margin: 0; opacity: .92; max-width: 48ch; }

.contact-box { display: grid; gap: 12px; }
.contact-box a { font-weight: 700; color: var(--p); }
form.demo-form { display: grid; gap: 12px; }
form.demo-form input,
form.demo-form textarea,
form.demo-form select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}
form.demo-form textarea { min-height: 120px; resize: vertical; }
.note { font-size: 0.82rem; color: var(--muted); }

.footer {
  margin-top: 10px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  background: color-mix(in srgb, var(--card) 70%, var(--bg));
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.footer strong { color: var(--ink); font-size: 1rem; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #22c55e;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.4);
}

/* Themes */
.theme-legal .slide-copy h1,
.theme-hotel .slide-copy h1,
.theme-photo .slide-copy h1,
.theme-restaurant .section-title { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.theme-taxi .btn, .theme-fitness .btn-accent { background: var(--a); color: #111; }
.theme-government .topbar { border-top: 3px solid var(--a); }
.theme-beauty .brand-mark,
.theme-salon .brand-mark,
.theme-florist .brand-mark,
.theme-event .brand-mark { border-radius: 999px; }
.theme-construction .btn { border-radius: 12px; }
.theme-automotive .card .icon { background: #e0f2fe; }
.theme-medical .card .icon { background: #ccfbf1; }
.theme-fitness { background: #0b0f16; color: #e2e8f0; }
.theme-fitness .topbar { background: rgba(15,23,42,.92); color: #fff; }
.theme-fitness .nav a { color: #94a3b8; }
.theme-fitness .brand, .theme-fitness .section-title, .theme-fitness .card h3 { color: #fff; }
.theme-fitness .card { background: #111827; border-color: #1f2937; }
.theme-fitness .card p, .theme-fitness .section-lead { color: #94a3b8; }
.theme-fitness .fleet-card, .theme-fitness .process__item, .theme-fitness .quote-card, .theme-fitness .stat {
  background: #111827; border-color: #1f2937; color: #e2e8f0;
}
.theme-fitness .fleet-card__meta span { background: #1f2937; color: #94a3b8; }
.theme-photo .gallery-item { aspect-ratio: 1; }

.catalog-hero { padding: 48px 0 18px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding-bottom: 56px; }
.catalog-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 320px; transition: transform .2s;
}
.catalog-card:hover { transform: translateY(-3px); }
.catalog-card .thumb { aspect-ratio: 16/10; background: #0b1220; overflow: hidden; }
.catalog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.catalog-card h2 { margin: 0; font-size: 1.05rem; }
.catalog-card p { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 16px; right: 16px; top: 72px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .grid-3, .grid-2, .grid-4, .stats, .process { grid-template-columns: 1fr 1fr; }
  .quick-strip__card { grid-template-columns: 1fr 1fr; }
  .top-cta .btn-outline { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4, .stats, .process { grid-template-columns: 1fr; }
  .quick-strip__card { grid-template-columns: 1fr; }
  .slide-copy { padding: 36px 0 72px; }
  .slide-copy h1 { max-width: 100%; }
}

.wa-float {
  animation: demo-wa-pulse 2.4s ease-in-out infinite;
}
@keyframes demo-wa-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 14px 30px rgba(34, 197, 94, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 18px 36px rgba(34, 197, 94, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .demo-reveal { opacity: 1; transform: none; }
  .slide img { transform: none !important; }
  .slide-copy .eyebrow,
  .slide-copy h1,
  .slide-copy p,
  .slide-copy .hero-actions {
    opacity: 1 !important;
    transform: none !important;
  }
}
