/* ==========================================================================
   MUHAMMAD UMAR TAYYAB - PERSONAL PORTFOLIO
   Ultra-Sleek Dark Theme System
   - Background: Deep Obsidian Black (#06080e / #080c14)
   - Cards: Luminous Navy & Royal Blue (#0f172a / #131c31)
   - Accents: Electric Royal Blue (#2563eb), Cyan (#38bdf8), Warm Gold (#f59e0b)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Root CSS Variables --- */
:root {
  /* Color Palette - Ultra-Sleek Dark Theme */
  --bg-dark-1: #06080e;         /* Deep Obsidian Black Canvas */
  --bg-dark-2: #090d16;         /* Slightly Elevated Obsidian Section */
  
  --bg-card: #0f172a;           /* Luminous Navy Card Background */
  --bg-card-hover: #131c31;     /* Interactive Navy Card Hover State */

  --accent-blue: #2563eb;       /* Royal Blue Primary Accent */
  --accent-blue-light: #60a5fa; /* Luminous Blue Text & Accents */
  --accent-cyan: #38bdf8;       /* Electric Tech Cyan */
  --accent-gold: #f59e0b;       /* Subtle Warm Gold Accent */
  --accent-gold-light: #fbbf24;

  --text-main: #f8fafc;         /* High-contrast Pure White/Light Text */
  --text-muted: #cbd5e1;        /* Readable Soft Gray Body Text */
  --text-dim: #94a3b8;          /* Secondary Dim Text */
  
  --border-color: rgba(59, 130, 246, 0.25); /* Sharp Luminous Blue Border */
  --border-hover: rgba(59, 130, 246, 0.6);  /* Active Glow Border */

  /* Shadows & Glows */
  --glow-blue: 0 0 35px rgba(37, 99, 235, 0.35);
  --glow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.15);
  --shadow-hover: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.35);

  /* Glassmorphism Dark Card */
  --glass-blur: blur(20px);
  --glass-border: 1px solid rgba(59, 130, 246, 0.25);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1240px;
}

/* --- Base Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-1);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Deep Space Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: -15vw;
  left: -15vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(6, 8, 14, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -15vw;
  right: -15vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(6, 8, 14, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 6.5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

/* --- Typography Helpers --- */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-blue-light) 70%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue-light);
  margin-bottom: 0.75rem;
  padding: 0.4rem 1.1rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.65);
  background: linear-gradient(135deg, #3b82f6 0%, var(--accent-blue) 100%);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-blue-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold-light);
  border: 1.5px solid var(--accent-gold);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--accent-gold-light);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* --- Badge & Tag Styles --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag-blue {
  background: rgba(37, 99, 235, 0.18);
  color: var(--accent-blue-light);
  border-color: rgba(59, 130, 246, 0.4);
}

.tag-gold {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-gold-light);
  border-color: rgba(245, 158, 11, 0.4);
}

/* --- Luminous Navy Glass Card --- */
.glass-card {
  background: var(--bg-card);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
