/* ==========================================================================
   MNK SU ARITMA — Tasarım Sistemi
   Palet:  --ink (#08213B derin lacivert) · --marine (#123B63) ·
           --aqua (#22C7EA parlak damla mavisi) · --foam (#EAF7FC açık zemin) ·
           --paper (#FFFFFF) · --steel (#5C7C97 ikincil metin)
   Tipografi: Başlık = "Sora" (geometrik, güvenilir, teknik) ·
              Gövde = "Inter" · Rakam/etiket = "Sora" (tabular)
   İmza öğesi: damla-kesim (clip-path) bölüm ayraçları + dalga sınırları
   ========================================================================== */

:root {
  --ink: #08213b;
  --marine: #123b63;
  --marine-2: #1a4f82;
  --aqua: #22c7ea;
  --aqua-deep: #0ea5c4;
  --foam: #eaf7fc;
  --paper: #ffffff;
  --steel: #5c7c97;
  --steel-light: #93aec2;
  --line: #dceef5;
  --success: #22a06b;
  --warning: #e2a336;
  --danger: #e0505f;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(8, 33, 59, 0.06);
  --shadow-md: 0 12px 32px rgba(8, 33, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(8, 33, 59, 0.16);

  --container: 1180px;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

a { color: var(--marine-2); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: var(--foam);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(34,199,234,.18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-deep) 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(34, 199, 234, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(34,199,234,.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--paper);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-ghost { background: var(--foam); color: var(--marine); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 62px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--steel); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  color: var(--marine);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--foam); color: var(--aqua-deep); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-pill); background: var(--foam);
}
.nav-toggle { display: none; }
.mobile-nav {
  display: flex; flex-direction: column;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 8px 24px 18px;
}
.mobile-nav a {
  padding: 14px 4px; font-family: var(--font-display); font-weight: 600; color: var(--marine);
  border-bottom: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, var(--marine) 62%, var(--marine-2) 100%);
  color: var(--paper);
  overflow: hidden;
  padding: 96px 0 130px;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto auto;
  width: 640px; height: 640px;
  background: radial-gradient(circle at 30% 30%, rgba(34,199,234,.35), transparent 65%);
  filter: blur(10px);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); color: var(--paper); }
.hero h1 .accent { color: var(--aqua); }
.hero p.lead { font-size: 18px; color: #cfe4ef; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.droplet-frame {
  position: relative;
  clip-path: path("M260 8C260 8 470 235 470 385C470 502.591 385.591 588 260 588C134.409 588 50 502.591 50 385C50 235 260 8 260 8Z");
  width: 520px; height: 588px; max-width: 100%;
  margin: 0 auto;
  background: var(--marine-2);
}
.droplet-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -16px; bottom: 36px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  max-width: 240px;
}
.hero-badge .ic { color: var(--aqua-deep); flex-shrink: 0; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 15px; }
.hero-badge span { font-size: 12px; color: var(--steel); }

/* wave divider under hero */
.wave-divider { display: block; width: 100%; margin-top: -3px; }

/* ---------- Trust stats strip ---------- */
.stats-strip {
  background: var(--paper);
  margin-top: -70px;
  position: relative; z-index: 3;
}
.stats-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.stat-item {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.stat-value .ic { color: var(--aqua-deep); }
.stat-label { font-size: 13px; color: var(--steel); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--foam); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--steel); font-size: 16px; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--foam); color: var(--aqua-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--steel); font-size: 14.5px; margin: 0 0 16px; }
.service-card .more { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--marine-2); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px;
}
.testi-stars { color: var(--warning); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p.comment { font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--marine); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.testi-person b { display: block; font-size: 14px; }
.testi-person span { font-size: 12.5px; color: var(--steel); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq-q .ic { color: var(--aqua-deep); flex-shrink: 0; transition: transform .25s ease; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 22px; color: var(--steel); font-size: 15px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .thumb { height: 190px; overflow: hidden; background: var(--foam); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 22px; }
.blog-meta { font-size: 12.5px; color: var(--steel-light); font-family: var(--font-display); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 10px; }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card p { color: var(--steel); font-size: 14px; }
.blog-card .read-more { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--marine-2); }

.blog-article { max-width: 780px; margin: 0 auto; }
.blog-article .cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow-md); }
.blog-article h1 { font-size: clamp(28px, 4vw, 40px); }
.blog-article .content { font-size: 17px; }
.blog-article .content h2 { font-size: 26px; margin-top: 40px; }
.blog-article .content h3 { font-size: 21px; margin-top: 30px; }
.blog-article .content p { margin: 0 0 20px; }
.blog-article .content img { border-radius: var(--radius-md); margin: 24px 0; }
.blog-article .content ul, .blog-article .content ol { padding-left: 22px; margin-bottom: 20px; }
.blog-article .content blockquote {
  border-left: 4px solid var(--aqua); margin: 24px 0; padding: 4px 24px;
  color: var(--marine); font-style: italic; background: var(--foam); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.tag-pill {
  display: inline-block; background: var(--foam); color: var(--marine-2);
  font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); margin: 0 6px 6px 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--marine) 0%, var(--ink) 100%);
  border-radius: var(--radius-lg);
  color: var(--paper);
  padding: 56px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.cta-band h3 { color: var(--paper); font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: #cfe4ef; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7cbdb; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 46px; }
.footer-brand b { font-family: var(--font-display); color: #fff; font-size: 18px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; font-size: 14.5px; }
.site-footer a { color: #b7cbdb; }
.site-footer a:hover { color: var(--aqua); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #7f97ab;
}
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}

/* ---------- Floating buttons ---------- */
.floating-actions {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: flex; flex-direction: column; gap: 14px;
}
.fab {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s ease;
  position: relative;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--aqua-deep); }
.fab-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor; opacity: .6;
  animation: fabPulse 2.2s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--ink), var(--marine));
  color: #fff; padding: 68px 0 88px; text-align: center;
}
.page-hero .eyebrow { background: rgba(255,255,255,.1); color: var(--aqua); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.page-hero p { color: #cfe4ef; max-width: 560px; margin: 0 auto; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--marine);
}
.pagination a:hover { background: var(--foam); }
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--foam);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img, .gallery-item video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .4s ease;
  opacity: 0;
}
.gallery-item img.is-loaded, .gallery-item video.is-loaded { opacity: 1; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.06); }
.gallery-item .play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(8,33,59,.18);
}
.gallery-item .play-badge i {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: var(--shadow-md);
}
.gallery-skel {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--foam) 30%, #f4fbfd 50%, var(--foam) 70%);
  background-size: 200% 100%;
  animation: skelShine 1.4s ease-in-out infinite;
}
.gallery-item img.is-loaded ~ .gallery-skel,
.gallery-item video.is-loaded ~ .gallery-skel { display: none; }
@keyframes skelShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.gallery-sentinel { height: 4px; }
.gallery-loading {
  text-align: center; padding: 28px 0; color: var(--steel); font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.gallery-spin {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid var(--line); border-top-color: var(--aqua-deep);
  animation: gallerySpin .7s linear infinite;
}
@keyframes gallerySpin { to { transform: rotate(360deg); } }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(8,13,22,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img, .lightbox-overlay video {
  max-width: min(90vw, 1000px); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font-size: 18px;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox-nav { width: 38px; height: 38px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .services-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 720px) {
  .main-nav, .header-phone span { display: none; }
  .nav-toggle { display: flex; }
  .site-header .container { height: 76px; }
  .brand img { height: 48px; }
  .hero { padding: 56px 0 100px; }
  .section { padding: 64px 0; }
  .services-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; flex-direction: column; text-align: center; }
  .droplet-frame { width: 300px; height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
