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

:root {
  /* Deep Ocean Blue + Turquoise + Pure White */
  --color-primary: #0c4a6e;
  --color-primary-dark: #082f49;
  --color-primary-light: #0e6793;
  --color-secondary: #0891b2;
  --color-secondary-dark: #0e7490;
  --color-secondary-light: #22d3ee;
  --color-accent: #06b6d4;
  --color-accent-light: #67e8f9;
  --color-bg: #f0f9ff;
  --color-bg-alt: #e0f2fe;
  --color-surface: #ffffff;
  --color-surface-hover: #ecfeff;
  --color-text: #0c1a2a;
  --color-text-secondary: #475569;
  --color-text-light: #94a3b8;
  --color-text-inverse: #ffffff;
  --color-success: #10b981;
  --color-border: #bae6fd;
  --color-border-light: #e0f2fe;
  --gradient-primary: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
  --gradient-primary-hover: linear-gradient(135deg, #082f49 0%, #0e7490 100%);
  --gradient-hero: linear-gradient(135deg, rgba(12, 74, 110, 0.92) 0%, rgba(8, 145, 178, 0.85) 100%);
  --gradient-light: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  --gradient-text: linear-gradient(135deg, #0c4a6e, #0891b2);
  --font-heading: 'Outfit', 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: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 50%;
  --shadow-sm: 0 2px 8px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 4px 16px rgba(12, 74, 110, 0.08);
  --shadow-lg: 0 8px 32px rgba(12, 74, 110, 0.1);
  --shadow-xl: 0 16px 48px rgba(12, 74, 110, 0.12);
  --shadow-card: 0 4px 20px rgba(12, 74, 110, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(12, 74, 110, 0.12);
  --shadow-btn: 0 4px 15px rgba(12, 74, 110, 0.25);
  --shadow-btn-hover: 0 6px 25px rgba(12, 74, 110, 0.35);
  --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;
  --z-float: 600;
  --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);
  overflow-x: clip;
}

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(12, 74, 110, 0.08), rgba(8, 145, 178, 0.08));
  border: 1px solid rgba(12, 74, 110, 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;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb a,
.breadcrumb span {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.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);
  white-space: normal;
  text-align: center;
}

.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 ---------- */
.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;
}

/* ---------- FIXED SIDE BUTTONS (WhatsApp + Phone) ---------- */
.fixed-side-buttons {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fixed-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fixed-btn:hover {
  transform: scale(1.1);
}

.fixed-btn svg {
  width: 26px;
  height: 26px;
}

.fixed-btn--whatsapp {
  background: #25d366;
  animation: pulse-wp 2s infinite;
}

.fixed-btn--phone {
  background: var(--gradient-primary);
  animation: pulse-phone 2s infinite 0.5s;
}

@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); }
}

@keyframes pulse-phone {
  0% { box-shadow: 0 0 0 0 rgba(12, 74, 110, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(12, 74, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 74, 110, 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); }