/* Apple Berk - Özel Apple Human Interface Guidelines & UI/UX Stilleri */

:root {
  --apple-bg: #F5F5F7;
  --apple-card-bg: #FFFFFF;
  --apple-dark: #1D1D1F;
  --apple-pure-dark: #000000;
  --apple-blue: #0066CC;
  --apple-blue-hover: #005BB5;
  --apple-green: #34C759;
  --apple-wa: #0F7A3D;
  --apple-gray-sub: #636366;
  --apple-gray-text: #636366;
  --apple-border: #E5E5EA;
  --apple-border-light: rgba(0, 0, 0, 0.08);
  --apple-glass: rgba(255, 255, 255, 0.82);
  --apple-glass-dark: rgba(29, 29, 31, 0.85);
  --apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-card: 26px;
  --radius-pill: 980px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.02), 0 12px 32px -18px rgba(0, 0, 0, 0.12);
  --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.03), 0 22px 48px -20px rgba(0, 0, 0, 0.18);
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  font-family: var(--apple-font);
  background-color: var(--apple-bg);
  color: var(--apple-dark);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
}

::selection {
  background: rgba(0, 113, 227, 0.18);
  color: #0B2A4A;
}

:where(a, button, input, select, textarea, [tabindex="0"]):focus-visible {
  outline: 3px solid #0066CC;
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 12px;
  z-index: 200;
  background: #1D1D1F;
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-apple);
}

.skip-link:focus {
  top: 12px;
}

/* =========================================================
   PREMIUM SITE LOADER
   Yalnızca oturumdaki ilk açılışta görünen, dekoratif marka ekranı.
   ========================================================= */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  color: #FFFFFF;
  background:
    radial-gradient(circle at 50% 38%, #0C1424 0%, #07080D 42%, #030304 100%);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.48s var(--ease-apple), visibility 0.48s var(--ease-apple);
  animation: loaderSafetyHide 0.6s ease 4s forwards;
}

html.site-loader-skip .site-loader {
  display: none !important;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-loader__aurora {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 0.45s var(--ease-apple);
}

.site-loader__aurora--blue {
  width: 78vmax;
  height: 78vmax;
  top: -34vmax;
  left: -28vmax;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.22) 0%, rgba(10, 132, 255, 0.07) 38%, transparent 69%);
  animation: loaderAuroraBlue 9s ease-in-out infinite alternate;
}

.site-loader__aurora--cyan {
  width: 64vmax;
  height: 64vmax;
  right: -24vmax;
  bottom: -28vmax;
  background: radial-gradient(circle, rgba(100, 210, 255, 0.14) 0%, rgba(191, 90, 242, 0.06) 42%, transparent 70%);
  animation: loaderAuroraCyan 11s ease-in-out infinite alternate;
}

.site-loader__grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 72%);
}

.site-loader__stage {
  position: relative;
  z-index: 2;
  width: min(92vw, 430px);
  padding: 42px 36px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0.055) 100%);
  box-shadow:
    0 48px 120px -32px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  animation: loaderStageIn 1s var(--ease-apple) both;
  transition: opacity 0.38s var(--ease-apple), transform 0.55s var(--ease-apple), filter 0.55s var(--ease-apple);
}

.site-loader__stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  opacity: 0.55;
}

.site-loader.is-hidden .site-loader__stage {
  opacity: 0;
  transform: translateY(-14px) scale(1.04);
  filter: blur(12px);
}

.site-loader.is-hidden .site-loader__aurora {
  opacity: 0;
}

.site-loader__orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  margin: 0 auto 26px;
}

.site-loader__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: loaderSpin 2.4s linear infinite;
}

.site-loader__ring-track {
  opacity: 0.9;
}

.site-loader__ring-progress {
  stroke-dasharray: 20 100;
  filter: drop-shadow(0 0 6px rgba(100, 210, 255, 0.5));
  animation: loaderArc 1.8s ease-in-out infinite;
}

.site-loader__logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 42%, rgba(0, 0, 0, 0.32) 100%);
  box-shadow:
    0 12px 40px rgba(10, 132, 255, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
  animation: loaderBreathe 2.6s ease-in-out infinite;
}

.site-loader__logo svg {
  width: 31px;
  height: 31px;
  filter: drop-shadow(0 4px 12px rgba(100, 210, 255, 0.32));
}

.site-loader__wordmark {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}

.site-loader__tagline {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #8E8E93;
}

.site-loader__progress {
  position: relative;
  height: 3px;
  margin: 30px 0 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.site-loader__progress-fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, #0A84FF 0%, #64D2FF 52%, #BF5AF2 100%);
  box-shadow: 0 0 18px rgba(10, 132, 255, 0.55);
  transition: width 0.32s ease-out;
}

.site-loader__progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-110%);
  animation: loaderShimmer 1.3s ease-in-out infinite;
}

.site-loader__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: #A1A1A6;
}

.site-loader__status::after {
  content: "...";
  display: inline-block;
  width: 1.15em;
  text-align: left;
  animation: loaderDots 1.35s steps(4, end) infinite;
}

.site-loader__status.is-ready::after {
  content: "";
  width: 0;
  animation: none;
}

.site-loader__percent {
  min-width: 34px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #F5F5F7;
}

.site-loader__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E8E93;
}

.site-loader__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  vertical-align: 1px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.8);
  animation: loaderBlink 2s ease-in-out infinite;
}

@keyframes loaderStageIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes loaderSafetyHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes loaderArc {
  0%, 100% {
    stroke-dasharray: 8 100;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 58 100;
    stroke-dashoffset: -12;
  }
}

@keyframes loaderBreathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 40px rgba(10, 132, 255, 0.22), 0 1px 0 rgba(255, 255, 255, 0.16) inset;
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 16px 52px rgba(10, 132, 255, 0.34), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  }
}

@keyframes loaderShimmer {
  0% { transform: translateX(-110%); }
  60%, 100% { transform: translateX(110%); }
}

@keyframes loaderDots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

@keyframes loaderBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes loaderAuroraBlue {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}

@keyframes loaderAuroraCyan {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to { transform: translate3d(-5vw, -4vh, 0) scale(0.95); }
}

@media (max-width: 480px) {
  .site-loader__stage {
    padding: 34px 24px 26px;
    border-radius: 30px;
  }

  .site-loader__orbit {
    width: 118px;
    height: 118px;
    margin-bottom: 22px;
  }

  .site-loader__logo {
    width: 58px;
    height: 58px;
  }

  .site-loader__logo svg {
    width: 27px;
    height: 27px;
  }

  .site-loader__wordmark {
    font-size: 24px;
  }

  .site-loader__tagline {
    letter-spacing: 0.28em;
  }

  .site-loader__progress {
    margin-top: 26px;
  }

  .site-loader__footer {
    justify-content: center;
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
}

@media (max-height: 500px) {
  .site-loader {
    padding: 12px;
  }

  .site-loader__stage {
    padding: 22px 28px 18px;
    border-radius: 26px;
  }

  .site-loader__orbit {
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
  }

  .site-loader__logo {
    width: 48px;
    height: 48px;
  }

  .site-loader__logo svg {
    width: 22px;
    height: 22px;
  }

  .site-loader__wordmark {
    font-size: 22px;
  }

  .site-loader__tagline {
    font-size: 9px;
    letter-spacing: 0.28em;
  }

  .site-loader__progress {
    margin: 18px 0 8px;
  }

  .site-loader__meta {
    font-size: 10px;
  }

  .site-loader__footer {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader *,
  .site-loader *::before,
  .site-loader *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }

  .site-loader__ring-progress {
    stroke-dasharray: 72 100;
  }
}

/* Glassmorphism Header */
.apple-glass-nav {
  background-color: rgba(255, 255, 255, 0.74);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--apple-border-light);
  transition: background-color 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple);
}

.apple-glass-nav.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  letter-spacing: -0.01em;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--apple-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-apple);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* Dokunma Hedefleri (44px minimum) */
.touch-target {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-link {
  min-height: 44px;
}

/* Apple Tarzı Bento Kartları */
.bento-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.055);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-apple), box-shadow 0.45s var(--ease-apple), border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

@media (hover: hover) {
  .bento-card:hover {
    transform: translateY(-6px) scale(1.006);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 113, 227, 0.22);
  }
}

.bento-card-dark {
  background: #151516;
  color: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.45s var(--ease-apple), box-shadow 0.45s var(--ease-apple), border-color 0.45s ease;
}

@media (hover: hover) {
  .bento-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
    border-color: rgba(0, 113, 227, 0.45);
  }
}

.model-card {
  background:
    radial-gradient(circle at 50% 0%, #FFFFFF 0%, #FBFBFD 58%, #F5F5F7 100%);
}

.service-card {
  padding: 0;
}

.service-card-media {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #0B0B0C;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-apple);
}

@media (hover: hover) {
  .service-card:hover .service-card-media img {
    transform: scale(1.06);
  }
}

.service-card-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  font-size: 20px;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: -22px;
  right: 16px;
  font-size: 120px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(0, 113, 227, 0.08);
  pointer-events: none;
}

/* Butonlar */
.btn-apple-primary {
  background-color: var(--apple-blue);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-apple), box-shadow 0.25s ease;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-apple-primary:hover {
  background-color: var(--apple-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.32);
}

.btn-apple-primary:active {
  transform: scale(0.98);
}

.btn-apple-secondary {
  background-color: rgba(0, 0, 0, 0.055);
  color: var(--apple-dark);
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-apple);
  text-decoration: none;
  cursor: pointer;
}

.btn-apple-secondary:hover {
  background-color: rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}

.btn-apple-secondary:active {
  transform: scale(0.98);
}

.btn-whatsapp {
  background-color: var(--apple-wa);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-apple), box-shadow 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 122, 61, 0.26);
}

.btn-whatsapp:hover {
  background-color: #0C6B34;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 122, 61, 0.4);
}

.btn-whatsapp:active {
  transform: scale(0.98);
}

/* Canlı Nabız (Pulse) Göstergesi */
.status-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--apple-green);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.status-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background-color: var(--apple-green);
  opacity: 0.6;
  animation: pulse-ring 1.8s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Canlı Yorum ve Güven Rozetleri */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.04);
  color: #1D1D1F;
}

.badge-pill-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Tipografi Vurguları */
.hero-title {
  font-size: clamp(2.05rem, 7.8vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: clamp(2.6rem, 5.4vw, 4rem);
    line-height: 1.02;
  }
}

.text-balance {
  text-wrap: balance;
}

.apple-gradient-text {
  background: linear-gradient(135deg, #1D1D1F 0%, #434344 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-blue-gradient {
  background: linear-gradient(135deg, #0066CC 0%, #00529E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Görsel Vitrinleri */
.wide-hero,
.service-hero,
.blog-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #0B0B0C;
  box-shadow: 0 18px 46px -20px rgba(0, 0, 0, 0.35);
  isolation: isolate;
}

.wide-hero img,
.service-hero img,
.blog-hero img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-apple);
}

@media (hover: hover) {
  .wide-hero:hover img,
  .service-hero:hover img,
  .blog-hero:hover img {
    transform: scale(1.025);
  }
}

.wide-hero-overlay,
.service-hero-overlay,
.blog-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 24px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.32) 52%, transparent 100%);
  color: #FFFFFF;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wide-hero-badge,
.service-hero-badge,
.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wide-hero-title {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.service-hero-caption,
.blog-hero-caption {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

/* Mobil Alt Sabit Bar (Floating Glass CTA) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  margin: 0 auto;
  width: auto;
  max-width: 560px;
  padding: 8px;
  gap: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-apple), visibility 0.3s;
}

.mobile-sticky-cta a {
  min-height: 52px;
  border-radius: 16px;
}

.mobile-sticky-cta .cta-number {
  opacity: 1;
}

.mobile-sticky-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
}

@media (max-width: 1439px) {
  .mobile-sticky-cta {
    display: flex;
  }

  main {
    padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .mobile-sticky-cta {
    left: 8px;
    right: 8px;
    padding: 6px;
    gap: 6px;
  }

  .mobile-sticky-cta a {
    min-height: 50px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Sol Sabit CTA - yalnızca içerik sütunuyla çakışmayan geniş ekranlarda */
.floating-cta {
  display: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-apple), visibility 0.3s;
}

@media (min-width: 1440px) {
  .floating-cta {
    display: flex;
  }
}

.floating-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
}

/* İnteraktif Arıza Seçici Kartları */
.diagnostic-btn {
  border: 2px solid #E5E5EA;
  border-radius: 16px;
  padding: 14px 18px;
  min-height: 56px;
  background: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #1D1D1F;
}

.diagnostic-btn:hover {
  border-color: #0066CC;
  background: rgba(0, 102, 204, 0.02);
}

.diagnostic-btn.active {
  border-color: #0066CC;
  background: rgba(0, 102, 204, 0.06);
  color: #005BB5;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.12);
}

/* FAQ Akordiyon */
.faq-item {
  border-bottom: 1px solid #E5E5EA;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: var(--shadow-card);
}

.faq-header {
  width: 100%;
  min-height: 56px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  font-size: clamp(1rem, 1vw + 0.72rem, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1D1D1F;
  text-align: left;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-apple), opacity 0.3s ease;
  opacity: 0;
  color: #636366;
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  opacity: 1;
  padding-bottom: 20px;
}

.faq-icon {
  transition: transform 0.3s var(--ease-apple);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Blog Modal */
.blog-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.blog-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn 0.3s var(--ease-apple);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Makale Detay Stilleri */
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: #333336;
}

.article-body h2 {
  font-size: clamp(1.4rem, 1vw + 1.05rem, 1.75rem);
  font-weight: 700;
  color: #1D1D1F;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.article-body h3 {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.35rem);
  font-weight: 650;
  color: #1D1D1F;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.018em;
}

.article-body p {
  margin-bottom: 1.1rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 0.55rem;
}

.article-body strong {
  color: #1D1D1F;
  font-weight: 650;
}

.article-body .callout-box {
  background: #F5F5F7;
  border-left: 4px solid var(--apple-blue);
  padding: 18px 22px;
  border-radius: 0 16px 16px 0;
  margin: 24px 0;
  font-size: 15px;
}

.article-body table {
  font-size: 12px;
  border-collapse: separate;
  border-spacing: 0;
}

.article-body th {
  white-space: nowrap;
}

.article-body a {
  color: var(--apple-blue);
  text-underline-offset: 3px;
}

.article-body a.btn-apple-primary,
.article-body a.btn-whatsapp {
  color: #FFFFFF;
}

.article-body a.btn-apple-secondary {
  color: var(--apple-dark);
}

.article-figure {
  border-radius: 20px;
  overflow: hidden;
  background: #0B0B0C;
  box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.3);
}

.article-figure img {
  display: block;
  width: 100%;
}

.article-figure figcaption {
  padding: 12px 18px;
  background: #F5F5F7;
  color: #636366;
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Blog Liste Kartları */
.blog-card {
  overflow: hidden;
}

.blog-card-img {
  transition: transform 0.8s var(--ease-apple);
}

@media (hover: hover) {
  .blog-card:hover .blog-card-img {
    transform: scale(1.055);
  }
}

.blog-cat-btn {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-cat-btn:hover {
  transform: translateY(-1px);
}

/* Site Footer */
.site-footer {
  padding-bottom: max(3rem, env(safe-area-inset-bottom, 0px));
}

.site-footer a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.site-footer h4 {
  letter-spacing: 0.01em;
}

@media (max-width: 1439px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

/* Arama Modalı */
.search-panel {
  animation: searchPanelIn 0.26s var(--ease-apple);
}

@keyframes searchPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#searchResultsList a {
  min-height: 56px;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Küçük ekran iyileştirmeleri */
@media (max-width: 639px) {
  .badge-pill {
    font-size: 11px;
    padding: 6px 11px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.72;
  }

  .article-body table {
    font-size: 11px;
  }

  .service-card-media {
    height: 152px;
  }

  .wide-hero-overlay,
  .service-hero-overlay,
  .blog-hero-overlay {
    padding: 56px 16px 16px;
  }

  .search-panel {
    max-height: calc(100dvh - 32px);
  }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .bento-card:hover,
  .bento-card-dark:hover,
  .wide-hero:hover img,
  .service-hero:hover img,
  .blog-hero:hover img,
  .blog-card:hover .blog-card-img {
    transform: none;
  }
}
