/* ==========================================================
   Etki Havuz — Havuzda etkili çözümler
   ========================================================== */

:root {
  /* Marka renkleri (logodan): lacivert #023e8a, turkuaz #00b7c6 */
  --navy-900: #011a3d;
  --navy-800: #022a5e;
  --navy-700: #023e8a;
  --aqua-500: #00a3b1;
  --aqua-600: #008c99;
  --aqua-400: #00b7c6;
  --aqua-100: #def6f8;
  --sand-50:  #faf8f4;
  --sand-100: #f3efe7;
  --ink:      #0f2533;
  --muted:    #4f6676;
  --line:     #dfe6ea;
  --white:    #ffffff;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow:    0 18px 40px -18px rgba(1, 26, 61, .28);
  --shadow-sm: 0 6px 18px -10px rgba(1, 26, 61, .25);

  --container: 1200px;
  --header-h: 84px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--navy-800); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--aqua-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 26px;
  border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--aqua-500); color: #fff; box-shadow: 0 10px 24px -12px rgba(0,163,177,.8); }
.btn-primary:hover { background: var(--aqua-600); }
.btn-ghost { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn-ghost:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua-500); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.accent { color: var(--aqua-500); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(250, 248, 244, .85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(1,26,61,.4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 62px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy-700);
  position: relative; padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--aqua-500); transition: right .25s ease;
}
.main-nav a:not(.btn):hover::after { right: 0; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }

.hero-stats {
  list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.hero-stats li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.hero-stats strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.hero-stats span { font-size: .9rem; color: var(--muted); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 140px;
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -36px; bottom: 44px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 290px;
}
.hero-badge svg { width: 40px; height: 40px; flex: none; color: var(--aqua-500); background: var(--aqua-100); border-radius: 12px; padding: 8px; }
.hero-badge strong { display: block; font-size: .98rem; line-height: 1.3; }
.hero-badge span { font-size: .84rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Value / Compare ---------- */
.value { background: var(--white); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { border-radius: var(--radius-lg); padding: 40px; }
.compare-col h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.4em; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.compare-col li { position: relative; padding-left: 36px; }
.compare-col li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.compare-before { background: var(--sand-100); color: var(--muted); }
.compare-before h3 { color: var(--muted); }
.compare-before li::before {
  background-color: #e6dfd2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%237b6f5d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.compare-after { background: var(--navy-800); color: #d8e6ee; box-shadow: var(--shadow); }
.compare-after h3 { color: var(--aqua-400); }
.compare-after strong { color: #fff; }
.compare-after li::before {
  background-color: var(--aqua-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.service-card h3 { transition: color .25s ease; }
.service-card p { color: var(--muted); font-size: .98rem; margin: 0; transition: color .25s ease; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--aqua-100); color: var(--aqua-500); margin-bottom: 22px;
  transition: background-color .25s ease, color .25s ease;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover, .service-card:focus-within {
  transform: translateY(-4px); box-shadow: var(--shadow);
  background: var(--aqua-500); border-color: var(--aqua-500); color: #fff;
}
.service-card:hover h3, .service-card:focus-within h3 { color: #fff; }
.service-card:hover p, .service-card:focus-within p { color: rgba(255,255,255,.9); }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Process ---------- */
.process {
  position: relative; color: #fff; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(2,42,94,.68), rgba(2,42,94,.82)),
    url("assets/img/havuz-serit.jpg") center / cover no-repeat;
}
.section-head.on-dark .section-lead { color: #a9c2d0; }
.section-head.on-dark .eyebrow { color: var(--aqua-400); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: rgba(1,26,61,.45); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.step h3 { color: #fff; }
.step p { color: #a9c2d0; font-size: .97rem; margin: 0; }
.step-no { display: block; font-size: 2.4rem; font-weight: 800; color: var(--aqua-400); line-height: 1; margin-bottom: 22px; letter-spacing: -0.03em; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -18px; width: 14px; height: 14px;
  border-top: 2px solid var(--aqua-400); border-right: 2px solid var(--aqua-400); transform: rotate(45deg);
  opacity: .6;
}

/* ---------- Audiences ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aud-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.aud-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.aud-body { padding: 30px; }
.aud-body p { color: var(--muted); margin: 0; }
.aud-main { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.aud-main img { height: 100%; aspect-ratio: auto; min-height: 360px; }
.aud-main .aud-body { padding: 48px; align-self: center; }
.aud-main h3 { font-size: 1.7rem; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--aqua-100); color: #0c7d8e; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; font-size: .97rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--aqua-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- About ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-years {
  position: absolute; right: -24px; top: 40px;
  background: var(--navy-800); color: #fff; border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.about-years strong { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--aqua-400); }
.about-years span { font-size: .92rem; font-weight: 600; line-height: 1.3; }
.about-copy > p { color: var(--muted); }
.principles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.principles li { padding: 18px 22px; border-left: 3px solid var(--aqua-500); background: var(--sand-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.principles strong { display: block; }
.principles span { color: var(--muted); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 14px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 26px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 700; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--aqua-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' stroke='%2300a3b1' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- Contact ---------- */
.contact {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(1,26,61,.96) 30%, rgba(2,42,94,.82)),
    url("assets/img/site-havuzu.jpg") center / cover no-repeat;
}
.contact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; }
.contact-logo { height: 96px; width: auto; margin-bottom: 36px; }
.contact h2 { color: #fff; }
.contact .lead { color: #c3d6e2; font-size: 1.12rem; max-width: 36em; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 18px 0 44px; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-light { background: #fff; color: var(--navy-700); }
.btn-light:hover { background: var(--aqua-100); }
.contact-info {
  list-style: none; margin: 0; padding: 28px 0 0; width: 100%;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px;
}
.contact-info li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--aqua-400); }
.contact-info svg {
  width: 40px; height: 40px; padding: 10px; border-radius: 12px; flex: none;
  background: rgba(255,255,255,.08); fill: none; stroke: var(--aqua-400); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93adbc; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-name { color: #fff; font-size: 1.05rem; }
.footer-brand p { margin: 14px 0 0; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: .88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .hero-grid { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .logo img { height: 46px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand-50); padding: 12px 24px 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(1,26,61,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }

  .hero { padding: 32px 0 72px; }
  .hero-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 520px; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 80px; }
  .hero-badge { left: 16px; bottom: -24px; }
  .hero-copy { padding-top: 16px; }

  .section { padding: 80px 0; }
  .compare { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .aud-main { grid-template-columns: 1fr; }
  .aud-main img { min-height: 0; aspect-ratio: 16 / 10; }
  .aud-main .aud-body { padding: 32px; }
  .about-grid { gap: 48px; }
  .about-media img { aspect-ratio: 4 / 3; }
  .about-years { right: 16px; top: auto; bottom: -24px; }
  .faq .section-head { position: static; }
  .faq-grid { gap: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats li + li { padding-left: 20px; }
  .hero-stats strong { font-size: 1.35rem; }
  .hero-stats span { font-size: .8rem; display: block; line-height: 1.35; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .compare-col { padding: 28px 22px; }
  .contact-logo { height: 72px; }
  .contact-actions .btn { width: 100%; padding: 16px 20px; font-size: 1rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}
