/* ==========================================================================
   Akmesa Makina - Executive Industrial Design System & Ultimate Slider
   Tasarım & Yazılım: XBT Yazılım Hizmetleri
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --bg-dark: #070B13;
  --bg-card: #0D1526;
  --bg-card-hover: #131E35;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 102, 255, 0.5);
  --primary: #0066FF;
  --primary-hover: #0052CC;
  --primary-glow: rgba(0, 102, 255, 0.25);
  --accent-amber: #F59E0B;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-sub: #64748B;
}

[dir="rtl"] {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Technical Grid Background Motif */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.15) 0%, rgba(7, 11, 19, 0) 70%);
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(13, 21, 38, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 10px 30px -10px var(--primary-glow);
}

/* Glow Badges */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: rgba(0, 102, 255, 0.1);
  color: #38BDF8;
  border: 1px solid rgba(0, 102, 255, 0.25);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px var(--primary-glow);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1A75FF 0%, #0066FF 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Metric / Stat Cards */
.stat-box {
  background: rgba(13, 21, 38, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
}

/* ==========================================================================
   Ultimate Hero Slider & Video Engine
   ========================================================================== */
.slider-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 30;
}

.slider-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0066FF, #00E5FF);
  box-shadow: 0 0 10px #00E5FF;
  transition: width 0.1s linear;
}

.hero-slider-container {
  position: relative;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background-color: #070B13;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slayt Animasyon Tipleri */
.hero-slide.slide-anim-zoom {
  transform: scale(1.08);
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.slide-anim-zoom.active {
  transform: scale(1);
}

.hero-slide.slide-anim-slide {
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.slide-anim-slide.active {
  transform: translateX(0);
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0.7) contrast(1.1);
  pointer-events: none;
}

.hero-youtube-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  filter: brightness(0.75) contrast(1.1);
}

.hero-youtube-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%) scale(1.25);
  pointer-events: none;
  border: none;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Canlı Ses Kontrol Butonu */
.slider-audio-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 25;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(13, 21, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.slider-audio-btn:hover {
  background: #0066FF;
  border-color: #0066FF;
  transform: scale(1.05);
}

[dir="rtl"] .slider-audio-btn {
  right: auto;
  left: 24px;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(13, 21, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.slider-nav-btn:hover {
  background: #0066FF;
  border-color: #0066FF;
  transform: translateY(-50%) scale(1.08);
}

.slider-nav-btn.prev { left: 24px; }
.slider-nav-btn.next { right: 24px; }

[dir="rtl"] .slider-nav-btn.prev { left: auto; right: 24px; }
[dir="rtl"] .slider-nav-btn.next { right: auto; left: 24px; }

.slider-bullets {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.slider-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-bullet.active {
  width: 50px;
  background: #0066FF;
  box-shadow: 0 0 10px #0066FF;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #070B13;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0066FF;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}
