/* Umay Yazılım — Beyaz / Cam Teması */
:root {
  --bg: #f4f7ff;
  --text: #0d1422;
  --text-muted: rgba(13, 20, 34, 0.6);
  --text-dim: rgba(13, 20, 34, 0.38);
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-soft: rgba(37, 99, 235, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-rim: rgba(180, 205, 255, 0.45);
  --glass-blur: 32px;
  --radius-xl: 1.6rem;
  --radius-lg: 1.2rem;
  --radius-md: 0.9rem;
  --shadow-panel:
    0 2px 0  rgba(255,255,255,0.92) inset,
    0 -1px 0 rgba(180,205,255,0.28) inset,
    0 8px 40px rgba(60, 100, 200, 0.1),
    0 2px 8px  rgba(60, 100, 200, 0.07);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-content: 60rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

/* ── Arka plan: soft renkli balonlar ─── */
.bg-flow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-flow__mesh {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 72% 52% at 15% 32%, rgba(147, 197, 253, 0.72), transparent 52%),
    radial-gradient(ellipse 60% 48% at 82% 60%, rgba(196, 181, 253, 0.65), transparent 48%),
    radial-gradient(ellipse 52% 45% at 52% 86%, rgba(110, 231, 200, 0.55), transparent 44%),
    radial-gradient(ellipse 48% 38% at 32% 70%, rgba(253, 186, 186, 0.42), transparent 42%),
    radial-gradient(ellipse 40% 34% at 68% 18%, rgba(253, 230, 138, 0.38), transparent 40%),
    linear-gradient(155deg, #eef3ff 0%, #f8f4ff 50%, #eff9ff 100%);
  animation: meshDrift 11s ease-in-out infinite alternate;
  will-change: transform, filter;
}

.bg-flow__mesh-2 {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse 55% 42% at 62% 28%, rgba(147, 197, 253, 0.35), transparent 50%),
    radial-gradient(ellipse 48% 45% at 26% 74%, rgba(196, 181, 253, 0.3), transparent 45%);
  animation: meshDrift2 7.5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes meshDrift {
  0%   { transform: translate(0,   0)    scale(1);    filter: hue-rotate(0deg)  brightness(1);    }
  33%  { transform: translate(2%,  -3%)  scale(1.04); filter: hue-rotate(10deg) brightness(1.03); }
  66%  { transform: translate(-2%, 2%)   scale(1.02); filter: hue-rotate(22deg) brightness(0.98); }
  100% { transform: translate(3%,  -1%)  scale(1.06); filter: hue-rotate(32deg) brightness(1.04); }
}
@keyframes meshDrift2 {
  0%   { transform: translate(0,   0)   rotate(0deg); }
  50%  { transform: translate(-3%, 2%)  rotate(3deg); }
  100% { transform: translate(3%,  -2%) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-flow__mesh, .bg-flow__mesh-2 { animation: none; }
}

.bg-flow__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  mix-blend-mode: multiply; /* karanlık çizgiler beyaz üstünde görünür */
}

/* ── Gerçek cam efekti (iOS/macOS tarzı) ─── */
.glass-panel {
  position: relative;
  isolation: isolate;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(190%) brightness(1.06);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(190%) brightness(1.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
  outline: 1px solid var(--glass-rim);
  outline-offset: 0;
  overflow: hidden;
}

/* Üstten gelen speküler beyaz ışık */
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    175deg,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.25) 18%,
    rgba(255,255,255,0)    45%
  );
  pointer-events: none;
  z-index: 2;
}

/* Köşegen renk yansıması */
.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(220, 235, 255, 0.18) 0%,
    transparent            45%,
    rgba(200, 220, 255, 0.10) 100%
  );
  pointer-events: none;
  z-index: 2;
}

@supports not (backdrop-filter: blur(1px)) {
  .glass-panel { background: rgba(245, 248, 255, 0.97); }
}

/* ── Hero ─── */
.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem 2rem;
}

.hero-card {
  width: 100%;
  max-width: min(92vw, 740px);
  padding: clamp(1.85rem, 4.5vw, 2.85rem) clamp(1.5rem, 5vw, 3.25rem);
  text-align: center;
}

.hero-card__brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-card__logo {
  max-width: min(210px, 58vw);
  height: auto;
  vertical-align: middle;
  object-fit: contain;
}

.hero-card__eyebrow {
  margin: 0 0 0.4rem;
  font-size: clamp(0.7rem, 1.7vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.hero-card__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.9rem, 5.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-card__tagline {
  margin: 0 auto 1.85rem;
  max-width: 40ch;
  font-size: clamp(0.97rem, 2.5vw, 1.08rem);
  color: var(--text-muted);
}

.hero-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.75rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25) inset,
    0 4px 18px rgba(37,99,235,0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.hero-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) inset, 0 6px 26px rgba(37,99,235,0.5);
  filter: brightness(1.08);
}
.hero-card__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-card__cta:hover { transform: none; }
  .hero-card__title {
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
  }
}

/* ── Sayfa içeriği ─── */
#icerik {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(1.25rem, 3.5vw, 2.5rem) 1rem clamp(1.75rem, 5vw, 3rem);
}

.section__panel {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.section__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.3rem, 3.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.section__lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  max-width: 58ch;
  line-height: 1.72;
}

/* ── Hizmet listesi ─── */
.service-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 40rem) {
  .service-list { grid-template-columns: repeat(2, 1fr); }
}

.service-list__item {
  position: relative;
  padding: 1.05rem 1.15rem 1.05rem 2.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(200, 215, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.95rem;
  line-height: 1.52;
  box-shadow: 0 1px 4px rgba(60,100,200,0.07);
  transition: box-shadow 0.18s ease, background 0.18s ease;
}
.service-list__item:hover {
  background: rgba(255,255,255,0.75);
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}

.service-list__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.22rem;
  color: var(--text);
}

.service-list__item::before {
  content: "";
  position: absolute;
  left: 0.92rem;
  top: 1.18rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 8px var(--accent-soft);
}

/* ── Referans grid ─── */
.ref-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 34rem) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 54rem) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }

.ref-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(200, 215, 255, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 4px 20px rgba(60,100,200,0.08);
  outline: 1px solid rgba(180,205,255,0.3);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ref-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 12px 36px rgba(37,99,235,0.14),
    0 4px 12px rgba(37,99,235,0.08);
  border-color: rgba(37, 99, 235, 0.3);
}
@media (prefers-reduced-motion: reduce) { .ref-card:hover { transform: none; } }

/* Logo alanı */
.ref-card__logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.5rem;
  padding: 1.1rem;
  background: rgba(248, 251, 255, 0.75);
  border-bottom: 1px solid rgba(200, 215, 255, 0.4);
  overflow: hidden;
}

.ref-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 15rem;
  max-height: 7.2rem;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}
.ref-card:hover .ref-card__logo { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .ref-card:hover .ref-card__logo { transform: none; } }

/* Kart içerik */
.ref-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.ref-card__name {
  margin: 0 0 0.45rem;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.ref-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.78rem;
}

.ref-card__tag {
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent);
}

.ref-card__desc {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.66;
  flex: 1;
  margin-bottom: 0.95rem;
}

.ref-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
  margin-top: auto;
}
.ref-card__link::after { content: "↗"; font-size: 0.78rem; opacity: 0.7; }
.ref-card__link:hover { text-decoration: underline; }

.ref-card__muted {
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ── İletişim ─── */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 28rem;
  font-style: normal;
}
@media (min-width: 40rem) {
  .contact-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .contact-block__row--wide { grid-column: 1 / -1; }
}

.contact-block__row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(200, 215, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 2px 10px rgba(60,100,200,0.07);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-block__row:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(255,255,255,0.95) inset, 0 6px 22px rgba(37,99,235,0.12);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) { .contact-block__row:hover { transform: none; } }

.contact-block__label {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.contact-block__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.contact-block__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.contact-block__row--wa .contact-block__value  { color: #16a34a; }
.contact-block__row--tel .contact-block__value { color: #1d4ed8; }

/* ── Footer ─── */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
}
.site-footer__copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ── GSAP reveal ─── */
.reveal-item             { opacity: 1; transform: none; }
.js .reveal-item         { opacity: 0.01; transform: translateY(18px); }
.no-js .reveal-item      { opacity: 1; transform: none; }
