/* Serdivan Elektrik - Kurumsal & Modern CSS (Pure Vanilla) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --dark-bg: #020617;
  --dark-surface: #0f172a;
  --dark-card: #1e293b;
  --dark-border: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --success: #10b981;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #020617;
  color: #f8fafc;
}

.font-display {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Custom Animations */
@keyframes pulseSlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.animate-pulse-slow {
  animation: pulseSlow 3s infinite ease-in-out;
}

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

.animate-fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Range Input Styling */
input[type=range] {
  -webkit-appearance: none;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  height: 8px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f59e0b;
  cursor: pointer;
  border: 2px solid #020617;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Modal Backdrops */
.modal-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Badge Glow */
.glow-amber {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

/* Header & Top Bar Optimization */
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

header {
  transform: translateZ(0);
}

/* Active Nav Link */
.nav-link.active {
  color: #f59e0b !important;
  border-bottom: 2px solid #f59e0b;
}

/* Service / Project Filter Transitions */
.filter-item {
  transition: all 0.3s ease-in-out;
}

.filter-item.hidden-item {
  display: none !important;
}

/* Card Hover Elevation */
.card-hover {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Line Clamp Utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Search Mark Highlight */
mark {
  border-radius: 4px;
}

