/* 
  Elektrik Mühendisliği Portföy Sitesi - Tasarım Sistemi (style.css)
  Bu dosya web-design-rules.md standartlarına uygun olarak tasarlanmıştır.
*/

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

:root {
  /* Renk Sistemi - Tech Industrial Dark */
  --color-bg: #060911;
  --color-bg-rgb: 6, 9, 17;
  --color-surface: #0d1220;
  --color-surface-rgb: 13, 18, 32;
  --color-surface-hover: #131a2e;
  
  --color-primary: #00f2fe;
  --color-primary-rgb: 0, 242, 254;
  --color-primary-glow: rgba(0, 242, 254, 0.15);
  
  --color-accent: #ff7b00;
  --color-accent-rgb: 255, 123, 0;
  --color-accent-glow: rgba(255, 123, 0, 0.15);
  
  --color-volt: #39ff14;
  
  /* Nötr Renkler */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(0, 242, 254, 0.3);
  
  /* Spacing Sistemi (8px Grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadow & Glow Sistemi */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
  --glow-primary: 0 0 20px rgba(0, 242, 254, 0.25);
  --glow-accent: 0 0 20px rgba(255, 123, 0, 0.25);
  
  /* Tipografi */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Animasyon Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Temel Sıfırlamalar ve Ayarlar --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* Teknik Izgara ve Noise Arka Planı (web-design-rules.md Madde 6) */
.noise-overlay::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

.grid-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: 
    radial-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(255, 123, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: 1;
}

/* Devre Mesh Gradient Yüzeyi */
.glow-mesh {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.glow-mesh::before, .glow-mesh::after {
  content: '';
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(140px);
  opacity: 0.12;
}

.glow-mesh::before {
  top: 10%; left: 15%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 80%);
}

.glow-mesh::after {
  bottom: 20%; right: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 80%);
}

/* --- Container ve Layout (web-design-rules.md Madde 4) --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 10;
}

section {
  padding: var(--space-5xl) 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-3xl) 0;
  }
}

/* --- Tipografi Sistemi --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw + 0.5rem, 3rem);
  margin-bottom: var(--space-md);
  position: relative;
}

h3 {
  font-size: clamp(1.3rem, 2vw + 0.5rem, 1.8rem);
}

p {
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Bileşenler: Butonlar (web-design-rules.md Madde 7) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  color: var(--color-bg);
  background: var(--color-primary);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.2);
}

.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: all 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background: rgba(0, 242, 254, 0.05);
  transform: translateY(-3px);
  color: var(--color-primary);
}

.btn-accent {
  color: var(--color-text-primary);
  background: transparent;
  border: 1.5px solid var(--color-accent);
}

.btn-accent:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 6px 20px rgba(255, 123, 0, 0.3);
  transform: translateY(-3px);
}

/* --- Navigasyon (Navbar) --- */
.nav-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.nav-container.scrolled {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-hover);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--color-primary);
}

.logo svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  filter: drop-shadow(0 0 4px var(--color-primary));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background-color: var(--color-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 5px 0;
  transition: 0.3s ease;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-surface);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-4xl) var(--space-2xl);
    gap: var(--space-2xl);
    transition: right 0.5s var(--ease-out-expo);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links.active ~ .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-links.active ~ .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-links.active ~ .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* --- Hero Bölümü --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  font-family: var(--font-mono);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background-color: var(--color-volt);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-volt);
  animation: pulse 1.5s infinite;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3a7bd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin: var(--space-lg) 0 var(--space-2xl) 0;
  max-width: 600px;
}

@media (max-width: 992px) {
  .hero-desc {
    margin: var(--space-lg) auto var(--space-2xl) auto;
  }
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}

/* Hero Grafik / Teknik Görsel */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.circuit-canvas {
  width: 100%;
  max-width: 450px;
  height: 450px;
  position: relative;
  border-radius: var(--radius-xl);
  background: rgba(13, 18, 32, 0.4);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.circuit-canvas::before {
  content: '';
  position: absolute;
  width: 150%; height: 150%;
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: rotateGrid 40s linear infinite;
  transform-origin: center;
}

/* Teknik Şema Elemanları Animasyonu */
.schematic-node {
  position: absolute;
  width: 12px; height: 12px;
  background-color: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  box-shadow: var(--glow-primary);
}

.node-1 { top: 20%; left: 20%; }
.node-2 { top: 40%; left: 70%; border-color: var(--color-accent); box-shadow: var(--glow-accent); }
.node-3 { top: 75%; left: 35%; }

.schematic-line {
  position: absolute;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.4;
  height: 2px;
}

.line-1 {
  width: 150px;
  top: 30%; left: 25%;
  transform: rotate(25deg);
}

.line-2 {
  width: 120px;
  top: 60%; left: 45%;
  transform: rotate(-35deg);
}

.core-reactor {
  width: 140px;
  height: 140px;
  border: 2px dashed rgba(0, 242, 254, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spinSlow 12s linear infinite;
}

.core-inner {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  box-shadow: var(--glow-primary);
  animation: pulseReactor 3s ease-in-out infinite;
}

/* --- Metrikler Çubuğu (Metrics Bar) --- */
.metrics-container {
  margin-top: var(--space-4xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2xl);
}

@media (max-width: 768px) {
  .metrics-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
}

.metric-item h3 {
  font-size: clamp(2rem, 3vw + 0.5rem, 3.2rem);
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
  line-height: 1;
}

.metric-item p {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
  color: var(--color-text-secondary);
}

/* --- Hizmetler / Faaliyetler Bölümü (web-design-rules.md Madde 4 & 7) --- */
.section-header {
  max-width: 650px;
  margin-bottom: var(--space-3xl);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
  display: block;
}

/* Asimetrik Grid Sistemi (web-design-rules.md Madde 4) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Asimetrik Boyutlandırma */
.service-card.large {
  grid-column: span 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-primary);
  transition: height 0.4s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover .service-icon {
  background: rgba(0, 242, 254, 0.1);
  color: var(--color-primary);
  transform: scale(1.05);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.service-card p {
  margin-bottom: var(--space-xl);
  font-size: 15px;
}

.service-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
}

/* --- İNTERAKTİF BÖLÜM: Mühendislik Hesaplama Aracı (WOW BÖLÜMÜ) --- */
.calc-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(13, 18, 32, 0.5) 100%);
  border-y: 1px solid var(--color-border);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: stretch;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.calc-panel::after {
  content: '⚡ CALCULATION CORE v1.0';
  position: absolute;
  top: 12px; right: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

/* Input ve Select Standartları (web-design-rules.md Madde 7) */
.form-input, .form-select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--color-text-primary);
  background: rgba(6, 9, 17, 0.6);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s var(--ease-out-expo);
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.radio-btn {
  position: relative;
}

.radio-btn input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(6, 9, 17, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-text-secondary);
}

.radio-btn input:checked + .radio-label {
  border-color: var(--color-primary);
  background: rgba(0, 242, 254, 0.06);
  color: var(--color-primary);
}

/* Hesaplayıcı Gösterge Ekranı (Space Mono Dashboard) */
.calc-dashboard {
  background: #04070c;
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), var(--shadow-lg);
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}

.calc-dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.dash-header {
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-title {
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-volt);
}

.dash-status::before {
  content: '';
  width: 6px; height: 6px;
  background-color: var(--color-volt);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-volt);
}

.result-main {
  text-align: center;
  margin: var(--space-lg) 0;
}

.result-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.result-value {
  font-size: clamp(2.5rem, 4vw + 1rem, 4.2rem);
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  line-height: 1.2;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-xl);
}

.sub-metric {
  text-align: left;
}

.sub-metric-label {
  font-size: 11px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}

.sub-metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 4px;
}

.sub-metric-value.warning {
  color: var(--color-accent);
}

.sub-metric-value.success {
  color: var(--color-volt);
}

.dash-alert {
  background: rgba(255, 123, 0, 0.06);
  border: 1px solid rgba(255, 123, 0, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: 12px;
  color: rgba(255, 180, 100, 0.9);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dash-alert svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  stroke: var(--color-accent);
  fill: none;
}

/* --- Projeler / Portföy Bölümü --- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  list-style: none;
}

.filter-btn {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Altın Oranlı/Asimetrik Portföy Kart Düzeni */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

/* Asimetrik Yerleşim (web-design-rules.md Madde 4) */
.project-card.large {
  grid-column: span 4;
}

.project-card.medium {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .project-card.large, .project-card.medium {
    grid-column: span 1;
  }
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.project-card:hover .project-img img {
  transform: scale(1.04);
}

.project-img {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #0b0f19;
}

/* Blueprint Vektör Deseni (Stock Görsel Klişesini Kırmak İçin) */
.project-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.08) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0.7;
  z-index: 2;
}

.project-img svg.blueprint-art {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%; left: 10%;
  z-index: 1;
  stroke: rgba(0, 242, 254, 0.25);
  stroke-width: 1.5;
  fill: none;
  pointer-events: none;
}

.project-card:hover svg.blueprint-art {
  stroke: rgba(0, 242, 254, 0.45);
  transform: scale(1.02);
  transition: all 0.4s var(--ease-out-expo);
}

.project-card-body {
  padding: var(--space-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.project-title {
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.project-specs-list {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
}

.project-specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--color-text-secondary);
}

.project-specs-list li span:last-child {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* --- Kalite Belgeleri ve Standartlar (Kayan Bant) --- */
.standards-bar {
  background: rgba(13, 18, 32, 0.4);
  border-y: 1px solid var(--color-border);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.standards-scroll {
  display: flex;
  align-items: center;
  gap: var(--space-5xl);
  width: max-content;
  animation: scrollInfinite 25s linear infinite;
}

.standard-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.standard-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
}

/* --- İletişim Bölümü (web-design-rules.md Madde 10) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
}

.contact-card-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-card-content p {
  font-size: 14px;
}

/* Vektörel Şematik Plan Tasarımı (Harita Yerine Premium Görsel) */
.schematic-map {
  width: 100%;
  height: 200px;
  border: 1px dashed var(--color-border-hover);
  border-radius: var(--radius-lg);
  background: #04070c;
  position: relative;
  overflow: hidden;
}

.schematic-map::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  background-image: 
    radial-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px);
  background-size: 15px 15px;
}

.map-hq-node {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.map-hq-glow {
  width: 16px; height: 16px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 8px auto;
  box-shadow: var(--glow-primary);
  animation: pulse 2s infinite;
}

.map-hq-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* --- Alt Bilgi (Footer) --- */
.footer {
  background: #04070c;
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-2xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.footer-about p {
  margin-top: var(--space-md);
  max-width: 320px;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.footer-link {
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Sayfa Yükleme & Scroll Animasyonları (web-design-rules.md Madde 5) --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gecikme Sınıfları */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Animasyon Keyframe Tanımları --- */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px var(--color-volt); }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes pulseReactor {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 242, 254, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(0, 242, 254, 0.45); }
  100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 242, 254, 0.2); }
}

@keyframes rotateGrid {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scrollInfinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reduced Motion Erişilebilirlik Kuralı (web-design-rules.md Madde 13) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
