/**
 * PROJECT METADATA & DEVELOPMENT LOG
 * ---------------------------------------------------------
 * @project        Safrane Group Website
 * @client         Safrane Group
 * @developer      Ahmet Enes Zivlak
 * @contact        zivlakenes@gmail.com
 * @agency         Medyablack
 * * DEVELOPMENT STATUS:
 * @type           Sıfırdan Geliştirme (Core Development) 
 * @start_date     2026-04-23
 * @release_date   2026-04-30
 * * WORK DESCRIPTION:
 * - Konsept websitesinin sıfırdan tasarlanması ve kodlanması
 * * DEVELOPER NOTE:
 * Bu yazılımın tüm backend ve frontend mimarisi Ahmet Enes Zivlak 
 * tarafından Medyablack bünyesinde geliştirilmiştir.
 * ---------------------------------------------------------
 */
/* ==========================================================================
   1. RESET & TEMEL AYARLAR (PERFORMANS ODAKLI)
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  min-height: 100vh;
  width: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden !important; /* Sadece body'de kalmalı */
  /* Diğer flexbox ayarların burada kalacak */
  font-family: "Inter", sans-serif;
  background-color: #050811;
  color: #ffffff;
  line-height: 1.6;
  position: relative;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  flex: 1; /* Bu komut, aradaki tüm boşluğu doldurur ve Footer'ı acımasızca en dibe iter */
}

/* ==========================================================================
   PERFORMANS & YÜKLEME OPTİMİZASYONLARI
   ========================================================================== */

/* 1. RENDER SKIPPING (Yükleme Süresini Sıfırlar) 


/* 2. CAM EFEKTİ (GLASSMORPHISM) GPU ZORLAMASI */
.glass-panel,
.wwd-card,
.premium-service-card,
.premium-card {
  /* Blur değerini 25px'lerden 12-15px aralığına çekmek GPU'yu 3 kat rahatlatır */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Animasyonlardaki takılmayı (Jank) önleyen kutsal kod: */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;

  /* ALL yerine sadece değişecekleri yazıyoruz ki tarayıcı her şeyi hesaplamasın */
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* 3. KART HOVER TAKILMA ÇÖZÜMÜ */
/* Box-shadow'u anime etmek tarayıcıyı ağlatır. Gölgeleri ::after ile yapıp sadece Opacity anime ediyoruz. */
.premium-card::after,
.wwd-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(104, 149, 205, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.premium-card:hover::after,
.wwd-card:hover::after {
  opacity: 1;
}

.premium-card:hover,
.wwd-card:hover {
  /* Box-shadow iptal, sadece yukarı kalkma */
  transform: translateY(-10px) translate3d(0, 0, 0);
  border-top-color: rgba(104, 149, 205, 0.4);
}

/* ==========================================================================
   2. KUZEY IŞIKLARI & ARKA PLAN (GPU HIZLANDIRILMIŞ)
   ========================================================================== */
#auroraCanvas {
  position: fixed; /* absolute YERİNE fixed KULLAN */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; /* 100% YERİNE 100vh KULLAN */
  z-index: -1;
  pointer-events: none;
  filter: blur(45px);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ortak Glassmorphism Panelleri */
.glass-panel {
  background: rgba(10, 15, 30, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(104, 149, 205, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  transform: translateZ(0);
}

/* ==========================================================================
   3. HEADER & NAVİGASYON (KESİN ÇÖZÜM)
   ========================================================================== */
header {
  width: 100%;
}

.main-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: 100%;
  max-width: 1150px;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 20px;
  padding: 15px 40px;
  background: transparent;
  border: 1px solid rgba(104, 149, 205, 0);
}

/* --- JİLET İNCE SCROLLED DURUMU --- */
.main-header.scrolled {
  top: 10px;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(104, 149, 205, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* KRİTİK 1: Yüksekliği zorla sabitliyoruz (Balon gibi şişemez) */
  height: 55px !important;
  padding: 0 40px !important;

  /* Tam yuvarlak hap (pill) görünümü */
  border-radius: 100px;
  max-width: 900px;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%; /* Kapsayıcıya tam oturması için */
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Alanı zorla 100px'e kilitliyoruz. Asla büyüyemez! */
  width: 100px !important;
  height: 50px;
  position: relative;
}

/* --- HEADER LOGO ALANI KESİN SINIRLAMASI --- */
.main-header .logo {
  width: 100px; /* Header logosunun maksimum genişliği */
  height: 100px; /* Logonun ve dalgaların taşmasını önler */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.main-header .logo-waves-wrapper {
  width: 100px;
  height: 100px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-logo {
  /* padding-top: 50px; SİLİNDİ! Flex zaten tam ortaya oturtuyor */
  width: 100px !important;
  max-width: 100px !important;
  height: auto !important;
  object-fit: contain;
  z-index: 10;
  position: relative;
  /* Nefes Alma Efekti */
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
  animation: logoBreathe 4s ease-in-out infinite;
  will-change: transform, filter;
}

/* Hover'ı wrapper'a verip içindeki resmi etkilettik */
.logo-waves-wrapper:hover .header-logo {
  transform: scale(1.1) translateY(-3px);
  filter: drop-shadow(0 10px 20px rgba(104, 149, 205, 0.4));
}

/* Scrolled (Aşağı kayınca) logonun menüyü bozmadan yok olması */
.main-header.scrolled .logo {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 100%;
}

.main-header:not(.scrolled) .nav-menu {
  justify-content: flex-end;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;

  /* KRİTİK 3: Tarayıcının gizli boşluklarını yokediyoruz */
  margin: 0 !important;
  padding: 0 !important;
}

.main-header.scrolled .nav-menu ul {
  gap: 40px;
}

.nav-menu > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.main-header.scrolled .nav-menu a {
  font-size: 12px;
  letter-spacing: 1.5px;
}

.nav-menu > ul > li > a:hover {
  color: #6895cd;
  text-shadow: 0 0 10px rgba(104, 149, 205, 0.8);
}

/* ==========================================================================
   DROPDOWN (AÇILIR MENÜ) - ESTETİK VE FERAH YAPI
   ========================================================================== */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  min-width: 220px;
  display: flex;
  flex-direction: column;

  /* Kutunun genel üst/alt boşluğunu biraz kıstık */
  padding: 12px 0;

  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  border-radius: 16px;
  z-index: 1050;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(104, 149, 205, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

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

.dropdown-menu li a {
  /* 1. DÜZELTME (Kenara yakınlık): Sol boşluğu 25px'den 35px'e çıkararak içeri ittik */
  /* 2. DÜZELTME (Dikey boşluk): Üst ve alt boşluğu 8px'e sabitledik */
  padding: 8px 35px;

  display: block;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #cdd6e5;
  letter-spacing: 0.5px;
  line-height: 1.2;
  transition: all 0.3s ease;
}

/* ESTETİK HOVER EFEKTİ (Kaba çizgiler ve renkler kaldırıldı) */
.dropdown-menu li a:hover {
  /* Çok zarif, yarı saydam beyaz bir vurgu */
  background: rgba(255, 255, 255, 0.04);

  /* Yazı rengi kurumsal maviye döner ve hafif parlar */
  color: #6895cd;
  text-shadow: 0 0 15px rgba(104, 149, 205, 0.3);

  /* Sola dayalı kaba çizgi KALDIRILDI */
  border-left: none;

  /* Çok ince, pürüzsüz bir sağa kayma (40px) */
  padding-left: 40px;
}

/* ==========================================================================
   4. HERO SECTİON & BUTONLAR
   ========================================================================== */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 80px;
  padding-bottom: 12vh;
}

.hero-content {
  text-align: center;
  max-width: 850px;
  width: 100%;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(104, 149, 205, 0.1);
  border: 1px solid rgba(104, 149, 205, 0.3);
  /* SİHİRLİ DOKUNUŞ: Üst ve Alt 6px, Sağ ve Sol 20px olarak eşitlendi */
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 30px;
}

.hero-badge span {
  font-size: 13px;
  color: #cdd6e5;
}

.hero-badge a {
  color: #6895cd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
}
.text-gradient {
  background: linear-gradient(to right, #ffffff, #6895cd, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: #a0abc0;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* Temel Butonlar */
/* Temel Butonlar Alanı (Zıplama Sorunu Giderildi) */
.hero-buttons {
  display: flex !important; /* JavaScript'in kutuyu tamamen yok etmesini kesin olarak engeller */
  gap: 20px;
  justify-content: center;
  align-items: center;
  min-height: 55px; /* Sihirli Dokunuş: Buton olmasa bile 55px'lik alanı her zaman rezerve eder */
  width: 100%;
  margin-bottom: 0px; /* Altındaki marka bandı ile arasına nefes alacak bir boşluk ekler */
}
.btn {
  padding: 15px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: inline-block;
}
.btn-primary {
  background: #ffffff;
  color: #050811;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
}
.btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Nefes Alan Premium Buton (Lively Btn) */
.view-all-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.lively-btn {
  position: relative;
  padding: 16px 40px;
  background: transparent;
  border: 1px solid rgba(104, 149, 205, 0.5);
  border-radius: 50px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(104, 149, 205, 0.4),
    transparent
  );
  z-index: 1;
  transition: left 0.5s ease;
}
.lively-btn:hover {
  box-shadow: 0 0 25px rgba(104, 149, 205, 0.4);
  transform: translateY(-3px);
  background: rgba(104, 149, 205, 0.1);
}
.lively-btn:hover .btn-glow {
  left: 100%;
}

/* ==========================================================================
   5. SONSUZ KAYAN MARKA BANDI (TAM ORTALI & DAR MASKELEME)
   ========================================================================== */
/* ==========================================================================
   5. SONSUZ KAYAN MARKA BANDI (TAM MERKEZ ODAKLI)
   ========================================================================== */
.brand-marquee-wrapper {
  /* 1. HİZALAMA: Sayfa wrapper'ından bağımsız tam ekran ortalama */
  width: 100vw !important;
  position: relative;
  left: 0%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  margin-top: 50px;
  padding: 10px 0;
  background: rgba(10, 15, 30, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  z-index: 10;

  /* 2. MASKELEME (FADE EFFECT): 
       Markalar ekranın %30'una kadar tamamen görünmez.
       %45 ile %55 arası (Tam Merkez) %100 net.
       %70'den sonra tamamen kaybolur.
    */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 20%,
    black 35%,
    black 65%,
    transparent 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 20%,
    black 35%,
    black 65%,
    transparent 80%,
    transparent 100%
  );
}

.marquee-title {
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #718096;
  margin-bottom: 25px;
  opacity: 0.6;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 120px;
  padding: 0 60px;
}

.marquee-content span {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  transition:
    color 0.4s ease,
    text-shadow 0.4s ease;
  cursor: pointer;
  white-space: nowrap;
}

.marquee-content span:hover {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(104, 149, 205, 0.8);
}

/* Mobilde maskelemeyi biraz daha esnek yapıyoruz ki markalar sığsın */
@media (max-width: 768px) {
  .brand-marquee-wrapper {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
  }
}

/* ==========================================================================
   6. ORTAK SECTION BAŞLIKLARI (ULTRA PREMIUM)
   ========================================================================== */
.section-header-animated {
  text-align: center;
  position: relative;
  /* Altındaki içeriklerle daha estetik bir boşluk bırakması için margin artırıldı */
  margin-bottom: 50px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2; /* Işıkların altında ezilmemesi için */
}

/* 1. ARKA PLAN IŞIĞI (Yuvarlak yerine Yatay ve Derin Ethereal Glow) */
.pulse-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  /* Genişliği artırıp yüksekliği bastırarak metnin arkasına bir "sahne ışığı" kurduk */
  width: 600px;
  height: 150px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(104, 149, 205, 0.4) 0%,
    rgba(138, 43, 226, 0.15) 40%,
    transparent 70%
  );
  filter: blur(25px); /* Işığı iyice dağıtıp sisli bir premium hava kattık */
  animation: premiumGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Alternatif Glow (Neler yapıyoruz gibi farklı renk isteyen yerler için) */
.pulse-bg.glow-alt {
  background: radial-gradient(
    ellipse at center,
    rgba(138, 43, 226, 0.3) 0%,
    rgba(104, 149, 205, 0.15) 40%,
    transparent 70%
  );
}

@keyframes premiumGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

/* 2. BAŞLIK (İçinden ışık geçen ve nefes alan yapı) */
.breathing-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Mobil uyumlu boyutlandırma */
  font-weight: 800;
  letter-spacing: -1.5px; /* Karakterleri sıkıştırarak tok bir görünüm */
  margin-bottom: 15px;

  /* Premium Gümüş/Buzul Gradient Yazı Efekti */
  background: linear-gradient(to right, #ffffff 20%, #6895cd 50%, #ffffff 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Hem içinden ışık geçsin hem de dışa doğru nefes alsın */
  animation:
    textShine 6s linear infinite,
    textBreathe 4s ease-in-out infinite alternate;
  will-change: transform, text-shadow;
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

@keyframes textBreathe {
  0% {
    text-shadow: 0 0 20px rgba(104, 149, 205, 0.2);
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 40px rgba(104, 149, 205, 0.6);
    transform: scale(1.02);
  }
}

/* 3. ALT BAŞLIK (Minimalist ve Fütüristik) */
.section-header-animated p {
  color: #8b9bb4;
  font-size: 1.05rem;
  font-weight: 500;
  /* Harf arasını açarak çok daha lüks bir his veriyoruz */
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

/* 4. ETKİLEŞİMLİ LAZER ÇİZGİ (Hover efekti ile dinamizm) */
.section-header-animated p::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  /* Lazer kılıcı gibi parlayan gölgeler */
  box-shadow:
    0 0 10px rgba(104, 149, 205, 0.8),
    0 0 20px rgba(138, 43, 226, 0.6);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Fareyle başlık bölümünün üzerine gelince lazer çizgi şıkça uzar */
.section-header-animated:hover p::after {
  width: 120px;
}
/* ==========================================================================
   7. CİHAZLARIMIZ BÖLÜMÜ
   ========================================================================== */
.devices-section {
  padding: 75px 0;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.devices-container-wide {
  width: 95%;
  max-width: 1550px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 30px;
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 50%;
  overflow: hidden;
}

.devices-layout-wide {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.devices-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

.premium-card {
  width: 100%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(10, 15, 30, 0.4) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: scale(0.95) translateY(30px) translateZ(0);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease,
    box-shadow 0.5s ease;
  backdrop-filter: blur(10px);
}

.premium-card.active-card {
  display: flex;
}
.premium-card.show-card {
  opacity: 1;
  transform: scale(1) translateY(0) translateZ(0);
}

.premium-card:hover {
  background: linear-gradient(
    145deg,
    rgba(104, 149, 205, 0.1) 0%,
    rgba(10, 15, 30, 0.6) 100%
  );
  border-top: 1px solid rgba(104, 149, 205, 0.4);
  transform: translateY(-10px) translateZ(0);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(104, 149, 205, 0.15);
}

.model-wrapper {
  width: 100%;
  height: 200px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.model-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(104, 149, 205, 0.3) 0%,
    transparent 70%
  );
  z-index: 0;
  transition: transform 0.5s;
}
.premium-card:hover .model-glow {
  transform: scale(1.5);
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.3) 0%,
    transparent 70%
  );
}
.floating-model {
  max-height: 90%;
  max-width: 90%;
  z-index: 1;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.6));
  animation: float3D 6s ease-in-out infinite;
  transition: transform 0.6s ease;
}
.floating-model.delay-1 {
  animation-delay: -2s;
}
.floating-model.delay-2 {
  animation-delay: -4s;
}
.premium-card:hover .floating-model {
  transform: scale(1.15) translateY(-10px) rotateX(10deg) rotateY(-10deg);
}

.premium-info h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.premium-info p {
  color: #8b9bb4;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  color: #6895cd;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  gap: 8px;
  transition: all 0.3s ease;
}
.explore-link .arrow {
  transition: transform 0.3s ease;
}
.premium-card:hover .explore-link {
  color: #fff;
}
.premium-card:hover .explore-link .arrow {
  transform: translateX(8px);
}

/* Sidebar Premium */
.sidebar-premium {
  position: relative;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.track-line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 80%;
  background: rgba(255, 255, 255, 0.05);
}
.active-indicator {
  position: absolute;
  left: -1px;
  width: 4px;
  height: 30px;
  background: #6895cd;
  border-radius: 4px;
  box-shadow:
    0 0 15px #6895cd,
    0 0 30px #8a2be2;
  transition: top 0.4s ease;
  z-index: 2;
  top: 0;
}
.category-list-premium {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.cat-item-premium {
  font-size: 1.1rem;
  color: #718096;
  cursor: pointer;
  position: relative;
  transition:
    color 0.3s,
    transform 0.3s;
  display: inline-block;
  width: max-content;
}
.cat-item-premium::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #6895cd, transparent);
  transition: width 0.4s ease;
}
.cat-item-premium:hover {
  color: #fff;
  transform: translateX(10px);
}
.cat-item-premium:hover::after {
  width: 100%;
}
.cat-item-premium.active {
  color: #fff;
  font-weight: 700;
  transform: translateX(15px);
  text-shadow: 0 0 20px rgba(104, 149, 205, 0.5);
}

/* ==========================================================================
   8. HAKKIMIZDA BÖLÜMÜ
   ========================================================================== */
.premium-about {
  padding: 100px 0;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  display: flex;
  justify-content: center;
}

.about-container {
  width: 95%;
  max-width: 1550px !important;
  margin: 0 auto;
  padding: 80px;
  border-radius: 30px;
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 50%;
  overflow: hidden;
}

.about-content-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 70px;
}
.about-text-area {
  max-width: 900px;
}
.about-paragraphs p {
  font-size: 1.15rem;
  color: #a0abc0;
  margin-bottom: 25px;
  line-height: 1.8;
}
.text-highlight {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(104, 149, 205, 0.6);
}

/* Mühür ve Dalga (Ripple) */
.watermark-wrapper {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.watermark-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  transform: rotate(-15deg);
  opacity: 1;
  z-index: 10;
  filter: brightness(0.15) contrast(0.8)
    drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
}
.ripple {
  position: absolute;
  border-radius: 50%;
  border: 6px solid rgba(104, 149, 205, 0.4);
  box-shadow:
    0 0 20px rgba(104, 149, 205, 0.2),
    inset 0 0 20px rgba(104, 149, 205, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rippleWave 8s linear infinite;
  z-index: 5;
}
.ripple-1 {
  animation-delay: 0s;
}
.ripple-2 {
  animation-delay: 2.5s;
}
.ripple-3 {
  animation-delay: 5s;
}

/* Alt Hizmet Kartları */
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.premium-service-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(10, 15, 30, 0.4) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  transform: translateZ(0);
  backdrop-filter: blur(10px);
}
.card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(104, 149, 205, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}
.premium-service-card:hover {
  transform: translateY(-12px) translateZ(0);
  border-color: rgba(104, 149, 205, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(104, 149, 205, 0.1);
}
.premium-service-card:hover .card-glow {
  opacity: 1;
  transform: scale(2.5);
}
.premium-service-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}
.premium-service-card p {
  color: #8b9bb4;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   9. NELER YAPIYORUZ (YATAY ZAMAN ÇİZELGESİ)
   ========================================================================== */
.what-we-do-horizontal {
  padding: 60px 0 80px 0;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.pulse-bg.glow-alt {
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.3) 0%,
    rgba(104, 149, 205, 0.1) 50%,
    transparent 70%
  );
}
.wwd-fullwidth-wrapper {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  padding: 20px 2vw;
}
.wwd-timeline-grid {
  display: grid;
  grid-template-rows: 1fr 2px 1fr;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 15px;
  position: relative;
  align-items: center;
  width: 100%;
}

.wwd-spine-horizontal {
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 0;
}
.spine-glow-horizontal {
  position: absolute;
  top: -1px;
  left: 0;
  width: 20%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    #6895cd,
    #8a2be2,
    transparent
  );
  border-radius: 4px;
  animation: spineFlowH 6s linear infinite;
  box-shadow:
    0 0 15px #6895cd,
    0 0 30px #8a2be2;
}

.wwd-item-h {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.9);
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}
.wwd-item-h:nth-child(2) {
  grid-column: 1;
}
.wwd-item-h:nth-child(3) {
  grid-column: 2;
}
.wwd-item-h:nth-child(4) {
  grid-column: 3;
}
.wwd-item-h:nth-child(5) {
  grid-column: 4;
}
.wwd-item-h:nth-child(6) {
  grid-column: 5;
}
.wwd-item-h:nth-child(7) {
  grid-column: 6;
}
.wwd-item-h.top {
  grid-row: 1;
  align-self: end;
  padding-bottom: 35px;
}
.wwd-item-h.bottom {
  grid-row: 3;
  align-self: start;
  padding-top: 35px;
}

.timeline-dot-h {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #050811;
  border: 2px solid #6895cd;
  border-radius: 50%;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(104, 149, 205, 0.6);
}
.wwd-item-h.top .timeline-dot-h {
  bottom: -8px;
}
.wwd-item-h.bottom .timeline-dot-h {
  top: -8px;
}
.wwd-item-h:hover .timeline-dot-h {
  background: #6895cd;
  transform: translateX(-50%) scale(1.5);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
  border-color: #ffffff;
}

.wwd-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(10, 15, 30, 0.6) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px 15px;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  transform: translateZ(0);
  backdrop-filter: blur(15px);
}
.wwd-card:hover {
  transform: translateY(-8px) translateZ(0);
  border-top: 1px solid rgba(104, 149, 205, 0.4);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(104, 149, 205, 0.15);
}

.bg-number {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  transition: color 0.4s ease;
}
.wwd-card:hover .bg-number {
  color: rgba(104, 149, 205, 0.06);
}
.wwd-content {
  position: relative;
  z-index: 1;
  flex: 1;
}
.wwd-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}
.wwd-content h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}
.wwd-content p {
  color: #8b9bb4;
  font-size: 0.8rem;
  line-height: 1.5;
}
.wwd-item-h.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   10. TEKNİK SERVİS FORMU (MÜHÜR SİSTEMİ EKLENDİ)
   ========================================================================== */
.service-form-section {
  position: relative;
  padding: 100px 0;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.form-container-compact {
  width: 90%;
  max-width: 800px;
  padding: 50px;
  border-radius: 30px;
  position: relative;
  overflow: hidden; /* Dışarı taşan dalgaları keser */
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateZ(0);
  backdrop-filter: blur(15px);
}

/* --- SOL ALT MÜHÜR VE DALGA SİSTEMİ --- */
.watermark-wrapper-alt {
  position: absolute;
  /* Hakkımızda'nın aksine bu kez SOL ALTA sabitliyoruz */
  bottom: -60px;
  left: -60px;
  width: 350px; /* Form daha küçük olduğu için mühür de bir tık ufaltıldı */
  height: 350px;
  z-index: 0; /* Form elemanlarının kesinlikle altında kalacak */
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* Tıklamaları engellememesi için */
}

.watermark-logo-alt {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  /* Estetik bir açı vermek için hafif sağa yatırdık */
  transform: rotate(15deg);
  opacity: 1;
  z-index: 10;
  /* Gümüş/Buzul bir karanlık efekti veriyoruz ki form okunabilsin */
  filter: brightness(0.15) contrast(0.8)
    drop-shadow(0 0 30px rgba(104, 149, 205, 0.3));
}

/* Dalgalar (Ripple animasyonu Hakkımızda bölümünden miras alır) */
.watermark-wrapper-alt .ripple {
  /* Formun içindeki dalgaların rengini formun mavi temasına uyduruyoruz */
  border-color: rgba(104, 149, 205, 0.5);
  box-shadow:
    0 0 15px rgba(104, 149, 205, 0.1),
    inset 0 0 15px rgba(104, 149, 205, 0.1);
}

/* --- FORM İÇERİK AYARLARI --- */
.premium-form {
  position: relative;
  z-index: 2; /* Mühür ve dalgaların kesinlikle üstünde kalır */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-wrapper {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-wrapper label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6895cd;
  margin-left: 5px;
}

.input-wrapper input,
.input-wrapper textarea {
  /* Form elemanlarının arkasından dalgaların süzülerek görünmesi için hafif saydamlık */
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  background: rgba(104, 149, 205, 0.1);
  border-color: rgba(104, 149, 205, 0.5);
  box-shadow: 0 0 20px rgba(104, 149, 205, 0.15);
  outline: none;
}

.form-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
  .watermark-wrapper-alt {
    /* Mobilde form daralacağı için mührü iyice silikleştirip küçültüyoruz */
    width: 250px;
    height: 250px;
    bottom: -40px;
    left: -40px;
    opacity: 0.4;
  }
}

/* ==========================================================================
   11. FOOTER (KUSURSUZ FULL-BLEED & ORTALAMA)
   ========================================================================== */
.premium-footer {
  position: relative;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 100px;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.4) 0%,
    rgba(5, 8, 17, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10;
  border-top: 1px solid rgba(104, 149, 205, 0.1);
}

.footer-container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px 60px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}
.footer-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(104, 149, 205, 0.8),
    rgba(138, 43, 226, 0.8),
    transparent
  );
  animation: flowLine 6s linear infinite;
}

/* 1. Logonun bulunduğu sütunu Flex yapıp elemanların arasına zorunlu boşluk koyuyoruz */
.brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Logoyu ve yazıyı sola yaslar, ortalamak istersen 'center' yap */
  gap: 25px; /* LOGO İLE YAZI ARASINDAKİ ZORUNLU BOŞLUK (Üst üste binmeyi engeller) */
}

/* 2. Footer Logosunun Fiziksel Alanını Zorla Ayırıyoruz */
.footer-logo {
  position: relative;
  width: 180px;
  height: 180px; /* KRİTİK: Bu yükseklik sayesinde yazı logonun altına GİREMEZ! */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  z-index: 10;
}

.footer-logo .logo-waves-wrapper {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-img-logo {
  width: 200px !important;
  height: auto !important;
  max-height: 180px;
  object-fit: contain;
  position: relative;
  z-index: 10;
}

/* 3. Açıklama yazısını garantiye al */
.footer-desc {
  position: relative;
  z-index: 10; /* Yazının dalgaların altında ezilmemesi için */
  color: #8b9bb4;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 400px;
  margin: 0; /* Gap kullandığımız için margin'e gerek kalmadı */
}

.footer-logo .logo-waves-wrapper {
  width: 180px;
  height: 180px;
}

.footer-logo .logo-waves-wrapper img,
.footer-img-logo {
  width: 180px !important;
  max-width: 180px !important;
}

.footer-logo .logo-highlight {
  color: #6895cd;
  text-shadow: 0 0 15px rgba(104, 149, 205, 0.5);
}

.social-links {
  display: flex;
  gap: 15px;
}
.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #a0abc0;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
.social-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.social-icon:hover {
  background: linear-gradient(
    135deg,
    rgba(104, 149, 205, 0.2) 0%,
    rgba(44, 57, 130, 0.4) 100%
  );
  border-color: rgba(104, 149, 205, 0.5);
  color: #ffffff;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(104, 149, 205, 0.3);
  transform: translateY(-8px);
}
.social-icon:hover svg {
  transform: scale(1.1);
}

.footer-heading {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background: #6895cd;
  border-radius: 2px;
  box-shadow: 0 0 10px #6895cd;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-menu a {
  color: #8b9bb4;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
  width: max-content;
}
.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
.footer-menu a:hover {
  color: #ffffff;
  transform: translateX(5px);
}
.footer-menu a:hover::after {
  width: 100%;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8b9bb4;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
  margin-left: -12px;
}
.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  color: #6895cd;
  transition: all 0.3s ease;
}
.contact-icon svg {
  width: 18px;
  height: 18px;
}
.contact-text {
  font-size: 1.05rem;
  font-weight: 500;
}
.contact-item:hover {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  transform: translateX(8px);
}
.contact-item:hover .contact-icon {
  background: rgba(104, 149, 205, 0.15);
  box-shadow: 0 0 15px rgba(104, 149, 205, 0.3);
  color: #ffffff;
}
.wp-link:hover .contact-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px;
  text-align: center;
  color: #5a6b8a;
  font-size: 0.95rem;
}
.heart-pulse {
  display: inline-block;
  color: #6895cd;
  animation: pulseHeart 2s infinite;
  margin: 0 5px;
}

/* ==========================================================================
   12. TÜM KEYFRAME ANİMASYONLARI
   ========================================================================== */
@keyframes slowPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}
@keyframes scrollX {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes float3D {
  0%,
  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }
  50% {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
  }
}
@keyframes rippleWave {
  0% {
    width: 200px;
    height: 200px;
    opacity: 0;
    border-width: 8px;
  }
  10% {
    opacity: 1;
  }
  100% {
    width: 1200px;
    height: 1200px;
    opacity: 0;
    border-width: 1px;
  }
}
@keyframes spineFlowH {
  0% {
    left: -20%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes gearRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes gearRotateReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes flowLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes pulseHeart {
  0% {
    transform: scale(1);
    text-shadow: 0 0 5px rgba(104, 149, 205, 0.5);
  }
  50% {
    transform: scale(1.3);
    text-shadow: 0 0 15px rgba(104, 149, 205, 1);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 5px rgba(104, 149, 205, 0.5);
  }
}
@keyframes floatUpDn {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes textBreathe {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(104, 149, 205, 0.2);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 40px rgba(104, 149, 205, 0.6);
    transform: scale(1.01);
  }
}

/* ==========================================================================
   13. KUSURSUZ MOBİL UYUMLULUK (RESPONSIVE DESIGN)
   ========================================================================== */
/* TABLET EKRANLAR (1024px ve altı) */
@media (max-width: 1024px) {
  .devices-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }
  .devices-layout-wide {
    grid-template-columns: 1fr;
  }
  .sidebar-premium {
    order: -1;
    padding-left: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .category-list-premium {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .track-line,
  .active-indicator {
    display: none;
  }

  .wwd-timeline-grid {
    grid-template-rows: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .wwd-item-h:nth-child(n) {
    grid-column: auto;
  }
  .wwd-spine-horizontal,
  .timeline-dot-h {
    display: none;
  }
  .wwd-item-h.top,
  .wwd-item-h.bottom {
    grid-row: auto;
    padding: 0;
  }
  .wwd-card {
    height: auto;
    min-height: 250px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .brand-col {
    grid-column: span 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-heading {
    text-align: center;
    display: block;
  }
  .footer-menu,
  .contact-list {
    align-items: center;
    text-align: center;
  }
  .contact-item {
    justify-content: center;
  }
  .footer-menu a:hover,
  .contact-item:hover {
    transform: translateY(-3px);
  }
  .footer-menu a::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* TELEFON EKRANLARI (768px ve altı) */
@media (max-width: 768px) {
  .devices-section,
  .premium-about,
  .what-we-do-horizontal,
  .service-form-section {
    padding: 50px 0;
  }
  .devices-container-wide,
  .about-container {
    width: 100%;
    padding: 30px 15px;
    border-radius: 20px;
  }

  .main-header {
    padding: 10px 20px;
    border-radius: 15px;
  }
  .nav-menu ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-menu a {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }
  .brand-marquee-wrapper {
    bottom: 2vh;
    padding: 15px 0;
  }

  .devices-grid-premium {
    grid-template-columns: 1fr;
  }
  .watermark-wrapper {
    width: 300px;
    height: 300px;
    opacity: 0.3;
    right: -30px;
    bottom: -30px;
  }
  .about-services-grid {
    grid-template-columns: 1fr;
  }

  .wwd-timeline-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .wwd-card {
    height: auto;
    min-height: 200px;
    padding: 20px;
  }
  .bg-number {
    font-size: 4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .form-container-compact {
    padding: 30px 20px;
    width: 95%;
  }
  .gears-container {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 20px 30px 20px;
  }
  .brand-col {
    grid-column: span 1;
  }
}
/* --- FOOTER SPOTLIGHT (IŞIK) AYARLARI --- */
/* Işığın yazıları kapatmaması için içerikleri öne alıyoruz */
.premium-footer .footer-container,
.premium-footer .footer-bottom,
.premium-footer .footer-glow-line {
  position: relative;
  z-index: 2; /* Işık z-index: 0'da kalacağı için yazılar üstte olur */
}

/* --- LOGO VE DALGA SİSTEMİ (HEADER & FOOTER) --- */
.logo-waves-wrapper {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  cursor: pointer; /* Link olduğu belli olsun */
}
.logo-waves-wrapper img,
.header-logo {
  padding-top: 50px;
  width: 100px !important;
  max-width: 100px !important;
  height: auto !important;
  object-fit: contain;
  z-index: 10;
  position: relative;
  /* Nefes Alma Efekti */
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
  animation: logoBreathe 4s ease-in-out infinite;
  will-change: transform, filter;
}

.logo-waves-wrapper:hover img {
  transform: scale(1.1) translateY(-3px);
  filter: drop-shadow(0 10px 20px rgba(104, 149, 205, 0.4));
}

/* Logoların Kendi Animasyonu */
.header-logo,
.footer-img-logo {
  position: relative;
  z-index: 10; /* Dalgaların üstünde durması için */
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
  /* Nefes alma animasyonu */
  animation: logoBreathe 4s ease-in-out infinite;
  will-change: transform, filter;
}

.logo-waves-wrapper:hover .header-logo,
.logo-waves-wrapper:hover .footer-img-logo {
  transform: scale(1.1) translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(104, 149, 205, 0.4));
}

@keyframes logoBreathe {
  0%,
  50% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* --- LOGO ARKASI DALGALAR (RIPPLES) --- */
.logo-ripple {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(104, 149, 205, 0.3);
  z-index: 1; /* Logonun altında */
  pointer-events: none;
  animation: logoRippleWave 4s linear infinite;
  opacity: 0;
}
@keyframes logoRippleWave {
  0% {
    width: 50px;
    height: 50px;
    opacity: 0;
    border-width: 5px;
  }
  15% {
    opacity: 0.8;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
    border-width: 1px;
  }
}

.logo-ripple.ripple-1 {
  animation-delay: 0s;
}
.logo-ripple.ripple-2 {
  animation-delay: 2s;
}
.logo-ripple.ripple-3 {
  animation-delay: 2.6s;
}

.main-header.scrolled .logo-waves-wrapper {
  display: none !important;
}
/* Header Scrolled Durumunda Dalgaları İnceltme */
.main-header.scrolled .logo-ripple {
  display: none; /* Header inceldiğinde kalabalığı önlemek için gizleyebilirsin */
}

/* Footer'da dalgaların daha büyük görünmesi için opsiyonel ayar */
/* --- SADECE FOOTER İÇİN ÖZEL DALGA AYARLARI --- */

/* 1. Dalgaların yayılma alanını ve çizgi kalınlığını artırıyoruz */
.footer-logo .logo-ripple {
  /* Genel rengi footer'ın koyu zemininde daha parlayacak şekilde güncelledik */
  border-color: rgba(104, 149, 205, 0.6);
  /* Başlangıçtaki sabit kalınlık */
  border-width: 4px;
  /* Footer'daki spotlight ile çakışmaması için katman ayarı */
  z-index: 1;
}

@keyframes footerLogoRipple {
  0% {
    width: 60px;
    height: 60px;
    opacity: 0;
    /* BAŞLANGIÇ: Çok daha kalın ve vurucu başlıyor */
    border-width: 12px;
  }
  15% {
    opacity: 1;
  }
  100% {
    /* BİTİŞ: Eskiden 300px olan alanı 500px'e çıkararak devasa bir yayılım sağladık */
    width: 350px;
    height: 350px;
    opacity: 0;
    /* Kaybolurken bile belirgin kalsın (3px) */
    border-width: 3px;
  }
}

/* 2. Footer'a özel animasyonu ve sıklığı tanımlıyoruz */
.footer-logo .logo-ripple {
  /* Animasyon ismini footer'a özel olanla değiştirdik */
  animation: footerLogoRipple 5s linear infinite;
}

/* Sıklık Ayarı: Dalgaların arasındaki mesafeyi buradan yönetebilirsin */
.footer-logo .ripple-1 {
  animation-delay: 0s;
}
.footer-logo .ripple-2 {
  animation-delay: 1.6s;
}
.footer-logo .ripple-3 {
  animation-delay: 3.2s;
}

/* --- MARQUEE LOGO AYARLARI (ORİJİNAL RENKLER) --- */
.brand-logo {
  /* Boyutlandırma */
  height: 45px;
  width: auto;
  max-width: 160px;
  object-fit: contain;

  /* Başlangıç Durumu: 
       Renkler orijinal kalsın ama arka planla bütünleşmesi için 
       hafif bir şeffaflık ve yumuşaklık verelim. 
    */
  opacity: 0.8;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));

  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  padding: 0 10px;
  will-change: transform, opacity;
}

/* Üzerine gelince logonun parlamasını ve öne çıkmasını sağla */
.brand-logo:hover {
  opacity: 1;
  transform: scale(1.15); /* Hafifçe büyür */
  /* Logonun etrafına kendi renklerine yakın bir ışıltı verir */
  filter: drop-shadow(0 0 15px rgba(104, 149, 205, 0.4));
}

/* Kapsayıcı hizalaması */
.marquee-content {
  display: flex;
  align-items: center;
  gap: 120px;
  padding: 0 60px;
}

/* ==========================================================================
   GLOBAL SPOTLIGHT (FARE TAKİBİ - IŞIK EFEKTİ) - DÜZELTİLMİŞ
   ========================================================================== */
.spotlight-wrapper {
  position: relative;
  /* İçeriğin taşıp ışık dengesini bozmaması için */
  overflow: hidden;
}

/* Spot ışığı katmanı */
.spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle 400px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(104, 149, 205, 0.15),
    transparent 80%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: background, opacity;
}

/* Fare üzerine gelince ışık yansın */
.spotlight-wrapper:hover > .spotlight-overlay {
  opacity: 1;
}

/* HATANIN ÇÖZÜMÜ: 
   Mühürleri (.watermark-wrapper ve .watermark-wrapper-alt) ve 
   arka plan ışıklarını (.pulse-bg) bu kuraldan HARİÇ TUTUYORUZ. 
   Böylece "absolute" ile köşeye sabitlediğimiz logolar yerinden oynamaz! */
.spotlight-wrapper
  > *:not(.spotlight-overlay):not(.watermark-wrapper):not(
    .watermark-wrapper-alt
  ):not(.pulse-bg) {
  position: relative;
  z-index: 1;
}
