/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --c-900: #022c22;
  --c-800: #064e3b;
  --c-700: #065f46;
  --c-600: #047857;
  --c-500: #059669;
  --c-400: #10b981;
  --c-300: #34d399;
  --c-200: #6ee7b7;
  --c-100: #d1fae5;
  --c-50:  #ecfdf5;

  --color-dark-900: var(--c-900);
  --color-dark-800: var(--c-800);
  --color-dark-700: var(--c-700);
  --color-silver-light: var(--c-50);
  --color-silver-mid: var(--c-100);
  --color-silver-dark: var(--c-300);
  --color-accent-green: var(--c-400);
  --color-accent-green-hover: var(--c-500);
  --color-text-dark: #022c22;
  --color-text-light: #4b6e61;
  --color-border: rgba(167, 243, 208, 0.5);
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba5a;

  --grad-hero: linear-gradient(150deg, #022c22 0%, #065f46 50%, #047857 100%);
  --grad-dark: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  --grad-premium: linear-gradient(135deg, #022c22 0%, #047857 100%);
  --grad-silver: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  --grad-metallic: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #6ee7b7 100%);
  --grad-skeleton: linear-gradient(90deg, #d1fae5 25%, #ecfdf5 50%, #d1fae5 75%);
  --grad-accent: linear-gradient(135deg, #10b981, #059669);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --border-radius: 12px;
  --border-radius-lg: 16px;

  --shadow-xs: 0 1px 3px rgba(2,44,34,0.07);
  --shadow-sm: 0 4px 10px rgba(2,44,34,0.08);
  --shadow-md: 0 10px 24px rgba(2,44,34,0.10);
  --shadow-lg: 0 20px 40px rgba(2,44,34,0.14);
  --shadow-xl: 0 32px 64px rgba(2,44,34,0.18);
  --shadow-glow: 0 0 0 1px rgba(16,185,129,0.15), 0 8px 32px rgba(16,185,129,0.20);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   BASE & RESET — MOBILE FIRST
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* CRITICAL: prevent horizontal overflow */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: #f5faf7;
  color: var(--color-text-dark);
  line-height: 1.6;
  /* CRITICAL: prevent horizontal overflow on all devices */
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-900);
  line-height: 1.2;
  /* Prevent text overflow */
  overflow-wrap: break-word;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent images from breaking layout */
picture, picture img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   LAYOUT — MOBILE FIRST
   ============================================================ */
.container {
  width: 100%;
  /* Generous mobile padding so content doesn't touch edges */
  padding: 0 16px;
  margin: 0 auto;
  /* Prevent overflow */
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .container { padding: 0 20px; }
}

@media (min-width: 768px) {
  .container { padding: 0 28px; }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 0 32px;
  }
}

/* Section padding: comfortable on mobile, generous on desktop */
.section-padding { padding: 56px 0; }

@media (min-width: 768px) { .section-padding { padding: 80px 0; } }
@media (min-width: 1024px) { .section-padding { padding: 100px 0; } }

/* ============================================================
   SKELETON PLACEHOLDER
   ============================================================ */
.image-placeholder {
  position: relative;
  background: var(--c-100);
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed var(--c-300);
  min-height: 200px;
}

@media (min-width: 768px) {
  .image-placeholder { min-height: 280px; padding: 30px; }
}

.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-skeleton);
  background-size: 200% 100%;
  animation: skeleton-loading 1.8s infinite linear;
  opacity: 0.6;
  z-index: 1;
}

.image-placeholder-icon {
  font-size: 2rem;
  color: var(--c-300);
  margin-bottom: 10px;
  z-index: 2;
  position: relative;
  animation: pulse-slow 3s infinite ease-in-out;
}

.image-placeholder-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--c-700);
  font-weight: 600;
  z-index: 2;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.image-placeholder-subtext {
  font-size: 0.72rem;
  color: var(--color-text-light);
  margin-top: 4px;
  z-index: 2;
  position: relative;
}

/* ============================================================
   TOP HEADER BAR — hidden on mobile (too small)
   ============================================================ */
.header-top {
  display: none;
}

@media (min-width: 768px) {
  .header-top {
    display: block;
    background: var(--c-900);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .header-top-info {
    display: flex;
    gap: 20px;
  }

  .header-top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .header-top-info a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: var(--transition);
  }

  .header-top-info a:hover { color: var(--c-300); }

  .header-top-socials {
    display: flex;
    gap: 12px;
  }

  .header-top-socials a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
  }

  .header-top-socials a:hover {
    color: var(--c-300);
    transform: scale(1.15);
  }
}

/* ============================================================
   NAVBAR — Mobile First
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(167,243,208,0.4);
  padding: 10px 0;
  transition: var(--transition);
  /* Prevent content overflow */
  overflow: visible;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--c-900);
  display: flex;
  align-items: center;
  gap: 8px;
  /* Don't let logo shrink too much */
  flex-shrink: 0;
  /* Max width so it doesn't push hamburger off screen */
  max-width: calc(100% - 60px);
}

.logo img {
  height: 40px !important;
  width: auto !important;
  max-width: 140px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo img { height: 48px !important; max-width: 180px; }
  .navbar { padding: 12px 0; }
  .navbar.scrolled { padding: 10px 0; }
}

/* Desktop nav menu */
.nav-menu {
  display: none; /* Hidden on mobile by default */
  list-style: none;
}

/* Mobile menu — full screen overlay */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100dvh;
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 80px 28px 40px;
    gap: 6px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    border-left: 1px solid var(--color-border);
    overflow-y: auto;
    list-style: none;
  }

  .nav-menu.open {
    display: flex;
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--c-800);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--c-50);
    color: var(--c-700);
  }

  .nav-btn {
    display: block !important;
    background: var(--grad-accent) !important;
    color: #022c22 !important;
    padding: 14px 16px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    text-align: center;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
  }
}

/* Desktop nav */
@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    flex-direction: row;
  }

  .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--c-800);
    padding: 6px 0;
    position: relative;
    letter-spacing: 0.01em;
    display: block;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-accent);
    border-radius: 2px;
    transition: var(--transition);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--c-700);
  }

  .nav-btn {
    background: var(--grad-dark) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    box-shadow: var(--shadow-sm);
  }

  .nav-btn::after { display: none !important; }

  .nav-btn:hover {
    background: var(--grad-premium) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow) !important;
    color: #ffffff !important;
  }
}

/* Mobile hamburger button */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 2px;
  /* Large touch target */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-900);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide hamburger on desktop */
@media (min-width: 992px) {
  .mobile-toggle { display: none; }
}

/* ============================================================
   HERO — Mobile First
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #ffffff;
  /* Mobile: comfortable padding */
  padding: 60px 0 48px;
  overflow: hidden;
  /* CRITICAL: contain content */
  isolation: isolate;
}

@media (min-width: 768px) { .hero { padding: 100px 0 80px; } }
@media (min-width: 1024px) { .hero { padding: 130px 0 100px; } }

/* Decorative orbs — hidden on mobile for performance */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -20%;
  right: -15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(52,211,153,0.15) 0%, transparent 70%);
  animation: float-orb 8s ease-in-out infinite;
}

.hero::after {
  bottom: -15%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16,185,129,0.10) 0%, transparent 70%);
  animation: float-orb 10s ease-in-out infinite reverse;
}

@media (min-width: 768px) {
  .hero::before { width: 500px; height: 500px; }
  .hero::after { width: 350px; height: 350px; }
}

/* Hero grid — single column on mobile */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
  /* Mobile: center everything */
  text-align: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    text-align: left;
  }
}

/* Subtitle pill — FIXED: no overflow on mobile */
.hero-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  /* Smaller on mobile */
  font-size: 0.65rem;
  color: var(--c-300);
  margin-bottom: 16px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  /* CRITICAL: don't overflow */
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  /* Center inline on mobile */
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 0.72rem;
    letter-spacing: 2px;
    white-space: nowrap;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  .hero-subtitle { margin-left: 0; margin-right: 0; }
}

/* Hero title — fluid, never overflow */
.hero-title {
  font-size: clamp(1.75rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: -0.01em;
  /* Prevent overflow */
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title span {
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Display block on mobile so it takes full line */
  display: block;
}

@media (min-width: 992px) {
  .hero-title span { display: inline; }
}

.hero-description {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  line-height: 1.7;
  /* Limit width on large screens */
  max-width: 100%;
}

@media (min-width: 992px) {
  .hero-description { max-width: 520px; }
}

/* CTA buttons */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (min-width: 992px) {
  .hero-cta { justify-content: flex-start; }
}

.hero-cta .btn {
  width: 100%;
  max-width: 280px;
}

@media (min-width: 480px) {
  .hero-cta .btn { width: auto; max-width: none; }
}

/* Hero badges — stat numbers */
.hero-badge-grid {
  display: grid;
  /* 3 equal columns always, no overflow */
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  /* Prevent overflow */
  width: 100%;
  overflow: hidden;
}

.hero-badge {
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.hero-badge:last-child { border-right: none; }

@media (min-width: 480px) {
  .hero-badge { padding: 0 16px; }
}

@media (min-width: 768px) {
  .hero-badge-grid { margin-top: 40px; padding-top: 32px; }
  .hero-badge { padding: 0 24px; }
}

.hero-badge-num {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #ffffff 0%, var(--c-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-badge-txt {
  font-size: clamp(0.6rem, 1.8vw, 0.72rem);
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  /* Prevent overflow */
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Hero image */
.hero-image-container {
  position: relative;
  /* On mobile, show after content */
  order: 2;
}

@media (min-width: 992px) {
  .hero-image-container { order: 0; }
}

.hero-image-container::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, rgba(52,211,153,0.2), rgba(16,185,129,0.1));
  border-radius: calc(var(--radius-lg) + 8px);
  filter: blur(16px);
  z-index: -1;
}

.hero-image-container img,
.hero-image-container picture img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.08);
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-image-container img,
  .hero-image-container picture img {
    max-height: 380px;
    border-radius: var(--radius-xl);
  }
}

@media (min-width: 992px) {
  .hero-image-container img,
  .hero-image-container picture img {
    max-height: 440px;
  }
}

/* ============================================================
   GLOBAL BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Min touch target */
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-spring);
  gap: 8px;
  cursor: pointer;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  /* No wrapping inside button */
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #022c22;
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(16,185,129,0.45);
  background: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
  color: #022c22;
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title-wrapper {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 0 4px;
}

@media (min-width: 768px) {
  .section-title-wrapper {
    max-width: 680px;
    margin: 0 auto 56px;
  }
}

.section-tag {
  font-family: var(--font-heading);
  color: var(--c-500);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--c-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.section-desc {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================================
   SERVICE CARDS — Mobile First
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(167,243,208,0.4);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(16,185,129,0.2);
}

.service-card:hover::before { opacity: 1; }

.service-card-image {
  overflow: hidden;
}

.service-card-image img,
.service-card-image picture img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

@media (min-width: 768px) {
  .service-card-image img,
  .service-card-image picture img {
    height: 220px;
  }
}

.service-card:hover .service-card-image img,
.service-card:hover .service-card-image picture img {
  transform: scale(1.06);
}

.service-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  padding: 20px 22px 8px;
  color: var(--c-900);
}

.service-card-desc {
  color: var(--color-text-light);
  font-size: 0.9rem;
  padding: 0 22px 16px;
  line-height: 1.65;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--c-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  /* Large touch target */
  min-height: 44px;
}

.service-card-link svg { transition: transform 0.22s ease; }
.service-card:hover .service-card-link { color: var(--c-500); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* Service detail (hizmetler sayfası) */
.service-detail-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.service-detail-image img,
.service-detail-image picture img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .service-detail-image { margin-bottom: 0; }
  .service-detail-image img,
  .service-detail-image picture img { height: 320px; }
}

/* ============================================================
   DISTRICTS SECTION
   ============================================================ */
.districts-section {
  background: var(--grad-hero);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.districts-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52,211,153,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.districts-section .section-title { color: #ffffff; }
.districts-section .section-tag { color: var(--c-300); }
.districts-section .section-desc { color: rgba(255,255,255,0.65); }

/* 2 cols on small mobile, more on larger */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 480px) { .districts-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 768px) { .districts-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .districts-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }

.district-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  /* Comfortable touch target */
  padding: 16px 10px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  transition: var(--transition-spring);
  display: block;
  position: relative;
  overflow: hidden;
  /* Prevent text overflow */
  overflow-wrap: break-word;
  word-break: break-word;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.district-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: var(--transition);
}

.district-card:hover {
  border-color: var(--c-400);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(16,185,129,0.3);
  color: #022c22;
}

.district-card:hover::before { opacity: 1; }

.district-card span {
  position: relative;
  z-index: 1;
}

/* Direct text inside (not span) */
.district-card > * { position: relative; z-index: 1; }

/* ============================================================
   ABOUT / TRUST SECTION — Mobile First
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
}

.about-image {
  position: relative;
  order: -1; /* Image first on mobile */
}

@media (min-width: 992px) {
  .about-image { order: 0; }
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(16,185,129,0.18);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-image img,
.about-image picture img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-image img,
  .about-image picture img { height: 340px; }
}

@media (min-width: 992px) {
  .about-image img,
  .about-image picture img { height: 400px; }
}

.about-content-subtitle {
  color: var(--c-500);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  display: block;
}

.about-content-title {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--c-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.about-content-text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

@media (min-width: 480px) {
  .about-features { grid-template-columns: 1fr 1fr; }
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--c-800);
  background: var(--c-50);
  border: 1px solid var(--c-100);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  /* Touch-friendly height */
  min-height: 44px;
  overflow-wrap: break-word;
}

.about-feature-item:hover {
  background: var(--c-100);
  border-color: var(--c-200);
  transform: translateX(3px);
}

.about-feature-item svg {
  color: var(--c-500);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ============================================================
   INSTAGRAM SECTION — Mobile First
   ============================================================ */
.instagram-section {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* 1 col on mobile, 2 on medium, 3 on large */
.instagram-embed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 12px;
}

@media (min-width: 640px) {
  .instagram-embed-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .instagram-embed-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.instagram-embed-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.instagram-embed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.instagram-embed-card .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.instagram-badge-hint {
  text-align: center;
  background: var(--c-50);
  border: 1px dashed var(--c-300);
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 20px;
}

.instagram-follow-btn {
  border-color: #e1306c !important;
  color: #e1306c !important;
  font-weight: 700;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
}

.instagram-follow-btn:hover {
  background: #e1306c !important;
  color: #ffffff !important;
  border-color: #e1306c !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(225,48,108,0.3) !important;
}

/* Old mock grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) {
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
.instagram-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-100);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

/* ============================================================
   CONTACT PAGE — Mobile First
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--grad-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.contact-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--c-900);
}

.contact-info-text {
  color: var(--color-text-light);
  font-size: 0.9rem;
  overflow-wrap: break-word;
}

.contact-form-card {
  background: #ffffff;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

@media (min-width: 480px) {
  .contact-form-card { padding: 36px 28px; }
}

@media (min-width: 768px) {
  .contact-form-card { padding: 44px; border-radius: var(--radius-xl); }
}

.contact-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--c-900);
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--c-800);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  /* Touch-friendly height */
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-100);
  background: var(--c-50);
  font-family: var(--font-body);
  font-size: 1rem; /* 16px prevents iOS zoom */
  color: var(--color-text-dark);
  transition: var(--transition);
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--c-400);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}

.btn-submit {
  width: 100%;
  background: var(--grad-dark);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  /* Large touch target */
  padding: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  letter-spacing: 0.02em;
  min-height: 52px;
}

.btn-submit:hover {
  background: var(--grad-premium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ============================================================
   DISTRICT HERO PAGE — Mobile First
   ============================================================ */
.district-hero {
  padding: 80px 0 50px;
  background: var(--grad-hero);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .district-hero { padding: 110px 0 70px; }
}

.district-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52,211,153,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.district-hero .section-tag { color: var(--c-300); }

.district-hero h1 {
  color: #ffffff;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 900;
  overflow-wrap: break-word;
}

.district-hero p {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.district-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .district-content-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
}

.district-text h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--c-900);
  overflow-wrap: break-word;
}

.district-text h2:first-of-type { margin-top: 0; }

.district-text p {
  color: var(--color-text-light);
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.district-sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .district-sidebar-card {
    position: sticky;
    top: 90px;
    padding: 32px;
  }
}

.district-sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-accent);
}

.district-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--c-900);
}

.district-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: var(--transition-spring);
  font-family: var(--font-heading);
  /* Large touch target */
  min-height: 52px;
  text-decoration: none;
}

.district-cta-btn.call {
  background: var(--grad-dark);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.district-cta-btn.call:hover {
  background: var(--grad-premium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.district-cta-btn.wp {
  background: linear-gradient(135deg, #25d366, #20ba5a);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.district-cta-btn.wp:hover {
  background: linear-gradient(135deg, #20ba5a, #128C46);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
}

/* ============================================================
   FOOTER — Mobile First
   ============================================================ */
.footer {
  background: var(--c-900);
  color: #ffffff;
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .footer { padding: 80px 0 32px; }
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
}

/* Mobile: single column, desktop: 3 columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr; gap: 56px; margin-bottom: 56px; }
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand .logo img {
  filter: brightness(1.1);
}

.footer-brand-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition-spring);
  /* Touch target */
  min-width: 40px;
}

.footer-social-icon:hover {
  background: var(--grad-accent);
  color: #022c22;
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(16,185,129,0.4);
}

.footer-title {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  /* Touch-friendly */
  min-height: 36px;
}

.footer-link:hover {
  color: var(--c-300);
  transform: translateX(4px);
}

.footer-contact-info { display: flex; flex-direction: column; gap: 16px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-item svg {
  color: var(--c-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  overflow-wrap: break-word;
  word-break: break-all;
}

.footer-contact-item a:hover { color: var(--c-300); }

.footer-contact-item > div {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   FLOATING BUTTONS — Mobile First
   ============================================================ */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

@media (min-width: 768px) {
  .floating-actions { bottom: 28px; right: 24px; gap: 14px; }
}

.floating-btn {
  /* Comfortable touch target on mobile */
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-spring);
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .floating-btn { width: 54px; height: 54px; border-radius: 16px; }
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.floating-btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128C46);
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}

.floating-btn-whatsapp:hover {
  box-shadow: 0 12px 28px rgba(37,211,102,0.55);
}

.floating-btn-call {
  background: var(--grad-dark);
  box-shadow: 0 6px 20px rgba(2,44,34,0.45);
}

.floating-btn-call::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 2px solid rgba(16,185,129,0.4);
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.floating-btn-call:hover {
  box-shadow: 0 12px 28px rgba(2,44,34,0.55);
}

/* Labels — only on desktop */
.floating-btn-label {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--c-900);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.1);
}

.floating-btn-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--c-900);
}

/* Only show labels on desktop hover */
@media (min-width: 768px) {
  .floating-btn:hover .floating-btn-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Always hide labels on mobile (space constraint) */
@media (max-width: 767px) {
  .floating-btn-label { display: none; }
}

/* ============================================================
   HAKKIMIZDA + HIZMETLER — About Grid alternate on pages
   ============================================================ */
.about-grid[style*="direction: rtl"] {
  direction: ltr;
}

/* Alternate image/text order on desktop using nth-child */
@media (min-width: 768px) {
  .about-grid .service-detail-content { order: 0; }
  .about-grid .service-detail-image { order: 0; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.1); opacity: 1; }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.92); opacity: 0.8; }
  50%  { opacity: 0.35; }
  100% { transform: scale(1.45); opacity: 0; }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(20px, -15px) scale(1.04); }
  66%      { transform: translate(-10px, 8px) scale(0.97); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ============================================================
   PERFORMANCE
   ============================================================ */
section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* Fix inline style image src overrides (from source HTML) */
.hero-image-container img {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.08) !important;
  width: 100% !important;
  height: auto !important;
  max-height: 300px !important;
  object-fit: cover !important;
}

@media (min-width: 768px) {
  .hero-image-container img { max-height: 380px !important; }
}

@media (min-width: 992px) {
  .hero-image-container img { max-height: 440px !important; }
}
