/* ============================================
   KERNEK SU ARITMA - ANA STİL DOSYASI
   Design Tokens, Reset, Layout, Typography
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #0056b3;
  --color-primary-dark: #003d80;
  --color-primary-light: #1a6fc4;
  --color-secondary: #00a8ff;
  --color-secondary-dark: #008edb;
  --color-secondary-light: #33b9ff;
  --color-accent: #4fc3f7;
  --color-accent-light: #81d4fa;
  --color-bg: #f4f9ff;
  --color-bg-alt: #e8f2ff;
  --color-surface: #ffffff;
  --color-surface-hover: #f0f6ff;
  --color-text: #1a2332;
  --color-text-secondary: #5a6a7a;
  --color-text-light: #8a9aaa;
  --color-text-inverse: #ffffff;
  --color-success: #00c853;
  --color-border: #d6e4f0;
  --color-border-light: #e8f0f8;
  --gradient-primary: linear-gradient(135deg, #0056b3 0%, #00a8ff 100%);
  --gradient-primary-hover: linear-gradient(135deg, #003d80 0%, #008edb 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0,86,179,0.92) 0%, rgba(0,168,255,0.85) 100%);
  --gradient-light: linear-gradient(180deg, #f4f9ff 0%, #e8f2ff 100%);
  --gradient-text: linear-gradient(135deg, #0056b3, #00a8ff);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-hero: clamp(2.2rem, 5vw, 3.8rem);
  --fs-h1: clamp(1.8rem, 4vw, 2.8rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3: clamp(1.2rem, 2.5vw, 1.6rem);
  --fs-h4: clamp(1.05rem, 2vw, 1.25rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800;
  --lh-heading: 1.3; --lh-body: 1.7;
  --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 1.5rem;
  --space-xl: 2rem; --space-2xl: 3rem; --space-3xl: 4rem; --space-4xl: 6rem; --space-5xl: 8rem;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 50%;
  --shadow-sm: 0 2px 8px rgba(0,56,113,0.08);
  --shadow-md: 0 4px 16px rgba(0,56,113,0.1);
  --shadow-lg: 0 8px 32px rgba(0,56,113,0.12);
  --shadow-xl: 0 16px 48px rgba(0,56,113,0.15);
  --shadow-card: 0 4px 20px rgba(0,56,113,0.08);
  --shadow-card-hover: 0 12px 40px rgba(0,56,113,0.15);
  --shadow-btn: 0 4px 15px rgba(0,86,179,0.3);
  --shadow-btn-hover: 0 6px 25px rgba(0,86,179,0.4);
  --transition-fast: 0.2s ease; --transition-base: 0.3s ease; --transition-slow: 0.5s ease;
  --z-dropdown: 100; --z-sticky: 200; --z-navbar: 300; --z-modal: 400; --z-overlay: 500;
  --container-max: 1200px; --container-wide: 1400px; --container-narrow: 800px; --container-padding: 1.25rem;
  --navbar-height: 80px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navbar-height); }
body {
  font-family: var(--font-body); font-size: var(--fs-body); font-weight: var(--fw-regular);
  line-height: var(--lh-body); color: var(--color-text); background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: var(--fw-bold); line-height: var(--lh-heading); color: var(--color-text); }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); } h4 { font-size: var(--fs-h4); }
p { margin-bottom: var(--space-md); color: var(--color-text-secondary); }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--space-4xl) 0; }
.section--alt { background-color: var(--color-surface); }
.section--gradient { background: var(--gradient-light); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto var(--space-3xl); }
.section-badge {
  display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, rgba(0,86,179,0.08), rgba(0,168,255,0.08));
  border: 1px solid rgba(0,86,179,0.12); border-radius: 50px; font-size: var(--fs-small);
  font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: var(--space-lg);
  text-transform: uppercase; letter-spacing: 1px;
}
.section-badge svg { width: 16px; height: 16px; }
.section-header h2 { margin-bottom: var(--space-md); }
.section-header p { font-size: var(--fs-body-lg); color: var(--color-text-secondary); }
.section-header .highlight { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.page-header {
  background: var(--gradient-primary); padding: calc(var(--navbar-height) + var(--space-3xl)) var(--container-padding) calc(var(--space-3xl) + 40px);
  text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-header::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 40px;
  background: var(--color-bg); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { color: var(--color-text-inverse); margin-bottom: var(--space-md); position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.85); font-size: var(--fs-body-lg); max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-bottom: var(--space-lg); position: relative; z-index: 1; }
.breadcrumb a, .breadcrumb span { font-size: var(--fs-small); color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .separator { color: rgba(255,255,255,0.4); font-size: var(--fs-xs); }
.breadcrumb .current { color: #fff; font-weight: var(--fw-medium); }

.grid { display: grid; gap: var(--space-xl); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; } .text-gradient { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.scroll-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  background: var(--gradient-primary); color: #fff; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center; z-index: var(--z-sticky);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition-base);
  box-shadow: var(--shadow-btn);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-btn-hover); }
.scroll-top svg { width: 22px; height: 22px; }

.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px; width: 56px; height: 56px; background: #25d366;
  color: #fff; border-radius: var(--radius-full); display: flex; align-items: center;
  justify-content: center; z-index: var(--z-sticky); box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: all var(--transition-base); animation: pulse-wp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes pulse-wp { 0%{box-shadow:0 0 0 0 rgba(37,211,102,0.5)} 70%{box-shadow:0 0 0 15px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

::selection { background-color: var(--color-secondary); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }
