/*
===========================================
AYSELI GÜVENLİK SİSTEMLERİ - RENK PALETİ
===========================================

Ana Renk: #1F4AA6 (Kurumsal Mavi)

COLOR PALETTE:
--------------

PRIMARY (Ana Mavi Tonları):
  primary-50:  #EBF1FA (Çok Açık Mavi)
  primary-100: #D6E2F5 (Açık Mavi)
  primary-200: #ADC5EB (Orta Açık Mavi)
  primary-300: #6B91D6 (Orta Mavi)
  primary-400: #3A65B8 (Koyu Orta Mavi)
  primary-500: #1F4AA6 ⭐ ANA RENK (Kurumsal Mavi)
  primary-600: #183B85 (Koyu Mavi)
  primary-700: #122D64 (Çok Koyu Mavi)
  primary-800: #0C1F44 (Ultra Koyu Mavi)
  primary-900: #061023 (En Koyu Mavi)

SECONDARY (Tamamlayıcı Amber/Altın Tonları):
  secondary-500: #F59E0B (Amber - Altın)
  secondary-600: #D97706 (Koyu Amber)

ACCENT (Vurgu Turuncu Tonları):
  accent-500: #F97316 (Turuncu - Vurgu Rengi)
  accent-600: #EA580C (Koyu Turuncu)

NEUTRAL (Tailwind Gray Palette):
  gray-50:  #F9FAFB
  gray-100: #F3F4F6
  gray-200: #E5E7EB
  gray-300: #D1D5DB
  gray-400: #9CA3AF
  gray-500: #6B7280
  gray-600: #4B5563
  gray-700: #374151
  gray-800: #1F2937
  gray-900: #111827

KULLANIM ÖRNEKLERİ:
-------------------
- Başlıklar: primary-500, gray-800
- Butonlar: primary-500 (default), primary-600 (hover)
- Vurgu Butonlar: accent-500 (default), accent-600 (hover)
- Linkler: primary-500 (default), accent-500 (hover)
- Arka Planlar: gray-50, primary-50 (sections)
- Footer: primary-700, primary-800, primary-900
- İkonlar: primary-500, accent-500, secondary-500
- Metinler: gray-600, gray-700, gray-800

===========================================
*/

/* CSS Custom Properties (CSS Variables) */
:root {
  /* Primary Colors */
  --color-primary-50: #EBF1FA;
  --color-primary-100: #D6E2F5;
  --color-primary-200: #ADC5EB;
  --color-primary-300: #6B91D6;
  --color-primary-400: #3A65B8;
  --color-primary-500: #1F4AA6;
  --color-primary-600: #183B85;
  --color-primary-700: #122D64;
  --color-primary-800: #0C1F44;
  --color-primary-900: #061023;

  /* Secondary Colors */
  --color-secondary-500: #F59E0B;
  --color-secondary-600: #D97706;
  --color-secondary-100: #FEF3C7;

  /* Accent Colors */
  --color-accent-500: #F97316;
  --color-accent-600: #EA580C;
  --color-accent-50: #FFF7ED;
  --color-accent-400: #FB923C;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* ============================================
   HERO ANIMATIONS
============================================ */

.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-animate:nth-child(1) { animation-delay: 0.2s; }
.hero-animate:nth-child(2) { animation-delay: 0.4s; }
.hero-animate:nth-child(3) { animation-delay: 0.6s; }
.hero-animate:nth-child(4) { animation-delay: 0.8s; }
.hero-animate:nth-child(5) { animation-delay: 1.0s; }

/* ============================================
   SCROLL-TRIGGERED ANIMATIONS
============================================ */

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   GLASS MORPHISM EFFECT
============================================ */

.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(31, 74, 166, 0.08);
}

/* ============================================
   ANIMATED ICONS
============================================ */

.animated-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.animated-icon:hover {
  transform: scale(1.15) rotate(5deg);
}

/* ============================================
   GRADIENT IMPROVEMENTS
============================================ */

.hero-gradient {
  background: linear-gradient(135deg, #1F4AA6 0%, #183B85 50%, #122D64 100%);
}

.card-gradient {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

/* ============================================
   FLOATING ANIMATION
============================================ */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* ============================================
   PULSE GLOW ANIMATION
============================================ */

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.6);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ============================================
   SHIMMER EFFECT
============================================ */

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.shimmer {
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

/* Body Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Custom Shadow for Highlighted Card */
.shadow-3xl {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background-color: var(--color-primary-200);
  color: var(--color-primary-900);
}

::-moz-selection {
  background-color: var(--color-primary-200);
  color: var(--color-primary-900);
}

/* Responsive Image Fix */
img {
  max-width: 100%;
  height: auto;
}

/* Custom Scrollbar (Optional - for modern browsers) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-500);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-600);
}
