/* ==========================================================================
   Karataş Direksiyon - Kurumsal Çok Sayfalı Web Sitesi Stilleri
   Yetkili: Kadir Karataş | Tel: 0546 808 28 08
   Özellikler: Minimalist Açık Tema, Mobilde 2'li Grid, Kesin Sıfır Yatay Kayma
   ========================================================================== */

:root {
  --color-primary: #0b2545;       /* Prestijli derin lacivert */
  --color-primary-light: #134074; /* Orta lacivert */
  --color-accent: #0284c7;        /* Enerjik direksiyon mavisi */
  --color-accent-hover: #0369a1;
  --color-red: #dc2626;           /* Acil / Aksiyon kırmızısı */
  --color-whatsapp: #25d366;      /* WhatsApp yeşili */
  --color-whatsapp-hover: #1ebd59;
  
  --color-bg-main: #ffffff;       /* Saf beyaz */
  --color-bg-subtle: #f8fafc;     /* Çok açık gri/mavi zemin */
  --color-bg-card: #ffffff;       /* Kart zemini */
  --color-bg-alt: #f1f5f9;        /* Şerit zemin */
  
  --color-text-main: #0f172a;     /* Okunaklı koyu antrasit */
  --color-text-muted: #475569;    /* İkincil metin */
  --color-text-light: #64748b;    /* Açık etiketler */
  --color-border: #e2e8f0;        /* İnce kenarlık */
  --color-border-hover: #cbd5e1;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- KESİN SIFIR TAŞMA / RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.5;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* --- Konteyner --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* --- Sayfa Başlığı Banner (İç Sayfalar İçin) --- */
.page-banner {
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #ffffff;
  padding: 45px 0 40px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #e2e8f0;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: #38bdf8;
}

.breadcrumb span {
  color: #38bdf8;
  font-weight: 700;
}

.page-banner-title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-banner-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .page-banner {
    padding: 30px 0 28px 0;
  }
  .page-banner-title {
    font-size: 1.65rem;
  }
  .page-banner-desc {
    font-size: 0.88rem;
  }
}

/* --- Tipografi & Başlık Rozetleri --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-badge.red {
  background: #fee2e2;
  color: #b91c1c;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 24px;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .section-subtitle {
    font-size: 0.88rem;
  }
}

/* --- BUTONLAR (KESİNLİKLE MOBİLDE TAŞMA YAPMAZ) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  word-break: normal;
  line-height: 1.35;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: #f8fafc;
}

.btn-call {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-call:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Mobilde butonların tam sığması için */
@media (max-width: 640px) {
  .btn {
    padding: 10px 14px;
    font-size: 0.86rem;
    white-space: normal;
  }
}

/* --- Top Bar (Kaldırıldı) --- */
.topbar {
  display: none !important;
}

/* --- Header / Navbar --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
  flex-shrink: 0;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--color-accent);
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text-main);
  position: relative;
  transition: color var(--transition-fast);
  padding: 6px 0;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-primary);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 991px) {
  .navbar {
    height: 62px;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px 24px;
    gap: 12px;
    border-bottom: 2px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .header-actions .btn-desktop {
    display: none;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              #ffffff;
  padding: 45px 0 45px 0;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  word-break: break-word;
}

.hero-title .highlight {
  color: var(--color-accent);
}

.hero-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  width: 100%;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 520px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.badge-item svg {
  color: var(--color-accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  max-width: 100%;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid #ffffff;
}

.hero-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.hero-card-floating {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-info h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-primary);
}

.floating-info p {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

.floating-tag {
  background: #f0fdf4;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-card img {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 26px 0 28px 0;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-description {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-badges {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .badge-item {
    padding: 6px 8px;
    font-size: 0.72rem;
  }
}

/* --- Stats Strip --- */
.stats-strip {
  background: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #e0f2fe;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-num {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stat-box {
    padding: 6px 4px;
    gap: 8px;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
  }
  .stat-icon svg {
    width: 16px;
    height: 16px;
  }
  .stat-num {
    font-size: 1rem;
  }
  .stat-label {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   HİZMETLERİMİZ - MOBİLDE KESİNLİKLE 2'Lİ GRID
   ========================================================================== */
.services-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.service-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

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

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrap {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.service-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.service-feature-item svg {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: auto;
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(3px);
}

/* MOBİL 2'Lİ GRID */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .services-section {
    padding: 34px 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  
  .service-card {
    padding: 12px 10px !important;
    border-radius: var(--radius-md);
  }
  
  .service-icon-wrap {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
  }
  
  .service-icon-wrap svg {
    width: 18px;
    height: 18px;
  }
  
  .service-title {
    font-size: 0.84rem !important;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.25;
  }
  
  .service-desc {
    font-size: 0.72rem !important;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  
  .service-features {
    display: none;
  }
  
  .service-link {
    font-size: 0.72rem;
    font-weight: 700;
  }
}

@media (max-width: 360px) {
  .services-grid {
    gap: 6px !important;
  }
  .service-card {
    padding: 10px 6px !important;
  }
  .service-title {
    font-size: 0.78rem !important;
  }
  .service-desc {
    font-size: 0.68rem !important;
  }
}

/* ==========================================================================
   ATÖLYEMİZ & GALERİ - MOBİLDE 2'Lİ GRID
   ========================================================================== */
.gallery-section {
  padding: 60px 0;
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: #ffffff;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.gallery-overlay-icon svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
}

.gallery-overlay-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .gallery-section {
    padding: 32px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 70%);
    padding: 6px 8px;
  }
  .gallery-overlay-icon {
    display: none;
  }
  .gallery-overlay-title {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   NEDEN BİZ? & SÜREÇ
   ========================================================================== */
.why-section {
  padding: 60px 0;
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  position: relative;
}

.process-step {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.process-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 6px;
  margin-bottom: 6px;
}

.process-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }
}

@media (max-width: 640px) {
  .why-section {
    padding: 34px 0;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    row-gap: 18px !important;
  }
  .process-card {
    padding: 14px 8px;
    border-radius: var(--radius-md);
  }
  .process-card h4 {
    font-size: 0.82rem;
    margin-top: 2px;
  }
  .process-card p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

/* ==========================================================================
   HAKKIMIZDA & KADİR KARATAŞ (SIFIR SAĞA TAŞMA)
   ========================================================================== */
.about-section {
  padding: 60px 0;
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.about-image-wrapper {
  position: relative;
  max-width: 100%;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 3px solid #ffffff;
  display: block;
}

/* Rozet kartı mobilde ekrandan dışarı taşmayacak şekilde sınırlandı */
.about-badge-card {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 24px);
}

.about-badge-card .num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.about-badge-card .text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.about-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.about-content h2 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 14px;
  word-break: break-word;
}

.about-content p {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  word-break: break-word;
}

.about-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 22px;
  width: 100%;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  word-break: break-word;
}

.about-feature-item svg {
  color: #10b981;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-img {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 32px 0;
  }
  .about-content h2 {
    font-size: 1.35rem;
  }
  .about-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .about-features-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-badge-card {
    padding: 8px 12px;
    bottom: 8px;
    right: 8px;
  }
  .about-badge-card .num {
    font-size: 1.3rem;
  }
  .about-badge-card .text {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   SSS / AKORDİYON
   ========================================================================== */
.faq-section {
  padding: 55px 0;
  background: #ffffff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-accent);
  background: #ffffff;
}

.faq-question {
  width: 100%;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--color-primary);
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding: 0 18px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 18px 14px 18px;
}

/* ==========================================================================
   İLETİŞİM & HARİTA
   ========================================================================== */
.contact-section {
  padding: 60px 0;
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.contact-info-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

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

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: #e0f2fe;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-text h5 {
  font-size: 0.74rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  word-break: break-word;
}

.contact-detail-text a:hover {
  color: var(--color-accent);
}

.quick-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.contact-form-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--color-text-main);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 75px;
}

.map-wrapper {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: 320px;
  background: #e2e8f0;
  width: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 34px 0;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 18px 14px;
  }
  .quick-contact-actions {
    flex-direction: column;
  }
  .quick-contact-actions .btn {
    width: 100%;
  }
  .map-wrapper {
    height: 240px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0b1d33;
  color: #cbd5e1;
  padding: 45px 0 20px 0;
  border-top: 1px solid #1e293b;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 35px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 380px;
  margin-bottom: 14px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

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

.footer-link {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
  word-break: break-word;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-bottom: 65px; /* Mobil alt bar için boşluk */
  }
}

/* ==========================================================================
   WHATSAPP BUTONLARI & MOBİL ÇİFT BUTON DÜZELTMESİ
   ========================================================================== */
/* Masaüstünde sağ altta duran yüzen buton */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0.7;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  background: #ffffff;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* MOBİLDE ÇİFT WHATSAPP'I ENGELLEME:
   Mobilde (.mobile-bottom-bar) olduğu için sağdaki yuvarlak butonu tamamen GİZLİYORUZ */
@media (max-width: 768px) {
  .floating-whatsapp {
    display: none !important; /* Kullanıcı talebi: mobilde 2 tane olmasın, sağdaki kalksın */
  }
}

/* Mobil Alt Sabit Aksiyon Barı */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 12px;
  z-index: 998;
}

.mobile-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.mobile-btn-call {
  background-color: var(--color-primary);
  color: #ffffff;
}

.mobile-btn-wa {
  background-color: var(--color-whatsapp);
  color: #ffffff;
}

.mobile-bottom-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -38px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close svg {
  width: 26px;
  height: 26px;
}
