/* Tailwind CSS CDN kullanılacak, bu dosya custom stiller için */

/* Custom CSS Variables */
:root {
  --color-primary: #5c3dce;
  --color-secondary: #2e59ce;
  --color-accent: #196fc2;
}

/* Tailwind CDN için custom color classes (config dosyası CDN'de çalışmaz) */
.bg-primary {
  background-color: #5c3dce !important;
}

.bg-secondary {
  background-color: #2e59ce !important;
}

.bg-accent {
  background-color: #196fc2 !important;
}

.text-primary {
  color: #5c3dce !important;
}

.text-secondary {
  color: #2e59ce !important;
}

.text-accent {
  color: #196fc2 !important;
}

.border-primary {
  border-color: #5c3dce !important;
}

.hover\:bg-primary\/90:hover {
  background-color: rgba(92, 61, 206, 0.9) !important;
}

.hover\:text-primary:hover {
  color: #5c3dce !important;
}

.focus\:ring-primary:focus {
  --tw-ring-color: #5c3dce !important;
}

.bg-primary\/5 {
  background-color: rgba(92, 61, 206, 0.05) !important;
}

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

/* Logo Gradient */
.logo-gradient {
  background: linear-gradient(90deg, #5c3dce 0%, #2e59ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  border-radius: 5px;
}

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

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

/* Header Scroll Effect */
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled nav a {
  color: #374151;
}

header.scrolled nav a:hover {
  color: #5c3dce;
}

/* Mega Menu Styles */
.mega-menu-dropdown {
  z-index: 1000 !important;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
}

.mega-menu-dropdown.opacity-100 {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mega-menu-dropdown.opacity-0 {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Tailwind CDN için custom color classes (config dosyası CDN'de çalışmaz) */
.bg-primary {
  background-color: #5c3dce !important;
}

.bg-secondary {
  background-color: #2e59ce !important;
}

.bg-accent {
  background-color: #196fc2 !important;
}

.text-primary {
  color: #5c3dce !important;
}

.text-secondary {
  color: #2e59ce !important;
}

.text-accent {
  color: #196fc2 !important;
}

.border-primary {
  border-color: #5c3dce !important;
}

/* Hover states - daha spesifik selector'lar */
a.bg-primary:hover,
button.bg-primary:hover,
a[class*="bg-primary"]:hover,
button[class*="bg-primary"]:hover {
  background-color: rgba(92, 61, 206, 0.9) !important;
}

[class*="hover:text-primary"]:hover,
a[class*="hover:text-primary"]:hover {
  color: #5c3dce !important;
}

/* Focus states */
.focus\:ring-primary:focus,
.focus\:ring-2:focus {
  --tw-ring-color: #5c3dce !important;
  box-shadow: 0 0 0 2px rgba(92, 61, 206, 0.2) !important;
}

/* Opacity variants */
.bg-primary\/5 {
  background-color: rgba(92, 61, 206, 0.05) !important;
}

.bg-primary\/10 {
  background-color: rgba(92, 61, 206, 0.1) !important;
}

.bg-primary\/20 {
  background-color: rgba(92, 61, 206, 0.2) !important;
}

/* Gradient backgrounds */
.bg-gradient-primary {
  background: linear-gradient(90deg, #5c3dce 0%, #2e59ce 100%) !important;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)) !important;
}

.from-primary {
  --tw-gradient-from: #5c3dce !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(92, 61, 206, 0)) !important;
}

.via-secondary {
  --tw-gradient-stops: var(--tw-gradient-from), #2e59ce, var(--tw-gradient-to, rgba(46, 89, 206, 0)) !important;
}

.to-accent {
  --tw-gradient-to: #196fc2 !important;
}

