/* ==========================================================================
   Modern 2026 Design System Overhaul - Karthik Balasubramanian Portfolio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-teal: #1ab394;
  --primary-teal-dark: #18a689;
  --primary-blue: #1c84c6;
  --dark-navy: #2f4050;
  --dark-bg: #1a2733;
  --light-gray: #f8fafc;
  --card-border: #e2e8f0;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font-body) !important;
  color: var(--text-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Glassmorphism & Card System
   ========================================================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(26, 179, 148, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  border-color: rgba(26, 179, 148, 0.3);
}

/* ==========================================================================
   2026 Hero Section Overhaul
   ========================================================================== */
.hero-2026 {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a2d40 100%);
  color: #ffffff;
  padding: 140px 0 90px;
  overflow: hidden;
}

.hero-2026::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 179, 148, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-2026::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 132, 198, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-[#1ab394] {
  background: linear-gradient(135deg, #1ab394 0%, #38ef7d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #1ab394 0%, #16a085 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(26, 179, 148, 0.35) !important;
  transition: all 0.25s ease !important;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 179, 148, 0.5) !important;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 10px !important;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease !important;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.badge-2026 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(26, 179, 148, 0.12);
  border: 1px solid rgba(26, 179, 148, 0.3);
  color: #1ab394;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* ==========================================================================
   Navigation Bar Modernization
   ========================================================================== */
.navbar-default {
  background-color: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 10px 0 !important;
  transition: all 0.3s ease !important;
}

.navbar-default .navbar-brand {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.01em !important;
}

.navbar-default .nav li a {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em !important;
  transition: color 0.2s ease !important;
  padding: 10px 14px !important;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li.active a {
  color: #1ab394 !important;
}

/* Section Divider */
.navy-line {
  width: 50px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #1ab394, #1c84c6) !important;
  border-radius: 4px !important;
  margin: 15px auto 25px !important;
}

/* Project & Section Badges */
.pill-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.pill-badge-[#1ab394] {
  background: rgba(26, 179, 148, 0.1);
  color: #1ab394;
  border-color: rgba(26, 179, 148, 0.25);
}
