:root {
  --primary: #0d47a1;
  --primary-light: #1976d2;
  --accent: #00c853;
  --dark: #0a1929;
  --light: #ffffff;
  --gray: #f5f7fa;
  --text: #1a1a2e;
  --shadow: 0 4px 20px rgba(13,71,161,0.15);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--light); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* Anchor linkler düzgün çalışsın */
section[id] { scroll-margin-top: 80px; }

nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,71,161,0.08);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo img { max-height: 42px; width: auto; flex-shrink: 0; border-radius: 8px; }
.logo span { white-space: nowrap; font-size: 1.1rem; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text); transition: color 0.2s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--accent); color: white !important; padding: 10px 20px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 12px rgba(0,200,83,0.3);
}
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* ============================================
   PROFESYONEL HERO (Tam Ekran)
   ============================================ */
.hero {
  margin-top: 70px;
  min-height: 90vh;
  background: linear-gradient(135deg, #0a1929 0%, #0d47a1 50%, #1565c0 100%);
  color: white;
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0,200,83,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(79,195,247,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 span {
  color: #4fc3f7;
  display: inline-block;
}
.hero-sub {
  font-size: 1.25rem;
  opacity: 0.92;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn {
  padding: 16px 32px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: white; box-shadow: 0 4px 20px rgba(0,200,83,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,200,83,0.5); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: #f0f0f0; }
.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.stat { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: #4fc3f7; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }

section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; }
.section-title p { color: #666; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.about { background: var(--gray); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 16px; }
.about-text p { font-size: 1.05rem; color: #444; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.about-feature .icon { width: 28px; height: 28px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.about-img { background: linear-gradient(135deg, #e3f2fd, #bbdefb); border-radius: var(--radius); height: 320px; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--primary); box-shadow: var(--shadow); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   HIZMETLER (Resimli Kartlar)
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; transition: all 0.3s;
  border: 1px solid rgba(13,71,161,0.06);
  overflow: hidden;
  padding-bottom: 32px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(13,71,161,0.12); }
.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.service-card:hover .service-img img {
  transform: scale(1.05);
}
.service-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #e3f2fd, #bbdefb); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 32px auto 20px; font-size: 1.8rem; color: var(--primary); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary); padding: 0 24px; }
.service-card p { font-size: 0.9rem; color: #666; padding: 0 24px; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.why-card { text-align: center; padding: 24px; }
.why-icon { width: 56px; height: 56px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.4rem; }
.why-card h4 { margin-bottom: 8px; color: var(--primary); }
.why-card p { font-size: 0.9rem; color: #666; }

.regions { background: var(--gray); }
.regions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.region-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.region-card h3 { color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.region-card ul { list-style: none; }
.region-card li { padding: 6px 0; color: #555; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.region-card li::before { content: '•'; color: var(--accent); font-weight: bold; font-size: 1.2rem; }

/* ============================================
   ILETISIM (Sadece Bilgiler, Form Yok)
   ============================================ */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
}
.contact-info {
  background: white;
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-info h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-info > p:first-of-type {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 32px;
}
.contact-bilgi {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}
.contact-bilgi p {
  font-size: 1.15rem;
  color: #333;
  margin: 0;
}
.contact-bilgi a {
  color: var(--primary);
  font-weight: 700;
}
.contact-bilgi a:hover {
  text-decoration: underline;
}
.contact-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   GALERI (Oncesi & Sonrasi)
   ============================================ */
.before-after-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.before-after-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.before-after-card .images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.before-after-card img { width: 100%; height: 200px; object-fit: cover; }
.label-kirli { background: #e53935; color: white; padding: 4px 12px; border-radius: 4px; font-weight: 700; font-size: 0.8rem; }
.label-temiz { background: var(--accent); color: white; padding: 4px 12px; border-radius: 4px; font-weight: 700; font-size: 0.8rem; }
.before-after-card h4 { padding: 16px; text-align: center; color: var(--primary); font-size: 1rem; }

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; text-align: center; padding: 60px 24px; border-radius: var(--radius);
  margin: 0 24px; max-width: 1152px; margin-left: auto; margin-right: auto;
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

footer { background: var(--dark); color: white; padding: 60px 24px 30px; margin-top: 80px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.3rem; margin-bottom: 12px; color: #4fc3f7; }
.footer-brand p { opacity: 0.7; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: #4fc3f7; }
.footer-col a { display: block; padding: 6px 0; opacity: 0.7; transition: opacity 0.2s; font-size: 0.9rem; }
.footer-col a:hover { opacity: 1; color: #4fc3f7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; opacity: 0.5; font-size: 0.85rem; }

/* ============================================
   SAG ALTTAKI SABIT BUTONLAR (FAB)
   ============================================ */
.fab-container { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.6rem; box-shadow: 0 4px 16px rgba(0,0,0,0.2); cursor: pointer;
  transition: all 0.3s; border: none; position: relative; text-decoration: none;
}
.fab:hover { transform: scale(1.1); }
.fab-wp { background: #25d366; }
.fab-phone { background: var(--primary); }
.fab-label {
  position: absolute; right: 70px; background: white; color: var(--text); padding: 6px 14px;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.fab:hover .fab-label { opacity: 1; }

/* ============================================
   ALERT MESAJLARI
   ============================================ */
.alert { padding: 16px; border-radius: 8px; margin-bottom: 20px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ============================================
   ADMIN PANEL STILLERI
   ============================================ */
.admin-container { max-width: 1000px; margin: 100px auto 40px; padding: 0 24px; }
.admin-card { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 1rem; transition: border-color 0.2s; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.btn-admin { background: var(--primary); color: white; padding: 12px 24px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-admin:hover { background: var(--primary-light); }
.btn-danger { background: #e53935; color: white; padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 0.85rem; }
.btn-edit { background: #ff9800; color: white; padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 0.85rem; margin-right: 8px; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.admin-table th, .admin-table td { padding: 14px; text-align: left; border-bottom: 1px solid #eee; }
.admin-table th { background: var(--gray); color: var(--primary); font-weight: 700; }
.admin-table tr:hover { background: #fafbfc; }

.sekme-menu { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 2px solid #eee; padding-bottom: 12px; flex-wrap: wrap; }
.sekme-btn { padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; color: #666; background: #f5f5f5; border: none; cursor: pointer; font-size: 0.9rem; }
.sekme-btn.aktif { background: var(--primary); color: white; }
.sekme-btn .badge { background: #e53935; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.75rem; margin-left: 4px; }
.galeri-tablo img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }
.galeri-etiket-kirli { background: #e53935; color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.galeri-etiket-temiz { background: var(--accent); color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.durum-aktif { color: var(--accent); font-weight: 600; }
.durum-pasif { color: #999; }
.resim-onizleme { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 2px dashed #ddd; margin-top: 8px; }
.mesaj-okunmamis { background: #e3f2fd; }
.mesaj-okunmus { background: white; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.admin-header h2 { margin: 0; font-size: 1.4rem; color: var(--primary); line-height: 1.3; }
.admin-user-bar { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.admin-user-bar .user-name { color: #666; font-size: 0.95rem; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-bar .cikis-btn { background: #e53935; color: white; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; font-weight: 600; display: inline-block; white-space: nowrap; }
.admin-user-bar .cikis-btn:hover { background: #c62828; }
.ayar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================
   RESPONSIVE (Mobil)
   ============================================ */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 80px 20px 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 200px; }
  .contact-info { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .stat-num { font-size: 1.6rem; }
  section { padding: 60px 16px; }
  .before-after-card .images { grid-template-columns: 1fr; }
  .fab-container { bottom: 16px; right: 16px; }
  .fab { width: 52px; height: 52px; font-size: 1.3rem; }
  .admin-header { flex-direction: column; align-items: flex-start; }
  .admin-user-bar { width: 100%; justify-content: space-between; }
  .ayar-grid { grid-template-columns: 1fr; }
}