/*
 * Hızlı Okuma - Premium Tema CSS
 * Modern, profesyonel ve premium site tasarımı
 * Güncellenme: 2024
 */

:root {
  /* Premium Ana Renkler */
  --color-primary: #6366f1;       /* Indigo - Modern premium */
  --color-primary-dark: #4f46e5;  /* Koyu indigo */
  --color-primary-darker: #3730a3;
  --color-primary-light: rgba(99, 102, 241, 0.1);
  --color-primary-glow: rgba(99, 102, 241, 0.25);
  
  /* Gradient Renkler */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-premium: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  /* Accent Renkler */
  --color-secondary: #8b5cf6;     /* Mor - Premium accent */
  --color-secondary-light: rgba(139, 92, 246, 0.15);
  --color-accent: #f59e0b;        /* Altın/Amber - CTA vurgusu */
  --color-accent-light: rgba(245, 158, 11, 0.15);
  
  /* Nötr Renkler - Premium Palette */
  --color-bg: #fafbfc;            /* Çok hafif gri arka plan */
  --color-bg-dark: #0f172a;       /* Koyu arka plan */
  --color-surface: #ffffff;       /* Kart/yüzey rengi */
  --color-surface-dark: #1e293b;
  --color-text: #1e293b;          /* Ana metin */
  --color-text-secondary: #64748b; /* İkincil metin */
  --color-text-muted: #94a3b8;    /* Soluk metin */
  --color-dark-theme: #0f172a;    /* Koyu tema ana renk */
  --color-white: #ffffff;
  --color-light: #f1f5f9;
  --color-gray-light: #e2e8f0;
  --color-gray: #94a3b8;
  --color-dark: #1e293b;
  --color-black: #020617;
  
  /* Fonksiyonel Renkler - Modern */
  --color-success: #10b981;       /* Emerald */
  --color-success-light: rgba(16, 185, 129, 0.1);
  --color-error: #ef4444;         /* Red */
  --color-error-light: rgba(239, 68, 68, 0.1);
  --color-info: #3b82f6;          /* Blue */
  --color-info-light: rgba(59, 130, 246, 0.1);
  --color-warning: #f59e0b;       /* Amber */
  --color-warning-light: rgba(245, 158, 11, 0.1);
  
  /* Font Aileleri */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  
  /* Font Boyutları */
  --font-size-base: 16px;
  --font-size-small: 0.875rem;
  --font-size-medium: 1rem;
  --font-size-large: 1.25rem;
  --font-size-xlarge: 1.5rem;
  --font-size-xxlarge: 2rem;
  --font-size-hero: 3rem;
  
  /* Boşluklar */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Geçişler */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: cubic-bezier(0.165, 0.84, 0.44, 1);
  --bezier-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --bezier-smooth: cubic-bezier(0.165, 0.84, 0.44, 1);
  
  /* Premium Gölgeler */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-small: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-soft: 0 4px 20px rgba(99, 102, 241, 0.15);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Premium Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-bg-light: rgba(255, 255, 255, 0.95);
  --glass-bg-dark: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --blur-size: 20px;
  --blur-size-lg: 40px;
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-rounded: 50%;
  
  /* Yeni boşluk değişkenleri (space) - spacing alternatifi */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 0.75rem;
  --space-m: 1rem;
  --space-l: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Yeni font ve radius değişkenleri */
  --font-xxs: 0.75rem;
  --font-xs: 0.875rem;
  --font-s: 1rem;
  --font-m: 1.125rem;
  --font-l: 1.25rem;
  --font-xl: 1.5rem;
  --font-xxl: 2rem;
  --font-hero: 3rem;
  
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;
  
  /* Animasyon değişkenleri */
  --animation-speed-slow: 1.2s;
  --animation-speed-normal: 0.8s;
  --animation-speed-fast: 0.5s;
}

/* Temel Stil Resetleme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  padding-top: 0; /* Remove any default padding */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-dark-theme);
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

main {
  padding-top: 80px; /* Add padding equal to header height */
  min-height: 100vh;
}

/* Logo */
.logo {
  display: block;
  max-width: 150px;
  text-decoration: none;
}

.logo img {
  max-width: 100%;
  height: auto;
  animation: scaleIn 0.8s ease-out forwards;
}

/* Premium Buton Stilleri */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn i {
  font-size: 1em;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 14px;
  letter-spacing: 0.3px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Primary Button - Premium Gradient */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
  color: white;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

/* Secondary Button */
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-small);
}

.btn-secondary:hover {
  background: var(--color-light);
  border-color: var(--color-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--color-text);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Success Button */
.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  color: white;
}

/* Gold/Premium CTA Button */
.btn-gold {
  background: var(--gradient-gold);
  color: #1e293b;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
  color: #1e293b;
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: none;
}

.btn-ghost:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

/* Animasyonlar */
/* Temel Animasyonlar */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideFromTop {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Düşme Efekti - Kartlar için */
@keyframes fallIn {
  0% { transform: translateY(-100px); opacity: 0; }
  60% { transform: translateY(20px); }
  80% { transform: translateY(-10px); }
  100% { transform: translateY(0); opacity: 1; }
}

/* Sağdan Sola Renk Kayması */
@keyframes colorSlide {
  0% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* Subtle Gradient Shift */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Kart Animasyonları */
@keyframes flipIn {
  from { transform: perspective(400px) rotateY(90deg); opacity: 0; }
  to { transform: perspective(400px) rotateY(0deg); opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* İkon Dönme Efekti */
@keyframes rotateIcon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pulse Animasyonu - Yıldızlı öğeler için */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* Soft Pulse - Sarı butonlar için */
@keyframes softPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Bounce on Hover - Turuncu butonlar için */
@keyframes bounceOnHover {
  0% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
  80% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

/* Shake & Flash - Hata durumu için */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes colorFlash {
  0%, 100% { background-color: inherit; }
  50% { background-color: rgba(255, 0, 0, 0.3); }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.is-visible {
  opacity: 1;
}

.scroll-fall {
  transform: translateY(-50px);
}

.scroll-fall.is-visible {
  transform: translateY(0);
}

.scroll-fade {
  opacity: 0;
}

.scroll-fade.is-visible {
  opacity: 1;
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Kartlar */
.card {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-large);
  transform: scale(1.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200%;
  height: 5px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-primary));
  background-size: 200% 100%;
  animation: colorSlide 3s infinite linear;
}

.card.entrance {
  animation: slideIn 0.8s ease-out forwards;
}

.card.flip-entrance {
  animation: flipIn 0.8s ease-out forwards;
}

.card.fall-entrance {
  animation: fallIn 1s ease-out forwards;
}

.card .featured-badge {
  animation: pulse 2s infinite ease-in-out;
}

/* İkonlar için genel stil */
.card i, .btn i, .benefit-card i, .step-icon i, .contact-item i {
  transition: transform 0.5s ease;
}

.card:hover i, .btn:hover i, .benefit-card:hover i, .step-icon:hover i, .contact-item:hover i {
  transform: rotate(360deg);
}

/* Section Stilleri */
.section {
  padding: var(--spacing-xxl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
  font-size: var(--font-size-xxlarge);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius-sm);
}

/* Izgara Sistemleri */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Medya Sorguları - Responsive */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 576px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .btn-lg {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-medium);
  }
}
