@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* YENİ RENKLER - Koyu Lacivert & Mavi */
  --primary-color: #364f93;      /* Koyu lacivert */
  --primary-dark: #1e293b;       /* Gece mavisi */
  --primary-light: #3b82f6;      /* Parlak mavi */
  --accent-color: #60a5fa;       /* Açık mavi (vurgu) */
  --accent-glow: rgba(96, 165, 250, 0.3);
  
  --text-dark: #0f172a;
  --text-light: #64748b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-800: #1e293b;
  
  --shadow: 0 10px 40px rgba(30, 58, 138, 0.15);
  --shadow-lg: 0 25px 50px rgba(30, 58, 138, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.topbar {
  background: transparent;                     /* Ana elementi transparent yapıyoruz */
  backdrop-filter: none;                       /* Blur'u buradan kaldır */
  padding: 15px 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);   /* Gölgeyi koruyoruz */
  transition: all 0.3s ease;
  border-bottom: none;                         /* Border'ı ::before'a taşıyoruz */
}

.topbar {
  background: transparent;
  backdrop-filter: none;
  padding: 15px 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  border-bottom: none;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96, 165, 250, 0.1);
  z-index: -1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  position: relative;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.icon-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.logo-ea {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5), transparent);
  margin: 0 2px;
}

.logo-charge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 3px;
  line-height: 1;
  margin-top: 2px;
  text-transform: uppercase;
}

.navbar {
  display: flex;
  gap: 30px;
}

.navbar a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO SECTION - FOTOĞRAF ARKA PLAN
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  padding-top: 80px;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 50%;
  left: 75%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1);
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 58, 138, 0.85) 50%, 
    rgba(30, 58, 138, 0.6) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 0 50px;
  text-align: left;
  margin-top: 80px;
  margin-left: 5%;
}

.hero-content-left {
  margin-left: 8%;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .hero-content {
    margin-left: 8vw;
    margin-top: 60px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(96, 165, 250, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;

}
.hero-title::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(96, 165, 250, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.title-highlight {
  color: #ffffff;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(96, 165, 250, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 480px;
}

.hero-services {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.service-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.service-tag:hover {
  background: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.service-tag i {
  font-size: 0.9rem;
  color: #60a5fa;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #60a5fa;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { top: 10px; opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

.scroll-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
/* ============================================
   NAVBAR - RENK SABİTLEME (LACİVERT)
   ============================================ */

.topbar {
  background: transparent;
  backdrop-filter: none;
  padding: 15px 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  border-bottom: none;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 41, 59, 0.95); /* KOYU LACİVERT - sabit renk */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96, 165, 250, 0.1);
  z-index: -1;
}

/* Scroll olsa bile renk değişmesin - JavaScript'teki renk değişimini override et */
.topbar.scrolled::before,
.topbar[style*="background"]::before {
  background: rgba(30, 41, 59, 0.98) !important; /* Daha opak lacivert */
}

/* ============================================
   HERO SECTION - MOBİL UYUMLULUK
   ============================================ */

/* Masaüstü için mevcut ayarlar korunuyor */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  padding-top: 80px;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 50%;
  left: 75%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1);
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 58, 138, 0.85) 50%, 
    rgba(30, 58, 138, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 0 50px;
  text-align: left;
  margin-top: 80px;
  margin-left: 5%;
}

/* ============================================
   MOBİL UYUMLULUK - SADECE HERO SECTION
   ============================================ */

@media (max-width: 768px) {
  /* Navbar mobil düzeltme */
  .topbar {
    padding: 12px 20px;
  }
  
  .topbar::before {
    background: rgba(30, 41, 59, 0.98); /* Mobilde de lacivert kalsın */
  }

  /* Hero tam ekran ve sığan */
  .hero {
    min-height: 100vh;
    height: 100vh;
    padding-top: 70px; /* Navbar yüksekliği kadar */
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
  }

  /* Arka plan resmi düzgün sığsın */
  .hero-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
  }

  /* Overlay mobilde daha koyu ama yeşil değil */
  .hero-bg-overlay {
    background: linear-gradient(180deg, 
      rgba(15, 23, 42, 0.90) 0%, 
      rgba(30, 58, 138, 0.85) 50%,
      rgba(30, 58, 138, 0.80) 100%
    ) !important;
  }

  /* İçerik ortalı ve sığan */
  .hero-content {
    margin: 0 auto !important;
    padding: 0 20px !important;
    max-width: 100% !important;
    width: 100%;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Başlık boyutu mobilde uygun */
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    word-wrap: break-word;
    max-width: 100%;
  }

  /* Alt başlık */
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    margin-bottom: 25px !important;
    max-width: 90%;
    line-height: 1.6;
  }

  /* Servis ikonları yan yana sığsın */
  .hero-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
  }

  .service-tag {
    padding: 8px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
    .hero-bg-image {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    object-position: center center !important;
  }

  /* Butonlar alt alta ve tam genişlik */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
  }

  /* Scroll indicator gizli */
  .scroll-indicator {
    display: none !important;
  }
}

/* ============================================
   NAVBAR MOBİL MENÜ DÜZELTME
   ============================================ */

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98) !important; /* Lacivert menü */
    flex-direction: column;
    padding: 25px 20px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
  }

  .navbar.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
  }
}
/* Resim düzeltme - en alta ekleyin */
  .hero-bg-container .hero-bg-image {
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    object-position: center center !important;
    width: 100% !important;
    min-width: 100% !important;
  }


/* ============================================
   JAVASCRIPT RENK DEĞİŞİMİNİ ENGELLE
   ============================================ */

/* Scroll sonrası renk değişimini engelle */
.topbar {
  background: transparent !important; /* JavaScript inline style'ı override et */
}

/* Eğer JavaScript `style` attribute eklerse bile ::before sabit kalır */

/* HAKKIMIZDA SECTION - ORİJİNAL HALİ (baştan sona) */
.about-section {
  padding: 100px 0;
  background: var(--gray-50);
}
.about-section {
  overflow: visible;          /* hidden olursa sticky bozulur */
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;        /* üst hizalama önemli */
}

.about-image {
  position: sticky;
  top: 100px;                /* navbar yüksekliğine göre ayarla, 80-120px arası dene */
  align-self: start;         /* grid içinde üstte tutar */
  height: fit-content;
  z-index: 1;                /* diğer içeriklerin üstüne çıkmasın */
}
.image-frame {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-badge {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.exp-text {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-content: start;
}

.about-stat-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease;
  height: fit-content;
}
.about-stat-card {
  position: relative !important;  /* sticky etkisini kır */
  transform: translateZ(0);       /* bazen GPU hızlandırma fix'ler */
}

.about-stat-card:hover {
  transform: translateY(-5px);
}

.about-stat-card.wide {
  grid-column: span 2;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(15, 118, 110, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-number-large {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.about-stat-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* RESPONSIVE - Hakkımızda için */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    position: relative;
    top: 0;
    order: -1;
  }
  
  .image-frame {
    height: 300px;
  }
  
  .about-stat-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .about-section {
    padding: 80px 0;
  }
  
  .image-frame {
    height: 280px;
  }
  
  .exp-number {
    font-size: 3.5rem;
  }
}
/* PORTFOLYO SECTION */
.portfolio-section {
  padding: 100px 0;
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 30px;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.portfolio-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.portfolio-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.portfolio-cta {
  text-align: center;
  padding: 40px;
  background: var(--gray-50);
  border-radius: 20px;
}

.portfolio-cta p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.locations-section {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.locations-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.map-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.marmara-map {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-svg {
  width: 100%;
  height: auto;
  max-height: 400px;
}

/* Noktalar temizlendi */
.city-dot {
  r: 10;
  stroke-width: 2;
}

.city-label {
  font-size: 12px;
}

.pulse-ring {
  display: none;
}

.location-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.location-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  color: var(--white);
}

.location-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.18);
}

.location-card h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.location-card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.project-count {
  background: var(--accent-color);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

/* Mobil düzen */
@media (max-width: 768px) {
  .locations-content {
    gap: 30px;
  }
  
  .map-wrapper {
    max-width: 100%;
  }
  
  .marmara-map {
    min-height: 300px;
    padding: 15px;
  }
  
  .location-cards-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  /* ... diğer mobil kodlarınız ... */

  /* Portfolio overlay mobilde her zaman görünür */
  .portfolio-item .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 20px;
  }

  .portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
  }

  .portfolio-overlay h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
  }

  .portfolio-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.95);
  }
}


/* HİZMET ALANLARIMIZ – Harita sola, şehirler sağda ikonlu alt alta */
.locations-section {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.locations-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* sol harita, sağ şehirler */
  gap: 50px;
  align-items: start;
}

.map-side {
  position: sticky;
  top: 140px;
  height: fit-content;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 80px;
}

#real-map {
  height: 280px !important;
  width: 100% !important;
  background: #f0f7ff;
}

.cities-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  color: var(--white);
}

.location-item:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.location-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
}

.location-info h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.location-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 8px;
}

.project-count {
  background: var(--accent-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

/* Responsive – mobil'de üst üste */
@media (max-width: 968px) {
  .locations-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-side {
    position: relative;
    top: 0;
  }
  
  #real-map {
    height: 240px !important;
  }
}

@media (max-width: 576px) {
  .location-item {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .location-icon {
    margin: 0 auto;
  }
  
  .project-count {
    margin-top: 8px;
  }
}
/* CİHAZLAR SECTION */
.products-section {
  padding: 100px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--gray-50);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-image {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--gray-100), var(--white));
}

.brand-logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-logo.schneider { color: #009e4d; }
.brand-logo.zerova { color: #0066cc; }
.brand-logo.abb { color: #ff0000; }
.brand-logo.teltonika { color: #00a651; }
.brand-logo.hera { color: #db9225aa; }

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-content {
  padding: 25px;
}

.product-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  margin-bottom: 20px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.product-features i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.product-type {
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-details {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

.btn-details:hover {
  gap: 10px;
}

/* HİZMETLER SECTION - ORİJİNAL HALİ (baştan sona) */
.services-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card:hover {
  border-color: var(--gray-200);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  transform: scale(1.03);
  border: 1px solid var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.service-card.featured::before {
  background: var(--accent-color);
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(13, 148, 136, 0.15);
}

.service-card.featured .service-icon {
  background: rgba(217, 119, 6, 0.08);
  color: var(--accent-color);
}

.service-card.featured:hover .service-icon {
  background: rgba(217, 119, 6, 0.15);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service-card > p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.service-card ul {
  list-style: none;
}

.service-card ul li {
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding-left: 22px;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
}

/* RESPONSIVE - Hizmetler için */
@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
}
/* NEDEN BİZ SECTION */
.why-us-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: relative;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.feature-item h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* İLETİŞİM SECTION */
.contact-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-desc {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content h4 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.form-group label {
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--white);
  padding: 0 5px;
}

.form-group textarea ~ label {
  top: 25px;
  transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0;
  left: 15px;
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 500;
}

.form-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.form-group textarea ~ i {
  top: 20px;
  transform: none;
}

.form-group input:focus ~ i,
.form-group textarea:focus ~ i {
  color: var(--primary-color);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* ORTAKLAR MARQUEE */
.partners-marquee-section {
  padding: 60px 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite; /* önceki hızı koruyoruz – 40 saniye */
  width: max-content;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* iki set olduğu için -50% – bitmeden başa döner */
  }
}

.marquee-item {
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  max-width: 150px;
}

/* FOOTER */
.footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-section p,
.footer-section ul li {
  color: #9ca3af;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
  color: #6b7280;
  font-size: 0.9rem;
}

/* WHATSAPP BUTTON */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

.whatsapp-button:hover {
  transform: scale(1.1) rotate(10deg);
  background: #128c7e;
}

/* POPUP STYLES - DÜZENLENDİ */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup.active {
  display: flex;
}

.popup-icerik {
  background: white;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 24px;
  padding: 60px;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(50px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.kapat-buton {
  position: absolute;
  top: 30px;
  right: 40px;
  border: none;
  background: var(--gray-100);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.kapat-buton:hover {
  background: var(--accent-color);
  color: white;
}

.popup-baslik {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  line-height: 1.2;
}

.popup-aciklama {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 100%;
}

.popup-footer {
  margin-top: 50px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* MOBILE RESPONSIVE */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    position: relative;
    top: 0;
    order: -1;
  }
  
  .image-frame {
    height: 300px;
  }
  
  .about-stat-card.wide {
    grid-column: span 1;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .locations-content {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .popup-icerik {
    padding: 40px 20px;
  }
  
  .popup-baslik {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 15px 20px;
  }

  .navbar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 118, 110, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .navbar.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-image {
    height: 240px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    transform: scale(1);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .marquee-item {
    height: 50px;
  }

  .partner-img {
    height: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
  
  .popup-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .marmara-map {
    padding: 20px;
  }

  .map-svg {
    max-height: 250px;
  }

  .city-label {
    font-size: 10px;
  }
}
.map-container {
  position: sticky;
  top: 100px;
  height: fit-content;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#real-map {
  height: 500px;
  width: 100%;
  background: #e0e0e0; /* yüklenirken görünür olsun */
}

@media (max-width: 768px) {
  #real-map {
    height: 400px;
  }
  .map-container {
    position: relative;
    top: 0;
  }
}
/* SECTION HEADER - Tüm bölümlerin başlık fontları*/
.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.section-badge {
  display: inline-block;
  background: rgba(96, 165, 250, 0.12);   /* hafif accent tonu */
  color: var(--accent-color);             /* #60a5fa - açık mavi */
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-color);            /* koyu lacivert #364f93 – siyah yerine bunu kullan, kontrast daha iyi */
  margin-bottom: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.5px;
}

.section-title .highlight {
  color: var(--primary-light);            /* #3b82f6 – parlak mavi vurgu */
  position: relative;
  display: inline-block;
}

.section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent-color);
  opacity: 0.35;
  border-radius: 3px;
  z-index: -1;
}

.section-desc {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-light);               /* #64748b – gri ton, yumuşak okunur */
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   MOBİL UYUM – ANA SAYFA GENEL İYİLEŞTİRME
   ============================================ */

/* Keşfet ikonunu mobilde tamamen gizle */
.mobile-hide {
  display: block; /* masaüstünde görünür */
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none !important; /* mobilde gizli */
  }
}

/* Hero mobil ayarları – içerik ortalı, taşma yok */
@media (max-width: 768px) {
  .hero {
    min-height: 85vh; /* adres çubuğu için yer bırak */
    padding-top: 60px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  }

  .hero-content {
    margin: 0 auto !important;
    padding: 0 20px !important;
    max-width: 95%;
    text-align: center !important;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4.5vw, 1.15rem);
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin: 25px auto;
  }

  .btn {
    width: 100%;
    padding: 14px 20px;
    justify-content: center;
    font-size: 0.95rem;
  }

  /* Hero görsel/video ayarları – taşma önleme */
  .hero-bg-image,
  .hero-video {
    min-width: 180%;
    min-height: 180%;
    transform: translate(-50%, -50%) scale(1.2);
    object-fit: cover;
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg, 
      rgba(15, 23, 42, 0.98) 0%, 
      rgba(30, 58, 138, 0.92) 100%
    ) !important;
  }
}

/* Genel mobil iyileştirmeler – diğer bölümler için */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section-header {
    margin-bottom: 45px;
  }

  .section-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .section-desc {
    font-size: 1.05rem;
    padding: 0 10px;
  }

  /* Hakkımızda, hizmetler, cihazlar vs. kartları */
  .about-stats-grid,
  .portfolio-grid,
  .products-grid,
  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-image {
    position: relative;
    top: 0;
  }

  .image-frame {
    height: 280px;
  }
}

/* Navbar mobil menü iyileştirme */
@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98); /* koyu lacivert */
    flex-direction: column;
    padding: 25px 20px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .navbar.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }
}
/* ============================================
   ANA SAYFA – MOBİL TAM EKRAN + İYİLEŞTİRME
   ============================================ */

/* Keşfet ikonunu SADECE masaüstünde göster, mobilde gizle */
.desktop-only {
  display: flex; /* masaüstünde görünür */
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important; /* mobilde tamamen kaybolur */
  }
}

/* Hero'yu mobilde tam ekran yap – taşma yok, içerik ortalı */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh !important; /* tam ekran – adres çubuğu hariç doldurur */
    height: 100vh !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  /* Arka plan resmi/video tam doldursun, sıkışmasın */
  .hero-bg-container,
  .hero-bg-image,
  .hero-video-container,
  .hero-video {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important; /* ölçek bozulmasın */
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg, 
      rgba(15, 23, 42, 0.92) 0%, 
      rgba(30, 58, 138, 0.88) 100%
    ) !important; /* koyu lacivert, yeşil yok */
  }

  /* İçerik tam ortalı ve taşmasız */
  .hero-content {
    margin: 0 auto !important;
    padding: 0 25px !important;
    max-width: 95% !important;
    text-align: center !important;
    transform: none !important;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4.5vw, 1.2rem) !important;
    margin-bottom: 30px !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }

  .btn {
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
    justify-content: center !important;
  }

  /* Alt kısım diğer bölüme geçmesin – hero tam ekran olsun */
  .hero + section {
    margin-top: 0 !important;
  }
}

/* Genel mobil iyileştirme – taşma önleme */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }

  .container {
    padding: 0 15px;
  }

  section {
    padding: 60px 0 !important; /* bölümler arası boşluk azalmasın */
  }
}
