/* ================= ROOT ================= */
:root {
  --primary: #1e3a8a;
  --secondary: #1e40af;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --orange: #ea580c;
  --dark-blue: #0f172a;
  --navy: #1e293b;
  --red: #dc2626;
  --gold: #d97706;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --shadow: rgba(15, 23, 42, 0.1);
  --shadow-hover: rgba(15, 23, 42, 0.15);
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  --gradient-neutral: linear-gradient(135deg, #475569 0%, #64748b 100%);
}

/* ================= RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none !important;
}

html, body {
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ================= DARK MODE ================= */
@media (prefers-color-scheme: dark) {
  html, body {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  }
  
  /* Tüm ana container'lar koyu olsun */
  main,
  .main-container,
  .content,
  .layout {
    background: transparent !important;
  }
  
  .hizmet-content {
    background: rgba(30, 41, 59, 0.3);
    padding: 20px;
    border-radius: 20px;
  }
  
  #ilceBaslik {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #e0e7ff;
    border-left-color: #3b82f6;
  }
  
  #ilceAciklama {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #cbd5e1;
    border-left-color: #f87171;
  }
  
  .hizmet-sidebar,
  .center-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  }
  
  .hizmet-sidebar h3 {
    color: #93c5fd;
  }
  
  .district-list li {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #e0e7ff;
    border-left-color: #3b82f6;
  }
  
  .district-list li.slide-in:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  }
  
  .faydali-linkler-container {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  }
  
  .link-box {
    background: transparent !important;
  }
  
  .link-box h3 {
    color: #93c5fd;
  }
  
  .link-box h3::after {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
  }
  
  .faydali-linkler-container a {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #fecaca;
    border-left-color: #f87171;
  }
  
  .faydali-linkler-container a.slide-in:hover {
    background: var(--gradient-accent);
    color: #fff;
  }
  
  .google-ad,
  .footer-ad {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border-color: #475569;
    color: #cbd5e1;
  }
  
  .google-ad p,
  .footer-ad p {
    color: #94a3b8;
  }
  
  #desktop-info-box {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    border-color: #3b82f6;
  }
  
  #desktop-info-box h3 {
    color: #93c5fd;
  }
  
  #desktop-info-box p {
    color: #cbd5e1;
  }
}

/* ================= LAYOUT ================= */
main {
  flex: 1;
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary) 100%);
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: headerGlow 15s ease-in-out infinite;
}

@keyframes headerGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20%, -20%); }
}

.home-btn {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
}

.home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ================= BAŞLIK & AÇIKLAMA ================= */
.hizmet-content {
  text-align: center;
  margin: 50px auto;
  width: 70%;
  max-width: 900px;
}

#ilceBaslik {
  font-size: 36px;
  font-weight: 700;
  padding: 30px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  color: var(--text-dark);
  border-left: 6px solid var(--primary);
  position: relative;
  overflow: hidden;
}

#ilceBaslik::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

#ilceAciklama {
  font-size: 18px;
  line-height: 1.8;
  padding: 25px 30px;
  margin-top: 20px;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-radius: 20px;
  box-shadow: 0 8px 25px var(--shadow);
  border-left: 4px solid var(--accent);
  color: var(--text-dark);
}

/* ================= HİZMET BÖLGEMİZ ================= */
.hizmet-sidebar {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-radius: 30px;
  box-shadow: 0 15px 40px var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hizmet-sidebar::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hizmet-sidebar:hover::before {
  opacity: 0.1;
}

.hizmet-sidebar h3 {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

.district-list {
  list-style: none;
}

.district-list li {
  font-size: 17px;
  font-weight: 500;
  padding: 18px 28px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
  border-radius: 15px;
  cursor: pointer;
  color: var(--text-dark);
  border-left: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

/* Animasyon için başlangıç durumu */
.district-list li.animate-ready {
  opacity: 0;
  transform: translateX(-80px);
  filter: blur(10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease;
}

/* Görünür hale gelince */
.district-list li.slide-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
  filter: blur(0px) !important;
}

/* Yukarı kaydırınca sağa kayarak gitsin */
.district-list li.slide-out {
  opacity: 0 !important;
  transform: translateX(80px) !important;
  filter: blur(10px) !important;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease !important;
}

/* Hover efekti - sadece görünür öğelerde */
.district-list li.slide-in:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-left-color: var(--accent);
  transform: translateX(10px) scale(1.05) !important;
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease !important;
}

.district-list li.slide-in:hover::before {
  color: var(--white);
}

.district-list li::before {
  content: "→";
  position: absolute;
  left: 15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent);
  font-weight: bold;
  pointer-events: none;
}

.district-list li.slide-in:hover::before {
  opacity: 1;
  left: 20px;
}

/* ================= GOOGLE & FOOTER REKLAM ================= */
.google-ad,
.footer-ad {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 25px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px dashed #cbd5e1;
}

/* ================= FAYDALI LİNKLER ================= */
.faydali-linkler-container {
  max-width: 450px;
  margin: 60px auto;
  padding: 35px;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  border-radius: 30px;
  box-shadow: 0 15px 40px var(--shadow);
}

.faydali-linkler-container ul,
.faydali-linkler-container li {
  list-style: none !important;
}

.faydali-linkler-container li::marker {
  content: "";
}

.link-box h3 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

.link-box h3::after {
  content: "";
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  display: block;
  margin: 15px auto 0;
  border-radius: 10px;
}

.faydali-linkler-container a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-radius: 15px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  border-left: 4px solid var(--accent);
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  position: relative;
  will-change: transform, opacity;
}

/* Animasyon için başlangıç durumu */
.faydali-linkler-container a.animate-ready {
  opacity: 0;
  transform: translateX(-80px);
  filter: blur(10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease;
}

/* Görünür hale gelince */
.faydali-linkler-container a.slide-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
  filter: blur(0px) !important;
}

/* Yukarı kaydırınca sağa kayarak gitsin */
.faydali-linkler-container a.slide-out {
  opacity: 0 !important;
  transform: translateX(80px) !important;
  filter: blur(10px) !important;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease !important;
}

/* Hover efekti - sadece görünür öğelerde */
.faydali-linkler-container a.slide-in:hover {
  background: var(--gradient-accent);
  color: var(--white);
  border-left-color: var(--primary);
  transform: translateX(8px) scale(1.05) !important;
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease !important;
}

.faydali-linkler-container a.slide-in:hover i {
  color: var(--white) !important;
}

.faydali-linkler-container a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.faydali-linkler-container a.slide-in:hover::before {
  left: 100%;
}

.faydali-linkler-container a i {
  font-size: 22px;
  min-width: 28px;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.faydali-linkler-container a.slide-in:hover i {
  transform: scale(1.3) rotate(10deg);
  color: var(--white) !important;
}

/* ikon renkleri - kurumsal tonlar */
.fa-map-marker-alt { color: #dc2626; }
.fa-bolt { color: #d97706; }
.fa-money-bill-wave { color: #16a34a; }
.fa-phone-alt { color: #1e40af; }
.fa-truck-pickup { color: #7c3aed; }
.fa-elephant { color: #ea580c; }

/* ================= WHATSAPP ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: whatsappFloat 3s ease-in-out infinite;
  transition: all 0.4s ease;
  border: none !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  cursor: pointer;
}

.floating-whatsapp::before,
.floating-whatsapp::after {
  content: none !important;
}

.floating-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
}

@keyframes whatsappFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(-5deg);
  }
  50% { 
    transform: translateY(-15px) rotate(0deg);
  }
  75% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
  color: #cbd5e1;
  padding: 50px 0 30px;
  text-align: center;
  box-shadow: 0 -4px 20px var(--shadow);
  margin-top: 80px;
}



/* ================= SOSYAL İKONLAR ================= */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}







.social-links a {
  font-size: 32px;
  margin: 0 15px;
  display: inline-block;
  transition: all 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: grayscale(30%);
  position: relative;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 2s ease;
  z-index: -1;
}

.fa-instagram { color: #E1306C; }
.fa-twitter { color: #1DA1F2; }
.fa-youtube { color: #FF0000; }

/* Desktop hover */
.social-links a:hover {
  transform: translateY(-10px) scale(1.3) rotate(360deg);
  filter: grayscale(0%) drop-shadow(0 8px 20px rgba(255,255,255,0.4));
  transition-delay: 0s;
}

.social-links a:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Mobil touch - animasyon önce oynar, sonra link açılır */
.social-links a.touch-animate {
  transform: translateY(-10px) scale(1.3) rotate(360deg);
  filter: grayscale(0%) drop-shadow(0 8px 20px rgba(255,255,255,0.4));
}

.social-links a.touch-animate::before {
  transform: translate(-50%, -50%) scale(1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 8px 20px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover::after {
  width: 100%;
}


.footer-links a.force-hover::after {
  width: 100% !important;
}




/* ================= MOBİL ================= */
@media (max-width: 768px) {
  .hizmet-content {
    width: 95%;
  }

  #ilceBaslik {
    font-size: 28px;
    padding: 25px 20px;
  }

  #ilceAciklama {
    font-size: 16px;
    padding: 20px;
  }

  .hizmet-sidebar,
  .faydali-linkler-container {
    max-width: 95%;
    padding: 25px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 32px;
  }

  .social-links a {
    font-size: 28px;
  }
}

/* ================= IŞIK ÇİZGİ EFEKTİ ================= */
.district-list li {
  position: relative;
  overflow: hidden;
}

.district-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(30, 58, 138, 0.3),
    transparent
  );
  background-size: 300% 300%;
  opacity: 0;
  pointer-events: none;
}

.district-list li:hover::after,
.district-list li.active::after {
  opacity: 1;
  animation: lightBorder 1.5s linear infinite;
}

@keyframes lightBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ================= FAYDALI LİNKLER – IŞIK ================= */
.faydali-linkler-container a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(220, 38, 38, 0.3),
    transparent
  );
  background-size: 300% 300%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.faydali-linkler-container a:hover::after,
.faydali-linkler-container a:active::after {
  opacity: 1;
  animation: lightBorder 1.5s linear infinite;
}

/* ================= DESKTOP INFO POPUP ================= */
#desktop-info-box {
  position: fixed;
  top: 120px;
  left: 60px;
  width: 380px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 20px 60px var(--shadow);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  border: 3px solid var(--primary);
}

#desktop-info-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

#desktop-info-box.hide {
  opacity: 0;
  transform: translateX(-30px) scale(0.9);
}

#desktop-info-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#desktop-info-box p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ================= TABLET POPUP AYARI ================= */
@media (min-width: 769px) and (max-width: 1024px) {
  #desktop-info-box {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 90%;
    max-width: 450px;
    padding: 25px;
  }

  #desktop-info-box.active {
    transform: translateX(-50%) scale(1);
  }

  #desktop-info-box h3 {
    font-size: 22px;
  }

  #desktop-info-box p {
    font-size: 15px;
  }
}

.site-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

/* === KORUMA === */
* {
 -webkit-user-select: none;
 -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img, a {
  -webkit-user-drag: none;
  user-drag: none;
}

body {
  -webkit-touch-callout: none;
}

.seo-text {
  display: none;
}


