/* ARICE TECH - Modern Design System */

/* 1. Google Fonts Import */
/* 1. Google Fonts Import - Moved to _Layout.cshtml for Performance */

/* 2. Global Variables (Design Tokens) */
:root {
  /* Primary (Tech Blue) */
  --tech-blue-50: #ECFEFF;
  --tech-blue-100: #CFFAFE;
  --tech-blue-500: #06B6D4;
  /* Cyan-500 */
  --tech-blue-600: #0891B2;
  --tech-blue-700: #0E7490;

  /* Secondary (Corporate Dark / Slate) */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Accents */
  --premium-gold: #D4AF37;
  --vivid-rose: #F43F5E;

  /* Theme Tokens (Light Mode Defaults) */
  --bg-body: var(--slate-50);
  --bg-surface: #FFFFFF;
  --text-primary: var(--slate-900);
  --text-secondary: #64748B;
  /* Slate-500 */
  --border-color: #E2E8F0;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* 3. Dark Mode Overrides */
[data-theme="dark"] {
  --bg-body: #0B1120;
  --bg-surface: var(--slate-800);
  --text-primary: #F8FAFC;
  /* Slate-50 */
  --text-secondary: #94A3B8;
  /* Slate-400 */
  --border-color: #334155;
  /* Slate-700 */
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

/* 4. Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 0;
  /* Remove default margin */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* 5. Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--tech-blue-500), var(--tech-blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--premium-gold);
}

/* 6. Components - Buttons */
.btn-arice-primary {
  background: linear-gradient(135deg, var(--tech-blue-600), var(--tech-blue-700));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-arice-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.3);
  color: white;
}

/* 7. Components - Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .glass-card {
  background: rgba(30, 41, 59, 0.7);
  /* Slate-800 with opacity */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: var(--tech-blue-500);
}

/* 8. Navbar Customization */
.navbar-arice {
  background-color: rgba(255, 255, 255, 0.85);
  /* Glass feel */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

[data-theme="dark"] .navbar-arice {
  background-color: rgba(15, 23, 42, 0.85);
}

.nav-link {
  color: var(--slate-100) !important;
  /* Açık renk (Beyazımsı) - Okunabilirliği artırmak için */
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  /* Arka plan karmaşıksa bile okunmasını sağlar */
}

[data-theme="light"] .nav-link {
  color: var(--slate-50) !important;
}

[data-theme="dark"] .nav-link {
  color: var(--slate-50) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--tech-blue-500);
}

/* 9. Footer */
footer {
  background-color: var(--slate-900);
  color: var(--slate-100);
  padding: 4rem 0 2rem;

  /* 10. Animation & Hover Utilities */
  .hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
  }

  .transition-all {
    transition: all 0.3s ease-in-out;
  }

  /* 11. Dark Mode Compability for Bootstrap Classes */
  [data-theme="dark"] .bg-light {
    background-color: #1e293b !important;
    /* slate-800 */
  }

  [data-theme="dark"] .card {
    background-color: #0f172a;
    /* slate-900 */
    border-color: #334155;
    /* slate-700 */
    color: #f8fafc;
    /* slate-50 */
  }

  [data-theme="dark"] .text-muted {
    color: #94a3b8 !important;
    /* slate-400 */
  }
}

/* 12. Detailed Features Section Enhancement */
.card h5.fw-bold {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.card p.small {
  font-size: 0.9rem;
  line-height: 1.5;
}

section.bg-light-subtle {
  background-color: var(--slate-50) !important;
}

[data-theme="dark"] section.bg-light-subtle {
  background-color: var(--slate-900) !important;
}

/* 15. Animations */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: floating 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floating 4s ease-in-out 2s infinite;
}

/* 16. Animated Gradient Background */
.bg-animated-gradient {
  background: linear-gradient(-45deg, #0d6efd, #0a58ca, #6610f2, #6f42c1);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* 17. WOW.js Helper */
/* .wow { visibility: hidden; } - Removed to prevent permanent invisibility if script fails */