/* ═══════════════════════════════════════════════════════════
   Elektrikçi Projesi | CKR TECH | css/base.css
   CSS Değişkenleri, Reset, Evrensel Sınıflar, Animasyonlar
   ══════════════════════════════════════════════════════════ */

/* ── 1. CSS CUSTOM PROPERTIES ────────────────────────────── */
:root {
  /* Renkler (Sleek High-Tech Palet) */
  --bg-primary:       #0a0c10; /* Derin Uzay Siyahı */
  --bg-secondary:     #10131a; /* Koyu Titanyum */
  --bg-card:          #161a24; /* Mat Çelik */
  --bg-card-hover:    #1c2230; /* Fırçalanmış Platin */

  --text-primary:     #ffffff; /* Saf Beyaz */
  --text-secondary:   #a6b1c2; /* Buzul Gümüş */
  --text-muted:       #5d6878; /* Koyu Metalik Gri */

  /* İleri Teknoloji Enerji Tonları */
  --accent-cyan:      #8ab4f8; /* Mat Kristal Mavi / Yumuşak Safir */
  --accent-blue:      #4285f4; /* Endüstriyel Kobalt Mavisi */
  --accent-yellow:    #d2e3fc; /* Platin Enerji Parlaması */

  --border-subtle:    rgba(138, 180, 248, 0.08);
  --border-card:      rgba(138, 180, 248, 0.04);
  --border-hover:     rgba(138, 180, 248, 0.3);

  /* Tipografi */
  --font-display:     'Plus Jakarta Sans', sans-serif;
  --font-heading:     'Plus Jakarta Sans', sans-serif;
  --font-body:        'Inter', sans-serif;

  /* Boşluklar */
  --space-xs:         0.5rem;
  --space-sm:         1rem;
  --space-md:         1.5rem;
  --space-lg:         2.5rem;
  --space-xl:         4rem;
  --space-2xl:        6rem;

  /* Geçişler */
  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:    0.2s;
  --duration-med:     0.4s;
  --duration-slow:    0.7s;

  /* Efektler */
  --shadow-card:      0 16px 45px rgba(0, 0, 0, 0.7);
  --shadow-glow-cyan: 0 0 30px rgba(138, 180, 248, 0.15);
  --shadow-glow-gold: 0 0 30px rgba(210, 227, 252, 0.2);
  --blur-glass:       blur(16px) saturate(140%);

  /* Border radius */
  --radius-sm:        5px;
  --radius-md:        10px;
  --radius-lg:        18px;
  --radius-xl:        28px;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

img, svg { display: block; max-width: 100%; }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* ── 3. LAYOUT YARDIMCILARI ──────────────────────────────── */
.lux-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 240, 255, 0.06);
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── 4. BUTONLAR ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9em 2em;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-med) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn-primary:hover::before { opacity: 0.15; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85em 2em;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(248, 249, 250, 0.25);
  border-radius: var(--radius-sm);
  transition: all var(--duration-med) var(--ease-out);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
  transform: translateY(-2px);
}

/* ── 5. SCROLL REVEAL ────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.rv.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.rv:nth-child(1) { transition-delay: 0ms; }
.rv:nth-child(2) { transition-delay: 80ms; }
.rv:nth-child(3) { transition-delay: 160ms; }
.rv:nth-child(4) { transition-delay: 240ms; }
.rv:nth-child(5) { transition-delay: 320ms; }

/* ── 6. ACCENT ────────────────────────────────────────────── */
.accent-text {
  color: var(--accent-cyan);
  position: relative;
  display: inline-block;
}

/* ── 7. @KEYFRAMES ANIMASYONLAR ──────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1);    }
}

@keyframes slideRight {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

@keyframes slideLeft {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.3); }
  50%       { box-shadow: 0 0 30px rgba(0, 240, 255, 0.7); }
}

@keyframes pulseGoldGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 204, 0, 0.3); }
  50%       { box-shadow: 0 0 30px rgba(255, 204, 0, 0.7); }
}

@keyframes boltDraw {
  from { stroke-dashoffset: 300; opacity: 0; }
  to   { stroke-dashoffset: 0;   opacity: 1; }
}

@keyframes loaderProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes scanline {
  0%   { top: -10%; }
  100% { top: 110%; }
}

@keyframes gridFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

@keyframes particlePulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.5); }
}

@keyframes heroLineMove {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

@keyframes tooltipIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* ── 8. MOBILE BREAKPOINTS (BEYİN SIFIR) ────────────────── */
@media (max-width: 768px) {
  :root {
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
  }

  .lux-container {
    padding: 0 var(--space-sm);
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}
/* ═══════════════════════════════════════════════════════════
   YENİ NESİL BUTON TASARIMLARI VE WHATSAPP
   ══════════════════════════════════════════════════════════ */

/* Tüm ana butonları (Hemen Ara, Gönder vb.) modernleştiriyoruz */
.btn-call, 
.btn-primary, 
button[type="submit"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bg-primary) !important; /* Arka plandaki zıt renk ile okunaklı */
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border: none;
  border-radius: 100px; /* Modern Pill (Hap) Şekli */
  cursor: pointer;
  overflow: hidden; /* Işık efekti dışarı taşmasın diye */
  transition: transform var(--duration-med) var(--ease-spring), 
              box-shadow var(--duration-med) ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  z-index: 1;
}

/* Buton İçinden Geçen Parlaklık (Shine) Efekti */
.btn-call::before, 
.btn-primary::before, 
button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: -1;
}

/* Hover (Fare Üzerine Geldiğinde) Durumu */
.btn-call:hover::before, 
.btn-primary:hover::before, 
button[type="submit"]:hover::before {
  left: 150%; /* Işık sağa doğru kayar */
}

.btn-call:hover, 
.btn-primary:hover, 
button[type="submit"]:hover {
  transform: translateY(-4px); /* Hafifçe havaya kalkar */
  box-shadow: var(--shadow-glow-cyan); /* Temadaki lüks gölgeyi uygular */
}

/* Sabit (Floating) WhatsApp Butonu Tasarımı */
.float-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  z-index: 9999;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.float-wa svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.float-wa:hover {
  transform: translateY(-6px) scale(1.08) rotate(5deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* Mobilde WhatsApp butonu menü vs. ile çakışmasın diye ince ayar */
@media (max-width: 768px) {
  .float-wa {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  .float-wa svg {
    width: 28px;
    height: 28px;
  }
}
/* ═══════════════════════════════════════════════════════════
   YENİ NESİL İLETİŞİM İKONLARI (GLASSMORPHISM)
   ══════════════════════════════════════════════════════════ */

.contact-icon-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.glass-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px; /* Hafif yuvarlatılmış premium kare */
  background: rgba(255, 255, 255, 0.03); /* Cam efekti */
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.glass-icon-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.4s ease, fill 0.4s ease, stroke 0.4s ease;
}

/* İçinden geçen parlama efekti (Shine) */
.glass-icon-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  z-index: -1;
}

/* Hover (Üzerine gelindiğinde) Efektleri */
.glass-icon-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
}

.glass-icon-btn:hover::before {
  left: 150%;
}

.glass-icon-btn:hover svg {
  transform: scale(1.15);
}

/* İkonlara Özel Marka Renkleri Parlaması */
.phone-theme:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
}

.wa-theme:hover {
  border-color: #25D366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
  color: #25D366;
}

.ig-theme:hover {
  border-color: #E1306C;
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.25);
  color: #E1306C;
}
/* ═══════════════════════════════════════════════════════════
   FOOTER BİLGİ İKONLARI (EMOJI YERİNE SVG)
   ══════════════════════════════════════════════════════════ */

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.footer-info-item:hover {
  color: var(--text-primary);
}

.info-svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan); /* Temanın lüks rengini (Altın veya Mavi) alır */
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}