/* 
// ============================================
// ACME GÜVENLİK - PROFESYONEL GÜVENLİK EKİPMANLARI
// www.atilimdijital.com.tr - www.atilimdijital.com
// Tasarım ve SEO: Atılım Dijital
// ============================================
*/

:root {
  /* Vision 2026 Color System */
  --primary-gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 50%, #AF52DE 100%);
  --glass-ultra: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --depth-shadow-1: 0 2px 8px rgba(0, 0, 0, 0.04);
  --depth-shadow-2: 0 8px 24px rgba(0, 0, 0, 0.08);
  --depth-shadow-3: 0 16px 48px rgba(0, 0, 0, 0.12);
  --depth-shadow-4: 0 24px 64px rgba(0, 0, 0, 0.16);
  --blur-light: blur(40px);
  --blur-heavy: blur(80px);
  
  /* Spatial Colors */
  --bg-primary: #FAFAFA;
  --bg-secondary: #F5F5F7;
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --accent-blue: #007AFF;
  --accent-purple: #5856D6;
  --accent-pink: #FF2D55;
}

/* ============================================
   FOUNDATIONAL RESET & SMOOTH EXPERIENCE
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   VISION 2026 GLASSMORPHISM
============================================ */
.glass-nav {
  background: rgba(250, 250, 250, 0.72) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset,
              0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 32px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.8), 
    transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px) scale(1.02);
}

/* ============================================
   SPATIAL SERVICE CARDS - FLOATING DESIGN
============================================ */
.service-card-pro {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(25px);
  -webkit-backdrop-filter: saturate(180%) blur(25px);
  border: 0.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
}

.service-card-pro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0, 122, 255, 0.05), 
    rgba(88, 86, 214, 0.05), 
    rgba(175, 82, 222, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 24px;
}

.service-card-pro:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 24px 64px rgba(0, 122, 255, 0.12),
    0 8px 24px rgba(88, 86, 214, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 122, 255, 0.2);
}

.service-card-pro:hover::after {
  opacity: 1;
}

/* Icon Container - Depth Effect */
.service-card-pro .w-16 {
  box-shadow: 
    0 8px 24px rgba(0, 122, 255, 0.25),
    0 2px 8px rgba(88, 86, 214, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card-pro:hover .w-16 {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 
    0 16px 40px rgba(0, 122, 255, 0.35),
    0 4px 12px rgba(88, 86, 214, 0.25);
}

/* ============================================
   TYPOGRAPHY - SPATIAL HIERARCHY
============================================ */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #1D1D1F 0%, #424245 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.override-white {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: white !important;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PROSE CONTENT - READABLE & ELEGANT
============================================ */
.prose {
  max-width: 72ch;
}

.prose p {
  line-height: 1.75;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 1.5em;
}

.prose h2, .prose h3 {
  margin-top: 2.5em;
  margin-bottom: 1em;
  color: var(--text-primary);
}

.prose ul {
  margin: 1.5em 0;
  padding-left: 1.5em;
}

.prose ul li {
  margin-bottom: 0.75em;
  color: var(--text-secondary);
  position: relative;
  padding-left: 0.5em;
}

.prose ul li::marker {
  color: var(--accent-blue);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   BUTTONS - DEPTH & INTERACTION
============================================ */
.btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: 14px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  box-shadow: 
    0 8px 24px rgba(0, 122, 255, 0.3),
    0 2px 8px rgba(88, 86, 214, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 16px 40px rgba(0, 122, 255, 0.4),
    0 4px 12px rgba(88, 86, 214, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================
   ANIMATIONS - SMOOTH & NATURAL
============================================ */
@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}

.animate-float {
  animation: floatSoft 8s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes shimmerGlow {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.shimmer {
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  background-size: 200% 100%;
  animation: shimmerGlow 3s infinite;
}

/* ============================================
   HERO SECTION - IMMERSIVE BACKGROUND
============================================ */
.hero-pattern {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 122, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(88, 86, 214, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(175, 82, 222, 0.06) 0%, transparent 50%);
  animation: patternFloat 30s ease-in-out infinite;
}

@keyframes patternFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, 20px) scale(1.05);
  }
}

/* ============================================
   FORM ELEMENTS - SOFT & ACCESSIBLE
============================================ */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

input:focus,
textarea:focus,
select:focus {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: var(--accent-blue) !important;
  box-shadow: 
    0 0 0 4px rgba(0, 122, 255, 0.1),
    0 4px 16px rgba(0, 122, 255, 0.08) !important;
  outline: none;
  transform: translateY(-1px);
}

/* ============================================
   SCROLLBAR - MINIMAL & ELEGANT
============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, 
    rgba(0, 122, 255, 0.6), 
    rgba(88, 86, 214, 0.6));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, 
    rgba(0, 122, 255, 0.8), 
    rgba(88, 86, 214, 0.8));
}

/* ============================================
   SELECTION - BRAND COLOR
============================================ */
::selection {
  background: rgba(0, 122, 255, 0.2);
  color: var(--text-primary);
}

/* ============================================
   MOBILE MENU - SMOOTH TRANSITION
============================================ */
#mobileMenu {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ACCORDION/DETAILS - ELEGANT EXPAND
============================================ */
details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] > summary {
  color: var(--accent-blue);
}

/* ============================================
   STICKY SIDEBAR - SMOOTH SCROLL
============================================ */
@media (min-width: 1024px) {
  .sticky {
    position: -webkit-sticky;
    position: sticky;
  }
  
  .glass-card.sticky {
    top: 6rem !important;
    max-height: calc(100vh - 8rem) !important;
    overflow-y: auto !important;
    z-index: 10 !important;
  }
  
  .glass-card.sticky .overflow-y-auto::-webkit-scrollbar {
    width: 4px;
  }
  
  .glass-card.sticky .overflow-y-auto::-webkit-scrollbar-thumb {
    background: rgba(0, 122, 255, 0.3);
    border-radius: 10px;
  }
}

/* ============================================
   FOCUS STATES - ACCESSIBILITY
============================================ */
*:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
============================================ */
@media (max-width: 768px) {
  .service-card-pro {
    padding: 24px;
    border-radius: 20px;
  }
  
  .glass-card {
    padding: 24px;
    border-radius: 20px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* ============================================
   PRINT OPTIMIZATION
============================================ */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white;
  }
  
  .glass-card {
    background: white;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ============================================
   PERFORMANCE OPTIMIZATION
============================================ */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  max-width: 100%;
  height: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}