@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --primary: #00828a;
  --primary-dark: #00686f;
  --primary-light: #e6f6f7;
  --accent: #f26522;
  --accent-hover: #d95314;
  --dark: #0f172a;
  --gray-bg: #f8fafc;
  --electric-cyan: #00f0ff;
  --electric-blue: #0099ff;
  --electric-yellow: #ffe600;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================================
   ⚡ ELEKTRİKLİ EMRE BİLİŞİM LOGO VE METİN ANİMASYONU ⚡
   ======================================================== */

.brand-electric-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.brand-electric-container:hover {
  background: rgba(0, 130, 138, 0.05);
}

/* 1. Sürekli Akan Animasyonlu Başlık Metni */
.electric-title {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  background: linear-gradient(115deg, #00828a 0%, #00d2df 25%, #00828a 50%, #005f65 75%, #00d2df 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: electricFlow 4s linear infinite;
  display: inline-block;
  position: relative;
  transition: all 0.25s ease;
  user-select: none;
}

@keyframes electricFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

/* 2. İmleç Üzerine Geldiğinde (Hover) Elektrik Deşarjı & Parlama */
.brand-electric-container:hover .electric-title {
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  text-shadow: 
    0 0 4px #ffffff,
    0 0 10px #00f0ff,
    0 0 20px #00f0ff,
    0 0 35px #00828a,
    0 0 50px #00f0ff,
    0 0 75px #00828a;
  animation: electricJitter 0.1s infinite alternate, electricFlow 1.5s linear infinite;
}

/* Yüksek Voltaj Titreşimi / Jitter */
@keyframes electricJitter {
  0% { transform: translate(0, 0) skew(0deg); filter: brightness(1.2); }
  25% { transform: translate(-1px, 0.8px) skew(-0.8deg); filter: brightness(1.5); }
  50% { transform: translate(1.2px, -0.6px) skew(0.6deg); filter: brightness(1.3); }
  75% { transform: translate(-0.8px, -0.8px) skew(-0.4deg); filter: brightness(1.6); }
  100% { transform: translate(0.6px, 0.8px) skew(0.5deg); filter: brightness(1.4); }
}

/* 3. Logo İkonunun Elektriklenmesi */
.brand-electric-icon {
  transition: all 0.3s ease;
  position: relative;
}

.brand-electric-container:hover .brand-electric-icon {
  filter: drop-shadow(0 0 10px #00f0ff) drop-shadow(0 0 20px #00828a);
  transform: scale(1.08) rotate(-2deg);
}

/* 4. Elektrik Kıvılcımları ve Şimşek Katmanı */
.electric-arcs-layer {
  position: absolute;
  inset: -12px -16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.brand-electric-container:hover .electric-arcs-layer {
  opacity: 1;
}

/* Şimşek Çizgileri */
.lightning-bolt {
  position: absolute;
  stroke: #00f0ff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px #00f0ff) drop-shadow(0 0 14px #00828a);
  animation: lightningCrackle 0.22s infinite ease-in-out;
}

.lightning-bolt.secondary {
  stroke: #ffe600;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 5px #ffe600) drop-shadow(0 0 10px #f26522);
  animation: lightningCrackle 0.18s infinite ease-in-out reverse;
}

@keyframes lightningCrackle {
  0% { opacity: 0; stroke-dasharray: 5, 20; stroke-dashoffset: 0; }
  15% { opacity: 1; stroke-dasharray: 20, 10; stroke-dashoffset: -5; }
  35% { opacity: 0.2; stroke-dasharray: 10, 15; stroke-dashoffset: 10; }
  55% { opacity: 0.95; stroke-dasharray: 40, 5; stroke-dashoffset: -15; }
  75% { opacity: 0.1; }
  90% { opacity: 1; stroke-dasharray: 15, 25; stroke-dashoffset: 5; }
  100% { opacity: 0; stroke-dashoffset: -25; }
}

/* Elektrik Hale / Şok Dalgası */
.electric-shockwave {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 1.5px solid transparent;
  pointer-events: none;
  transition: all 0.3s ease;
}

.brand-electric-container:hover .electric-shockwave {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 
    0 0 15px rgba(0, 240, 255, 0.4),
    inset 0 0 15px rgba(0, 240, 255, 0.2);
  animation: electricPulse 0.4s infinite alternate;
}

@keyframes electricPulse {
  from { box-shadow: 0 0 8px rgba(0, 240, 255, 0.3), inset 0 0 8px rgba(0, 240, 255, 0.15); }
  to { box-shadow: 0 0 22px rgba(0, 240, 255, 0.7), inset 0 0 20px rgba(0, 240, 255, 0.35); }
}

.electric-subtitle {
  transition: all 0.25s ease;
}
.brand-electric-container:hover .electric-subtitle {
  color: #00d2df;
  text-shadow: 0 0 8px rgba(0, 210, 223, 0.7);
  letter-spacing: 0.05em;
}

/* ========================================================
   ÜST BAR: KÜÇÜK ANİMASYONLU İKONLAR & QR KODLARI
   ======================================================== */

.top-icon-wa {
  animation: waBouncePulse 2.4s infinite ease-in-out;
  display: inline-block;
}

@keyframes waBouncePulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(37, 211, 102, 0.4)); }
  50% { transform: scale(1.18) translateY(-2px); filter: drop-shadow(0 0 8px #25d366); }
}

.top-icon-ig {
  animation: igPulseGlow 2.4s infinite ease-in-out 1.2s;
  display: inline-block;
}

@keyframes igPulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(225, 48, 108, 0.4)); }
  50% { transform: scale(1.18) translateY(-2px); filter: drop-shadow(0 0 8px #e1306c); }
}

.top-qr-badge {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.top-qr-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.35);
}

/* ========================================================
   ÜRÜN KARTLARI VE DİĞER BİLEŞENLER
   ======================================================== */

.product-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -10px rgba(0, 130, 138, 0.15), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.product-image-container img {
  transition: transform 0.35s ease;
}

.product-card:hover .product-image-container img {
  transform: scale(1.06);
}

.category-pill.active {
  background-color: #00828a;
  color: #ffffff;
  border-color: #00828a;
  box-shadow: 0 4px 12px rgba(0, 130, 138, 0.25);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal {
  animation: modalIn 0.22s ease-out forwards;
}

@keyframes slideDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.animate-drawer {
  animation: slideDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-toast {
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========================================================
   GECE / GÜNDÜZ MODU (DARK MODE DESTEĞİ)
   ======================================================== */

html.dark body {
  background-color: #020617;
  color: #e2e8f0;
}

html.dark ::-webkit-scrollbar-track {
  background: #0f172a;
}

html.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}

html.dark ::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

html.dark .brand-electric-container:hover {
  background: rgba(0, 240, 255, 0.08);
}

html.dark .electric-title {
  background: linear-gradient(115deg, #2dd4bf 0%, #00f0ff 25%, #38bdf8 50%, #0d9488 75%, #00f0ff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.dark .electric-subtitle {
  color: #94a3b8;
}

html.dark .product-image-container {
  background-color: #ffffff;
}

html.dark .product-card:hover {
  box-shadow: 0 16px 32px -10px rgba(0, 240, 255, 0.16), 0 8px 16px -6px rgba(0, 0, 0, 0.45);
}

@keyframes modalShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.animate-shake {
  animation: modalShake 0.35s ease-in-out;
}
